Fetch Template details
This operation is used to fetch template details.
Path Parameters
- ClientId integer required
Client Id for the salesforce organization
- TemplateId integer required
Seeding template ID
Query Parameters
- backupsetId integer
Backupset Id of the salesforce organization
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- createdTime integer
Creation time of the template
association object
config object
policy object
{
"createdTime": 0,
"association": {
"applicationId": 0,
"backupsetId": 0,
"instanceId": 0,
"backupsetName": "string"
},
"config": {
"seedingOptions": [
{
"restoreParentType": 0,
"nRows": 0,
"excludeObject": true,
"objectName": "string",
"type": 0,
"dependentRestoreLevel": 0,
"excludedObjects": [
"string"
],
"query": "string",
"queryBlock": {
"isAnd": true,
"blocks": [
{
"isAnd": true,
"rules": [
{
"columnType": 0,
"condition": 0,
"stringParam1": "string",
"column": "string",
"stringParam2": "string"
}
]
}
]
},
"nDays": 0
}
],
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
}
},
"policy": {
"policyId": 0,
"policyName": "string"
}
}
{
"createdTime": 1705399248,
"association": {
"applicationId": 134,
"backupsetId": 90,
"instanceId": 0,
"backupsetName": "test@force.com"
},
"config": {
"seedingOptions": [
{
"restoreParentType": 1,
"nRows": 10,
"excludeObject": true,
"objectName": "Account",
"type": 2,
"dependentRestoreLevel": -1,
"excludedObjects": [
"ApexTestRunResult"
]
}
],
"userSelectedMaskingPolicy": {
"policyId": 17,
"policyName": "dm"
}
},
"policy": {
"policyId": 22,
"policyName": "temp1"
}
}
GET /salesforce/:clientid/sandbox/seeding/templates/:templateid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates/:TemplateId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates/:TemplateId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates/:TemplateId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates/:TemplateId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates/:TemplateId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates/:TemplateId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates/:TemplateId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'