DELETE Shift Breaks
Changed on/shifts Permission level: 4
delete/shifts/{shift_id}/shiftbreaks?access_token=xxxxxxx
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Path parameters
shift_idstring[] required
ID of a shift
Query parameters
access_tokenstring required
Headers
Content-Typestring
Content type for this request should be application/json
Request body application/x-www-form-urlencoded
Response
200
Example response
{
"status": 1,
"data": [
{
"employee": "2952814",
"breaks": [
{
"id": 138534,
"shift_employee_id": 626646480,
"start": "2018-10-11 04:30:00",
"end": "2018-10-11 04:45:00",
"company_id": 132017,
"created_at": "2018-10-11 11:48:57",
"deleted_at": "2018-10-11 11:58:26",
"created_by": 1417022,
"deleted_by": 1417022
}
]
}
],
"token": "xxxxxxxxxxx"
}Changes
- info
endpoint added
- info