v1
latestOpenAPI 3.0.32026-07-2632131.4 MBTasks
Update a task
put/tasks-open-api/{taskId}
Path parameters
taskIdstring required
Task id
Request body
Example request
{
"title": "Post Stay Clean",
"description": "A regular clean between guest stays.",
"priority": 2,
"type": "cleaning",
"assigneeGroup": [
"Cleaners A",
"Cleaners B"
],
"assigneeId": "69gvymvx55zwf5nn2ubng97cm",
"supervisorId": "eg2x3iyeqnttngcn4mhzrzawr",
"checklist": [
"Clean floors",
"Clean bathroom with bleach.",
"Change the linen"
],
"attachments": [
{
"title": "Clean Room 7",
"url": "attachment.png",
"mimetyoe": "image/png",
"size": 4401630,
"client": "cbt"
}
],
"startTime": "2021-05-10T11:30:00-04:00",
"plannedDuration": 2,
"canStartAfter": "2021-05-10T11:30:00-04:00",
"mustFinishBefore": "2021-05-10T14:00:00-04:00",
"listingId": "5803ca18e48f450300c76173",
"reservationId": "5803ca18e48f450300c76173",
"comments": [
{
"text": "This is a cool comment",
"attachments": []
}
]
}Response
Successful operation