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.eyJzdWIiOiI0OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTczNzU1MTU1MCwiZXhwIjoxNzQwMTQzNTUwLCJqdGkiOiIxNDYwMjNlOC1mODZkLTQ2ZWItYTVjMi0xNWM2NDY2YTVhYTgifQ.6HAw4p-JAbg6e9Zpm5LVw8lLzpTcMtNyRF821WVUv7g
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: 971aef79-6486-45ee-a8c4-50bcc0857f83
x-runtime: 0.009404
content-length: 32

Body

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