Create a break for a timesheet
Breaks
POST start break
Endpoint
POST /api/v1/timesheets/:timesheet_id/breaks
Request
Route
POST /api/v1/timesheets/1/breaks
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI0MiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc2MDk1MDQzMSwiZXhwIjoxNzYzNTQyNDMxLCJqdGkiOiJlOGEyNDc0YS00NWJkLTQyYzktYTk1NC0xZWRmOTEzMjYzZWMifQ.yfjtEy-AAgu0yOqpq1Sw6Na-_eKVZEH4TGM4dHOmH7g
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/"596d7c77e3fb70dbc55c14c7c503530c"
cache-control: max-age=0, private, must-revalidate
x-request-id: 02f58e29-f756-4da6-a3bd-ea1339b2ff15
x-runtime: 0.023170
content-length: 34
Body
{
"break": {
"id": 1,
"duration": null
}
}