Add several task types (with their priority), task statuses and asset types to a production in a single request, replacing one link request per item. Unknown ids are skipped. When replace_task_types is set, the task type list is the full wanted set and existing links absent from it are removed.
POST
/data/projects/{project_id}/settings/batch
curl \
--request POST 'http://api.example.com/data/projects/a24a6ea4-ce75-4665-a070-57453082c25/settings/batch' \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"task_types":[{"task_type_id":"string","priority":42}],"task_status_ids":["string"],"asset_type_ids":["string"],"replace_task_types":false}'
Request examples
{
"task_types": [
{
"task_type_id": "string",
"priority": 42
}
],
"task_status_ids": [
"string"
],
"asset_type_ids": [
"string"
],
"replace_task_types": false
}