Skip to main content

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

Request Body
  • policy object
  • policyName string required

    Template name

  • config object
  • userSelectedMaskingPolicy object
  • policyId integer

    Data masking policy Id

  • policyName string

    Data masking policy name

  • seedingOptions object[] required
  • objectName string required

    Object name

  • dependentRestoreLevel integer required

    Children restore level Ex: All- -1, No- 0, Immediate- 1

  • restoreParentType integer required

    Parent restore level Ex: No parents- 0, All parents- 1

  • type integer required

    Seeding rule Ex: SQL- 0, Updated in n days- 1, Recently updated n records- 2, All records- 3

  • excludeObject boolean

    Set true to exclude children from restore

  • excludedObjects string[]

    Objects to exclude from restore

  • nDays integer

    Number of days for seeding type 1

  • query string
  • queryBlock object

    Query block for seeding type 0

  • blocks object[]

    List of rule groups

  • isAnd boolean

    Set true to perform AND between rules of the group

  • rules object[]

    Rule groups

  • column string

    Column name for rule

  • condition integer

    Condition 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 integer

    Column Type Ex: STRING-0, INTEGER-1, DOUBLE-2, DATE-3, BOOLEAN-4, ENUM-5, DATETIME-6, TIME-7

  • stringParam1 string

    Provide first parameter if required with operation

  • stringParam2 string

    Provide second parameter if required with operation

  • isAnd boolean

    Set true to perform AND between Rule Groups

  • nrows integer

    Number of recfor seeding type 2

Responses

OK

Loading...