sendDataRequest
The sendDataRequest() method submits a data subject request to Consent Manager.
Syntax
ppms.cm.api('sendDataRequest', request, onFulfilled, onRejected);
Parameters
request (object, required)
The subject data request. Example: {content: 'user input', email: '[[email protected]](mailto:[email protected])', type: 'delete_data'}
Where type is request type, and can be one of:
change_data
for data alteration requestview_data
for view data requestdelete_data
for delete data request
onFulfilled() (function, required)
The fulfillment handler callback (called with result).
onRejected(error)
The rejection handler callback (called with error code). If not specified, the exception will be thrown in the main stack trace.
error (string | object, required)
Error code or exception
Examples
Updated 6 days ago