Fetch All Masking Policies
This operation is used to retrieve all the Data Masking policies for a salesforce organization
Path Parameters
- InstanceId integer required
Instance Id of the Salesforce organization
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
response object
policies object[]
{
"response": {
"errorMessage": "string",
"errorCode": 0
},
"policies": [
{
"createdTime": 0,
"association": {
"applicationId": 0,
"backupsetId": 0,
"instanceId": 0,
"backupsetName": "string"
},
"config": {
"tables": [
{
"name": "string",
"columns": [
{
"name": "string",
"type": 0
}
]
}
]
},
"policy": {
"policyId": 0,
"policyName": "string"
}
}
]
}
{
"response": {
"errorMessage": "",
"errorCode": 0
},
"policies": [
{
"createdTime": 1705063540,
"association": {
"applicationId": 134,
"backupsetId": 90,
"instanceId": 87,
"backupsetName": "test@force.com"
},
"config": {
"tables": [
{
"name": "Account",
"columns": [
{
"name": "Name",
"type": 5
}
]
}
]
},
"policy": {
"policyId": 17,
"policyName": "dm"
}
}
]
}
GET /maskingpolicy/:instanceid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MaskingPolicy/:InstanceId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MaskingPolicy/:InstanceId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MaskingPolicy/:InstanceId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MaskingPolicy/:InstanceId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MaskingPolicy/:InstanceId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MaskingPolicy/:InstanceId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/MaskingPolicy/:InstanceId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'