Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

report_template
requerido

Validations:

  • Must be a Hash

report_template[name]
opcional

nombre de plantilla

Validations:

  • Must be a String

report_template[template]
opcional

contenidos de plantillas incluidos los metadatos

Validations:

  • Must be a String

report_template[location_ids]
opcional , nil permitido

REMPLAZAR ubicaciones con ID dadas

Validations:

  • Must be an array of any type

report_template[organization_ids]
opcional , nil permitido

REMPLAZAR organizaciones con ID dadas.

Validations:

  • Must be an array of any type

options
opcional

Validations:

  • Must be a Hash

options[force]
opcional , nil permitido

utilizar si desea actualizar las plantillas bloqueadas

Validations:

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

options[associate]
opcional , nil permitido

determina los casos en que la plantilla debería asociar objetos en función de los metadatos, nuevo se aplica solo a los casos de plantilla nueva que se está creando, siempre se aplica tanto a plantilla nueva como existente que solo se están actualizando, nunca ignora los metadatos

Validations:

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

options[lock]
opcional , nil permitido

lock imported templates (false by default)

Validations:

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

options[default]
opcional , nil permitido

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.