Skip to main content

/check_shift

Request body: empty JSON object {} is acceptable.

Success response:

FieldTypeRequiredNotes
shiftIDinteger (int32)NoShift id
isShiftOpenstringNoSee value map below
shiftStatusinteger (int32)NoSee value map below
shiftOpenAtstringNoShift open time
cashinteger (int64)NoCurrent cash balance

Specific values:

  • isShiftOpen = "true": shift is open.
  • isShiftOpen = "false": shift is closed.
  • shiftStatus = 1: shift is open.
  • shiftStatus = 2: shift is closed.