Skip to navigation

Update ticket routing

View as Markdown

Changes the fields you send and returns the full updated document.

Send only the fields you want to change, plus version with the num from your last read and a change_description. This is a JSON merge-patch: a field you leave out keeps its stored value, and every list or map you send replaces the stored one whole.

Authentication

AuthorizationBearer

JWT bearer token authentication. Include the Configuration API key in the Authorization header as ‘Bearer <token>’.

Request

This endpoint expects an object.
versionobjectRequired
Document version. On update, send back the num from your last read.
create_ticket_conditionsobjectOptional
Routes that pick the workflow used when creating tickets. Defaults apply when unset.
query_ticket_conditionsobjectOptional
Routes that pick the workflow used when looking up tickets. Defaults apply when unset.
update_ticket_conditionsobjectOptional
Routes that pick the workflow used when updating tickets. Defaults apply when unset.
resolve_ticket_conditionsobjectOptional
Routes that pick the workflow used when resolving tickets. Defaults apply when unset.
reopen_ticket_conditionsobjectOptional
Routes that pick the workflow used when reopening tickets. Defaults apply when unset.
assign_ticket_to_bot_upon_resolution_reachout_enabled_dslstringOptional
Moveworks DSL rule. When it evaluates to true, tickets are assigned to the Moveworks agent when Moveworks acts on them. Must be a valid MWDSL expression.

Response

The updated ticket routing, at its new version
create_ticket_conditionsobjectOptional
Routes that pick the workflow used when creating tickets. Defaults apply when unset.
query_ticket_conditionsobjectOptional
Routes that pick the workflow used when looking up tickets. Defaults apply when unset.
update_ticket_conditionsobjectOptional
Routes that pick the workflow used when updating tickets. Defaults apply when unset.
resolve_ticket_conditionsobjectOptional
Routes that pick the workflow used when resolving tickets. Defaults apply when unset.
reopen_ticket_conditionsobjectOptional
Routes that pick the workflow used when reopening tickets. Defaults apply when unset.
assign_ticket_to_bot_upon_resolution_reachout_enabled_dslstringOptional
Moveworks DSL rule. When it evaluates to true, tickets are assigned to the Moveworks agent when Moveworks acts on them.
updated_timedatetimeOptionalRead-only
When the configuration was last updated.
updated_bystringOptionalRead-only
Who last updated the configuration.
versionobjectOptional
Document version. On update, send back the num from your last read.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error