Paramètres

Nom du paramètre Description
location_id
optionel

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optionel

Set the current organization context for the request

Validations:

  • Must be a Integer

id
requis

Validations:

  • Must be a String

report_template
requis

Validations:

  • Must be a Hash

report_template[name]
optionel

Validations:

  • Must be a String

report_template[description]
optionel , nil autorisé

Validations:

  • Must be a String

report_template[template]
optionel

Validations:

  • Must be a String

report_template[snippet]
optionel , nil autorisé

Validations:

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

report_template[audit_comment]
optionel , nil autorisé

Validations:

  • Must be a String

report_template[locked]
optionel , nil autorisé

Indique si le modèle peut être modifié

Validations:

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

report_template[default]
optionel , nil autorisé

Indique si le modèle est ajouté automatiquement aux nouvelles organisations et aux nouveaux emplacements

Validations:

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

report_template[location_ids]
optionel , nil autorisé

REMPLACER les emplacements par les id donnés

Validations:

  • Must be an array of any type

report_template[organization_ids]
optionel , nil autorisé

REMPLACER les organisations qui ont les ID suivants

Validations:

  • Must be an array of any type