Parameter

Parametername Beschreibung
location_id
optional

Scope nach Standorten

Validations:

  • Must be a Integer

organization_id
optional

Scope nach Organisationen

Validations:

  • Must be a Integer

ptable
verpflichtend

Validations:

  • Must be a Hash

ptable[name]
optional

Vorlagenname

Validations:

  • Must be a String

ptable[template]
optional

template contents including metadata

Validations:

  • Must be a String

ptable[location_ids]
optional , nil erlaubt

Standorte durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

ptable[organization_ids]
optional , nil erlaubt

Organisationen durch angegebene Kennungen ERSETZEN

Validations:

  • Must be an array of any type

options
optional

Validations:

  • Must be a Hash

options[force]
optional , nil erlaubt

use if you want update locked templates

Validations:

  • Must be one of: true, false, 1, 0

options[associate]
optional , nil erlaubt

determines when the template should associate objects based on metadata, new means only when new template is being created, always means both for new and existing template which is only being updated, never ignores metadata

Validations:

  • Must be one of: new, always, never.

options[lock]
optional , nil erlaubt

Importierte Templates sperren (Standardwert: false)

Validations:

  • Must be one of: true, false, 1, 0

options[default]
optional , nil erlaubt

makes the template default meaning it will be automatically associated with newly created organizations and locations (false by default)

Validations:

  • Must be one of: true, false, 1, 0