Update completion
PATCH/api/v1/shifts/:shiftId/completions/:completionId
Update a shift completion and timecard for the shift.
Request
Path Parameters
shiftId stringrequired
completionId stringrequired
Header Parameters
idempotency-key string
- application/json
Body
required
- Array [
- ]
data objectrequired
attributes objectrequired
totalCost number
hourlyRate number
fees number
punches object[]
type TimecardPunchActionrequired
Possible values: [START_BREAK
, END_BREAK
, SKIP_BREAK
, CLOCK_IN
, CLOCK_OUT
, SUBMIT_SIGNATURE
, START_SIGNATURE
, AUTO_CLOCK_OUT
]
punchTime date-timerequired
presenceVerificationId string
type stringrequired
Responses
- 200
- 4XX
- 5XX
- application/json
- Schema
- Example (from schema)
Schema
data objectrequired
id stringrequired
type stringrequired
{
"data": {
"id": "string",
"type": "string"
}
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]required
code stringrequired
id stringrequired
status stringrequired
title stringrequired
{
"errors": [
{
"code": "string",
"id": "string",
"status": "string",
"title": "string"
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
errors object[]required
code stringrequired
id stringrequired
status stringrequired
title stringrequired
{
"errors": [
{
"code": "string",
"id": "string",
"status": "string",
"title": "string"
}
]
}
Loading...