POST /api/templates/1007981772-Job%20template%20144/foreign_input_sets
{
"foreign_input_set": {}
}
422
{
"error": {
"id": null,
"errors": {
"target_template": [
"can't be blank"
]
},
"full_messages": [
"Target template can't be blank"
]
}
}
| 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:
|
|
template_id
required |
Validations:
|
|
foreign_input_set
required |
Validations:
|
|
foreign_input_set[target_template_id]
required |
Target template ID Validations:
|
|
foreign_input_set[include_all]
optional , nil allowed |
Include all inputs from the foreign template Validations:
|
|
foreign_input_set[include]
optional , nil allowed |
A comma separated list of input names to be included from the foreign template. Validations:
|
|
foreign_input_set[exclude]
optional , nil allowed |
A comma separated list of input names to be included from the foreign template. Validations:
|
|
foreign_input_set[description]
optional , nil allowed |
Input set description Validations:
|