Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
search optional |
filter results Validations:
|
order optional |
Sort and order by a searchable field, e.g. '<field> DESC' Validations:
|
page optional |
Page number, starting at 1 Validations:
|
per_page optional |
Number of results per page to return, 'all' to return all results Validations:
|
Field name | Type | Possible values |
---|---|---|
default | true, false | |
location | ||
location_id | ||
locked | true, false | |
name | ||
organization | ||
organization_id | ||
snippet | true, false | |
template |
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
webhook_template required |
Validations:
|
webhook_template[name] required |
Validations:
|
webhook_template[description] optional , nil allowed |
Validations:
|
webhook_template[template] required |
Validations:
|
webhook_template[snippet] optional , nil allowed |
Validations:
|
webhook_template[audit_comment] optional , nil allowed |
Validations:
|
webhook_template[locked] optional , nil allowed |
Whether or not the template is locked for editing Validations:
|
webhook_template[default] optional , nil allowed |
Whether or not the template is added automatically to new organizations and locations Validations:
|
webhook_template[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
webhook_template[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
webhook_template required |
Validations:
|
webhook_template[name] optional |
Template name Validations:
|
webhook_template[template] optional |
Template contents including metadata Validations:
|
webhook_template[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
webhook_template[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
options optional |
Validations:
|
options[force] optional , nil allowed |
use if you want update locked templates Validations:
|
options[associate] optional , nil allowed |
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 , nil allowed |
lock imported templates (false by default) Validations:
|
options[default] optional , nil allowed |
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 |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
webhook_template required |
Validations:
|
webhook_template[name] optional |
Validations:
|
webhook_template[description] optional , nil allowed |
Validations:
|
webhook_template[template] optional |
Validations:
|
webhook_template[snippet] optional , nil allowed |
Validations:
|
webhook_template[audit_comment] optional , nil allowed |
Validations:
|
webhook_template[locked] optional , nil allowed |
Whether or not the template is locked for editing Validations:
|
webhook_template[default] optional , nil allowed |
Whether or not the template is added automatically to new organizations and locations Validations:
|
webhook_template[location_ids] optional , nil allowed |
REPLACE locations with given ids Validations:
|
webhook_template[organization_ids] optional , nil allowed |
REPLACE organizations with given ids. Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|
webhook_template required |
Validations:
|
webhook_template[name] required |
Template name Validations:
|
Param name | Description |
---|---|
location_id optional |
Set the current location context for the request Validations:
|
organization_id optional |
Set the current organization context for the request Validations:
|
id required |
Validations:
|