參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
search 選填 |
篩選結果 Validations:
|
order 選填 |
Sort field and order, eg. ‘id DESC’ Validations:
|
page 選填 |
編頁結果 Validations:
|
per_page 選填 |
每個請求的項目數量 Validations:
|
Field name | 類型 | 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 |
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
report_template 必填 |
Validations:
|
report_template[name] 必填 |
Validations:
|
report_template[template] 必填 |
Validations:
|
report_template[snippet] 選填 , 允許空值 |
Validations:
|
report_template[audit_comment] 選填 , 允許空值 |
Validations:
|
report_template[locked] 選填 , 允許空值 |
範本是否鎖定並禁止進行編輯 Validations:
|
report_template[default] 選填 , 允許空值 |
Whether or not the template is added automatically to new organizations and locations Validations:
|
report_template[location_ids] 選填 , 允許空值 |
將位置取代為特定 ID Validations:
|
report_template[organization_ids] 選填 , 允許空值 |
將組織取代為特定 ID。 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
report_template 必填 |
Validations:
|
report_template[name] 選填 |
範本名稱 Validations:
|
report_template[template] 選填 |
template contents including metadata Validations:
|
report_template[location_ids] 選填 , 允許空值 |
將位置取代為特定 ID Validations:
|
report_template[organization_ids] 選填 , 允許空值 |
將組織取代為特定 ID。 Validations:
|
options 選填 |
Validations:
|
options[force] 選填 , 允許空值 |
use if you want update locked templates Validations:
|
options[associate] 選填 , 允許空值 |
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] 選填 , 允許空值 |
lock imported templates (false by default) Validations:
|
options[default] 選填 , 允許空值 |
makes the template default meaning it will be automatically associated with newly created organizations and locations (false by default) Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
version 選填 |
範本版本 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Validations:
|
report_template 必填 |
Validations:
|
report_template[name] 選填 |
Validations:
|
report_template[template] 選填 |
Validations:
|
report_template[snippet] 選填 , 允許空值 |
Validations:
|
report_template[audit_comment] 選填 , 允許空值 |
Validations:
|
report_template[locked] 選填 , 允許空值 |
範本是否鎖定並禁止進行編輯 Validations:
|
report_template[default] 選填 , 允許空值 |
Whether or not the template is added automatically to new organizations and locations Validations:
|
report_template[location_ids] 選填 , 允許空值 |
將位置取代為特定 ID Validations:
|
report_template[organization_ids] 選填 , 允許空值 |
將組織取代為特定 ID。 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Validations:
|
report_template 必填 |
Validations:
|
report_template[name] 必填 |
範本名稱 Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Validations:
|
參數名字 | 描述 |
---|---|
location_id 選填 |
位置範圍 Validations:
|
organization_id 選填 |
組織範圍 Validations:
|
id 必填 |
Validations:
|
input_values 選填 |
Hash of input values where key is the name of input, value is the value for this input Validations:
|