POST /api/report_templates { "report_template": { "name": "report_template_test", "template": "" } } 422 { "error": { "id": null, "errors": { "template": [ "can't be blank" ] }, "full_messages": [ "Template can't be blank" ] } }
Nome parametro | Descrizione |
---|---|
location_id opzionale |
Set the current location context for the request Validations:
|
organization_id opzionale |
Set the current organization context for the request Validations:
|
report_template richiesto |
Validations:
|
report_template[name] richiesto |
Validations:
|
report_template[description] opzionale , consentito nil |
Validations:
|
report_template[template] richiesto |
Validations:
|
report_template[snippet] opzionale , consentito nil |
Validations:
|
report_template[audit_comment] opzionale , consentito nil |
Validations:
|
report_template[locked] opzionale , consentito nil |
Indica se il template รจ stato bloccato per la modifica Validations:
|
report_template[default] opzionale , consentito nil |
Whether or not the template is added automatically to new organizations and locations Validations:
|
report_template[location_ids] opzionale , consentito nil |
SOSTITUIRE le posizioni con gli id dati Validations:
|
report_template[organization_ids] opzionale , consentito nil |
SOSTITUIRE le organizzazioni con gli id dati Validations:
|