Parâmentros

Nome parâmetro Descrição
location_id
opcional

Escopo de localizações

Validations:

  • Must be a Integer

organization_id
opcional

Escopo de organização

Validations:

  • Must be a Integer

report_template
requerido

Validations:

  • Must be a Hash

report_template[name]
requerido

Validations:

  • Must be a String

report_template[template]
requerido

Validations:

  • Must be a String

report_template[snippet]
opcional , nulo permitido

Validations:

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

report_template[audit_comment]
opcional , nulo permitido

Validations:

  • Must be a String

report_template[locked]
opcional , nulo permitido

Se deve ou não o template está bloqueado para edição

Validations:

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

report_template[default]
opcional , nulo permitido

Whether or not the template is added automatically to new organizations and locations

Validations:

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

report_template[location_ids]
opcional , nulo permitido

SUBSTITUIR localizações dadas com ids

Validations:

  • Must be an array of any type

report_template[organization_ids]
opcional , nulo permitido

SUBSTITUIR organizações dadas com ids

Validations:

  • Must be an array of any type