Skip to main content

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

Body

required
    data objectrequired
    attributes objectrequired
    totalCost number
    hourlyRate number
    fees number
    punches object[]
  • Array [
  • type TimecardPunchActionrequired

    Possible values: [START_BREAK, END_BREAK, SKIP_BREAK, CLOCK_IN, CLOCK_OUT, SUBMIT_SIGNATURE, START_SIGNATURE, AUTO_CLOCK_OUT]

    punchTime date-timerequired
  • ]
  • type stringrequired

Responses

Schema
    data objectrequired
    id stringrequired
    type stringrequired
Loading...