Create Compliance Request
This operation is used to create a Compliance Request.
Path Parameters
- ClientId string required
Client Id of the salesforce organization
- application/json
Request Body
- requestType integer required
Request Type Ex: Modify-0, Delete-1
- name string required
Unique name for the request
config object required
entity object
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
processinginstructioninfo object
- id integer
Unique Request Id
jobDetails object
{
"processinginstructioninfo": {
"user": {
"userId": 0
}
},
"id": 0,
"jobDetails": {
"subTaskId": 0
}
}
POST /salesforce/:clientid/gdpr/requests
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/GDPR/Requests' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"requestType": 0,
"name": "string",
"config": {
"rules": [
{
"name": "string",
"options": [
{
"id": "string",
"fieldValues": [
{
"name": "string",
"value": "string"
}
]
}
]
}
]
},
"entity": {
"clientId": 0,
"backupsetId": 0,
"instanceId": 0
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/GDPR/Requests' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"requestType": 0,
"name": "string",
"config": {
"rules": [
{
"name": "string",
"options": [
{
"id": "string",
"fieldValues": [
{
"name": "string",
"value": "string"
}
]
}
]
}
]
},
"entity": {
"clientId": 0,
"backupsetId": 0,
"instanceId": 0
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/GDPR/Requests' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"requestType": 0,
"name": "string",
"config": {
"rules": [
{
"name": "string",
"options": [
{
"id": "string",
"fieldValues": [
{
"name": "string",
"value": "string"
}
]
}
]
}
]
},
"entity": {
"clientId": 0,
"backupsetId": 0,
"instanceId": 0
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/GDPR/Requests' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"requestType": 0,
"name": "string",
"config": {
"rules": [
{
"name": "string",
"options": [
{
"id": "string",
"fieldValues": [
{
"name": "string",
"value": "string"
}
]
}
]
}
]
},
"entity": {
"clientId": 0,
"backupsetId": 0,
"instanceId": 0
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/GDPR/Requests' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"requestType": 0,
"name": "string",
"config": {
"rules": [
{
"name": "string",
"options": [
{
"id": "string",
"fieldValues": [
{
"name": "string",
"value": "string"
}
]
}
]
}
]
},
"entity": {
"clientId": 0,
"backupsetId": 0,
"instanceId": 0
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/GDPR/Requests' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"requestType": 0,
"name": "string",
"config": {
"rules": [
{
"name": "string",
"options": [
{
"id": "string",
"fieldValues": [
{
"name": "string",
"value": "string"
}
]
}
]
}
]
},
"entity": {
"clientId": 0,
"backupsetId": 0,
"instanceId": 0
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/GDPR/Requests' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"requestType": 0,
"name": "string",
"config": {
"rules": [
{
"name": "string",
"options": [
{
"id": "string",
"fieldValues": [
{
"name": "string",
"value": "string"
}
]
}
]
}
]
},
"entity": {
"clientId": 0,
"backupsetId": 0,
"instanceId": 0
}
}'