Update Work Routine
PATCH /work/routines/{routine_id}
PATCH
/work/routines/{routine_id}
Change one routine.
Only somebody who can read the routine’s delivery conversation may change
it, and re-pointing deliveryConversationId is a second grant: the NEW
conversation must be readable too. Omitted fields keep their stored value.
Authorizations
Parameters
Path Parameters
routine_id
required
Routine id
string format: uuid
Routine id
Header Parameters
Request Body required
Changes to one routine. Omitted fields keep their stored value.
object
weekdays
Any of:
Array<integer>
null
Responses
200
Successful Response
object
data
required
One routine, as the create and update operations return it.
object
routine
required
The routine as stored after the write
object
weekdays
Any of:
Array<integer>
null
key
additional properties
any
pagination
Any of:
object
has_next
required
Whether there are more pages
boolean
limit
required
Items per page
integer
notes
Any of:
Array<string>
null
page
required
Current page number (1-indexed)
integer
total
required
Total number of items
integer
null
422
Validation Error
object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string