Breaks

End a break for a timesheet

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.eyJzdWIiOiI0OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc1MzI2NjE2OCwiZXhwIjoxNzU1ODU4MTY4LCJqdGkiOiJmNzgwMGE5Yy01YjRmLTRiODctYTA4ZS0xMTAwMGIyNjcyY2IifQ.0KKDpo7fFMwvfUaPoxkwGg6bjvGrJO0OIbtsqs0dRT8
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: 9a6fbae1-7178-4ec8-8a5e-f6fa161e354a
x-runtime: 0.024432
content-length: 32

Body

{
  "break": {
    "id": 3,
    "duration": 60
  }
}