Breaks

Create a break for a timesheet

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.eyJzdWIiOiI0MiIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE2OCwiZXhwIjoxNzU1ODU4MTY4LCJqdGkiOiIzODY5NjJhZC1lOTY5LTQ1YTgtYWM0Zi1hMjMwY2VjMDdlYTkifQ.e-Tb7FZrVpsF3QLS7hm9HUrPOAZAvjpqZoPqS4BG8ws
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: 36347909-42d2-4505-a7f5-7ab1fd020ff5
x-runtime: 0.021940
content-length: 34

Body

{
  "break": {
    "id": 1,
    "duration": null
  }
}