Skip to navigation

Update ticket notification schedule

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.
business_start_hourlongOptional
Hour, in local time, when notifications may start being sent each day, e.g. 9.
business_end_hourlongOptional
Hour, in local time, after which notifications stop being sent each day, e.g. 18.
respect_user_timezone_dslstringOptional
Moveworks DSL rule that, when it matches, uses the user's timezone instead of Pacific time for ticket notifications. Must be a valid MWDSL expression.
weekend_notifications_enabled_dslstringOptional
Moveworks DSL rule that, when it matches, allows ticket notifications on weekends during business hours. Must be a valid MWDSL expression.

Response

The updated ticket notification schedule, at its new version
business_start_hourlongOptional
Hour, in local time, when notifications may start being sent each day, e.g. 9.
business_end_hourlongOptional
Hour, in local time, after which notifications stop being sent each day, e.g. 18.
respect_user_timezone_dslstringOptional
Moveworks DSL rule that, when it matches, uses the user's timezone instead of Pacific time for ticket notifications.
weekend_notifications_enabled_dslstringOptional
Moveworks DSL rule that, when it matches, allows ticket notifications on weekends during business hours.
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