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.eyJzdWIiOiI0OCIsInNjcCI6InVzZXIiLCJhdWQiOm51bGwsImlhdCI6MTc0ODUxNjQ5MywiZXhwIjoxNzUxMTA4NDkzLCJqdGkiOiJlM2E0NjYzOS02YTQyLTRhOTUtOTVmZS03ZGVlODgwMWQ4YTgifQ.tOsw_SCUUUadCwnsKQlYMC9FbEzbxpfIZdREUIpJ8z0
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: 125158d7-7ea7-46f7-ae71-73d1e74a621a
x-runtime: 0.009353
content-length: 32

Body

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