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
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- createdTime integer
Creation time of the template
association object
Associated salesforce organization details
applicationId integerFor Salesforce use 134
backupsetId integerinstanceId integerbackupsetName stringconfig object
seedingOptions object[]
restoreParentType integerParent restore level Ex: No parents- 0, All parents- 1
nRows numberNumber of records for seeding type 2
excludeObject booleanSet true to exclude some childrens from restore
objectName stringObject name
type integerSeeding rule Ex: SQL- 0, Updated in n days- 1, Recently updated n records- 2, All records- 3
dependentRestoreLevel integerChildren restore level Ex: All- -1, No- 0, Immediate- 1
excludedObjects string[]Objects to exclude from restore
query stringSQL query to use with where clause
queryBlock object
Query block to build query for seeding type 0
isAnd booleanSet true to perform AND between Rule Groups otherwise OR will be used
blocks object[]
isAnd booleanSet true to perform AND between rules of the group otherwise OR will be used
rules object[]
columnType integerColumn Type Ex: STRING-0, INTEGER-1, DOUBLE-2, DATE-3, BOOLEAN-4, ENUM-5, DATETIME-6, TIME-7
condition integerCondition Ex: equals to-0, does not equal to-1, contains-2, does not contain-3, less than-4, less than or equal to-5, greater than-6, greater than or equal to-7, between-8, starts with-12, ends with-13, is null-14, is not null-15, not between-18
stringParam1 stringProvide first parameter if required with operation
column stringColumn name for rule
stringParam2 stringProvide second parameter if required with operation
nDays numberNumber of days for seeding type 1
userSelectedMaskingPolicy object
policyId integerpolicyName stringpolicy object
policyId integerpolicyName string
{
"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"
}
}