Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
search Optional |
filtrera resultat Validations:
|
order Optional |
Sort field and order, eg. ‘id DESC’ Validations:
|
page Optional |
paginate results Validations:
|
per_page Optional |
antal poster per begäran Validations:
|
Field name | Typ | Possible values |
---|---|---|
default | true, false | |
location | string | |
location_id | integer | |
locked | true, false | |
name | string | |
organization | string | |
organization_id | integer | |
snippet | true, false | |
template | text |
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
id Required |
Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
report_template Required |
Validations:
|
report_template[name] Required |
Validations:
|
report_template[template] Required |
Validations:
|
report_template[snippet] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
report_template[audit_comment] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
report_template[locked] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
Whether or not the template is locked for editing Validations:
|
report_template[location_ids] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
REPLACE locations with given ids Validations:
|
report_template[organization_ids] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
REPLACE organizations with given ids. Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
report_template Required |
Validations:
|
report_template[name] Optional |
mallnamn Validations:
|
report_template[template] Optional |
template contents including metadata Validations:
|
report_template[location_ids] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
REPLACE locations with given ids Validations:
|
report_template[organization_ids] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
REPLACE organizations with given ids. Validations:
|
options Optional |
Validations:
|
options[force] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
use if you want update locked templates Validations:
|
options[associate] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
determines when the template should associate objects based on metadata, new means only when new template is being created, always means both for new and existing template which is only being updated, never ignores metadata Validations:
|
options[lock] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
lock imported templates (false by default) Validations:
|
options[default] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
makes the template default meaning it will be automatically associated with newly created organizations and locations (false by default) Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
version Optional |
mallversion Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
id Required |
Validations:
|
report_template Required |
Validations:
|
report_template[name] Optional |
Validations:
|
report_template[template] Optional |
Validations:
|
report_template[snippet] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
report_template[audit_comment] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
Validations:
|
report_template[locked] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
Whether or not the template is locked for editing Validations:
|
report_template[location_ids] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
REPLACE locations with given ids Validations:
|
report_template[organization_ids] Optional , <span class="translation_missing" title="translation missing: sv-SE.apipie.nil_allowed">Nil Allowed</span> |
REPLACE organizations with given ids. Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
id Required |
Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
id Required |
Validations:
|
report_template Required |
Validations:
|
report_template[name] Required |
mallnamn Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
id Required |
Validations:
|
Param Name | Description |
---|---|
location_id Optional |
Scope by locations Validations:
|
organization_id Optional |
Scope by organizations Validations:
|
id Required |
Validations:
|
input_values Optional |
Hash of input values where key is the name of input, value is the value for this input Validations:
|