End a break for a timesheet
Breaks
PUT end break
Endpoint
PUT /api/v1/timesheets/:timesheet_id/breaks/:id
Parameters
Name | Description |
---|---|
timesheet_id required | Timesheet ID |
id required | Break ID |
Request
Route
PUT /api/v1/timesheets/4/breaks/3
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MDk1MDQzMSwiZXhwIjoxNzYzNTQyNDMxLCJqdGkiOiJmOWNhY2QxYS1iZWIyLTRlZDMtOGFkMS02NTQ2YzdjNzc1YTUifQ.JzW6ndefWa2fsGEF1-m-EeNjkP4sVEvIMNIY7uHK06s
Host: example.org
Cookie:
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"6fe7ce234cd3da1fc98d7e2c3c5b36df"
cache-control: max-age=0, private, must-revalidate
x-request-id: 31497056-332a-43b2-b491-90e41df54722
x-runtime: 0.008928
content-length: 32
Body
{
"break": {
"id": 3,
"duration": 60
}
}