Skip to main content

Modify Template

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

Request Body
  • policy object
  • policyId integer required

    Template Id

  • policyName string required

    Template name

  • config object
  • userSelectedMaskingPolicy object
  • seedingOptions object[] required
  • objectName string required

    Object to seed

  • 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

  • queryBlock object
  • isAnd boolean

    Set true to perform AND between Rule Groups otherwise OR will be used

  • blocks object[]

    List of rule groups

  • isAnd boolean

    Set true to perform AND between rules of the group otherwise OR will be used

  • rules object[]

    List of rules

  • columnType integer

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

  • 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

  • stringParam1 string

    Provide first parameter if required with the operation

  • column string

    Column name for rule

  • stringParam2 string

    Provide second parameter if required with the operation

  • nRows integer

    Number of records for seeding type 2

  • nDays integer

    Number of days for seeding type 1

Responses

OK

Loading...