Create Template
Select
SaaS
Customer Managed
This operation is used to create sandbox seeding template.
Path Parameters
- ClientId integer required
Client Id of the salesforce organization
- application/json
Request Body
policy object
config object
Responses
- 200
OK
POST /salesforce/:clientid/sandbox/seeding/templates
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"policy": {
"policyName": "string"
},
"config": {
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
},
"seedingOptions": [
{
"objectName": "string",
"dependentRestoreLevel": 0,
"restoreParentType": 0,
"type": 0,
"excludeObject": true,
"excludedObjects": [
"string"
],
"nDays": 0,
"query": "string",
"queryBlock": {
"blocks": [
{
"isAnd": true,
"rules": [
{
"column": "string",
"condition": 0,
"columnType": 0,
"stringParam1": "string",
"stringParam2": "string"
}
]
}
],
"isAnd": true
},
"nrows": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"policy": {
"policyName": "string"
},
"config": {
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
},
"seedingOptions": [
{
"objectName": "string",
"dependentRestoreLevel": 0,
"restoreParentType": 0,
"type": 0,
"excludeObject": true,
"excludedObjects": [
"string"
],
"nDays": 0,
"query": "string",
"queryBlock": {
"blocks": [
{
"isAnd": true,
"rules": [
{
"column": "string",
"condition": 0,
"columnType": 0,
"stringParam1": "string",
"stringParam2": "string"
}
]
}
],
"isAnd": true
},
"nrows": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"policy": {
"policyName": "string"
},
"config": {
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
},
"seedingOptions": [
{
"objectName": "string",
"dependentRestoreLevel": 0,
"restoreParentType": 0,
"type": 0,
"excludeObject": true,
"excludedObjects": [
"string"
],
"nDays": 0,
"query": "string",
"queryBlock": {
"blocks": [
{
"isAnd": true,
"rules": [
{
"column": "string",
"condition": 0,
"columnType": 0,
"stringParam1": "string",
"stringParam2": "string"
}
]
}
],
"isAnd": true
},
"nrows": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"policy": {
"policyName": "string"
},
"config": {
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
},
"seedingOptions": [
{
"objectName": "string",
"dependentRestoreLevel": 0,
"restoreParentType": 0,
"type": 0,
"excludeObject": true,
"excludedObjects": [
"string"
],
"nDays": 0,
"query": "string",
"queryBlock": {
"blocks": [
{
"isAnd": true,
"rules": [
{
"column": "string",
"condition": 0,
"columnType": 0,
"stringParam1": "string",
"stringParam2": "string"
}
]
}
],
"isAnd": true
},
"nrows": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"policy": {
"policyName": "string"
},
"config": {
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
},
"seedingOptions": [
{
"objectName": "string",
"dependentRestoreLevel": 0,
"restoreParentType": 0,
"type": 0,
"excludeObject": true,
"excludedObjects": [
"string"
],
"nDays": 0,
"query": "string",
"queryBlock": {
"blocks": [
{
"isAnd": true,
"rules": [
{
"column": "string",
"condition": 0,
"columnType": 0,
"stringParam1": "string",
"stringParam2": "string"
}
]
}
],
"isAnd": true
},
"nrows": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"policy": {
"policyName": "string"
},
"config": {
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
},
"seedingOptions": [
{
"objectName": "string",
"dependentRestoreLevel": 0,
"restoreParentType": 0,
"type": 0,
"excludeObject": true,
"excludedObjects": [
"string"
],
"nDays": 0,
"query": "string",
"queryBlock": {
"blocks": [
{
"isAnd": true,
"rules": [
{
"column": "string",
"condition": 0,
"columnType": 0,
"stringParam1": "string",
"stringParam2": "string"
}
]
}
],
"isAnd": true
},
"nrows": 0
}
]
}
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Sandbox/Seeding/Templates' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"policy": {
"policyName": "string"
},
"config": {
"userSelectedMaskingPolicy": {
"policyId": 0,
"policyName": "string"
},
"seedingOptions": [
{
"objectName": "string",
"dependentRestoreLevel": 0,
"restoreParentType": 0,
"type": 0,
"excludeObject": true,
"excludedObjects": [
"string"
],
"nDays": 0,
"query": "string",
"queryBlock": {
"blocks": [
{
"isAnd": true,
"rules": [
{
"column": "string",
"condition": 0,
"columnType": 0,
"stringParam1": "string",
"stringParam2": "string"
}
]
}
],
"isAnd": true
},
"nrows": 0
}
]
}
}'