Params

Param name Description
location_id
optional

Abast per ubicacions

Validations:

  • Must be a Integer

organization_id
optional

Abast per organitzacions

Validations:

  • Must be a Integer

report_template
required

Validations:

  • Must be a Hash

report_template[name]
required

Validations:

  • Must be a String

report_template[template]
required

Validations:

  • Must be a String

report_template[snippet]
optional , nil allowed

Validations:

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

report_template[audit_comment]
optional , nil allowed

Validations:

  • Must be a String

report_template[locked]
optional , nil allowed

Determina si una plantilla està bloquejada o no per a l'edició

Validations:

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

report_template[location_ids]
optional , nil allowed

SUBSTITUEIX les ubicacions amb els ID donats

Validations:

  • Must be an array of any type

report_template[organization_ids]
optional , nil allowed

SUBSTITUEIX les organitzacions amb els ID donats.

Validations:

  • Must be an array of any type