Examples

PUT /api/templates/1007982167-Job%20template%20235/foreign_input_sets/19
{
  "foreign_input_set": {
    "include_all": false
  }
}
200
{
  "include_all": false,
  "id": 19,
  "template_id": 1007982167,
  "target_template_id": 1007982168,
  "include": null,
  "exclude": null
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Integer

template_id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

id
required

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

foreign_input_set
required

Validations:

  • Hash

foreign_input_set[target_template_id]
optional

Target template ID

Validations:

  • string from 2 to 128 characters containing only alphanumeric characters, space, '_', '-' with no leading or trailing space..

foreign_input_set[include_all]
optional , nil allowed

Include all inputs from the foreign template

Validations:

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

foreign_input_set[include]
optional , nil allowed

A comma separated list of input names to be included from the foreign template.

Validations:

  • String

foreign_input_set[exclude]
optional , nil allowed

A comma separated list of input names to be included from the foreign template.

Validations:

  • String

foreign_input_set[description]
optional , nil allowed

Input set description

Validations:

  • String