Break
Update a break
Update and return a break for the specified business id, branch id and break id
put/api/business/{businessId}/branch/{branchId}/break/{breakId}
Path parameters
businessIdstring required
branchIdstring required
breakIdstring required
Request body
Example request
{
"breakDate": "2018-01-01",
"startTime": "12:30:00",
"endTime": "13:00:00",
"staffId": "staffid",
"roomId": "roomid",
"machineId": "machineid",
"label": "lunch break",
"paidBreak": true,
"breakId": "ab123",
"version": 1
}Response
Break updated successfully
Example response
{
"breakDate": "2018-01-01",
"startTime": "12:30:00",
"endTime": "13:00:00",
"staffId": "staffid",
"roomId": "roomid",
"machineId": "machineid",
"label": "lunch break",
"paidBreak": true,
"breakId": "ab123",
"version": 1
}