<- Labor API

Labor API

All versions ->

Update timecard

PUT

 /v2/labor/timecards/{id}

Updates an existing Timecard.

When adding a Break to a Timecard, any earlier Break instances in the Timecard have the end_at property set to a valid RFC-3339 datetime string.

When closing a Timecard, all Break instances in the Timecard must be complete with end_at set on each Break.

Permissions:TIMECARDS_READ, TIMECARDS_WRITE
Try in API Explorer
Link to section

Path parameters

Example code

Link to section

id

string

Required

The ID of the object being updated.

Link to section

Request body

Link to section

timecard

Required

The updated Timecard object.

Link to section

Response fields

Link to section

timecard

The updated Timecard.

Link to section

errors

Any errors that occurred during the request.