Break
Create a break
Create and return a break for the specified business id and branch id
post/api/business/{businessId}/branch/{branchId}/break
Request
- Base URLhttp://api-gateway-eu.phorest.com/third-party-api-server
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
businessIdstring required
branchIdstring 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 created 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
}Changes
No recorded changes to this operation across all 2 revisions of this API.