Create Template
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
policyName string requiredTemplate name
config object
userSelectedMaskingPolicy object
policyId integerData masking policy Id
policyName stringData masking policy name
seedingOptions object[] required
objectName string requiredObject name
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
nDays integerNumber of days for seeding type 1
query stringqueryBlock object
Query block for seeding type 0
blocks object[]
List of rule groups
isAnd booleanSet true to perform AND between rules of the group
rules object[]
Rule groups
column stringColumn name for rule
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
columnType integerColumn Type Ex: STRING-0, INTEGER-1, DOUBLE-2, DATE-3, BOOLEAN-4, ENUM-5, DATETIME-6, TIME-7
stringParam1 stringProvide first parameter if required with operation
stringParam2 stringProvide second parameter if required with operation
isAnd booleanSet true to perform AND between Rule Groups
nrows integerNumber of recfor seeding type 2
- 200
OK