Modify Template
Select
This operation is used to update an existing sandbox seeding template
Path Parameters
- ClientId integer required
Client Id for the salesforce organization
- TemplateId integer required
Seeding template ID
Query Parameters
- backupsetId integer required
Backupset Id of the salesforce organization
- application/json
Request Body
policy object
policyId integer requiredTemplate Id
policyName string requiredTemplate name
config object
userSelectedMaskingPolicy objectseedingOptions object[] required
objectName string requiredObject to seed
dependentRestoreLevel integer requiredChildren restore level Ex: All- -1, No- 0, Immediate- 1
restoreParentType integer requiredParent restore level Ex: No parents- 0, All parents- 1
type integer requiredSeeding rule Ex: SQL- 0, Updated in n days- 1, Recently updated n records- 2, All records- 3
excludeObject booleanSet true to exclude children from restore
excludedObjects string[]Objects to exclude from restore
queryBlock object
isAnd booleanSet true to perform AND between Rule Groups otherwise OR will be used
blocks object[]
List of rule groups
isAnd booleanSet true to perform AND between rules of the group otherwise OR will be used
rules object[]
List of rules
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 the operation
column stringColumn name for rule
stringParam2 stringProvide second parameter if required with the operation
nRows integerNumber of records for seeding type 2
nDays integerNumber of days for seeding type 1
- 200
OK