Methods

  • get - Get Roster Shifts
  • get - Get Roster Shifts

Resource

{
    "accepted": "boolean",
    "biddable": "boolean",
    "breaks": [
        {
            "endTime": "date-time",
            "id": "int32",
            "isPaidBreak": "boolean",
            "startTime": "date-time"
        }
    ],
    "datePublished": "date-time",
    "description": "string",
    "employeeId": "int32",
    "employeeName": "string",
    "endTime": "date-time",
    "fullyQualifiedLocationName": "string",
    "id": "int32",
    "isDifferent": "boolean",
    "locationId": "int32",
    "locationName": "string",
    "notes": "string",
    "pendingSwap": {
        "dateCreated": "date-time",
        "fromEmployee": "string",
        "fromEmployeeId": "int32",
        "id": "int32",
        "note": "string",
        "rejectedReason": "string",
        "status": "int32",
        "statusDescription": "string",
        "toEmployee": "string",
        "toEmployeeId": "int32"
    },
    "published": "boolean",
    "qualifications": [
        {
            "id": "int32",
            "name": "string"
        }
    ],
    "role": {
        "className": "string",
        "hexColourCode": "string",
        "id": "int32",
        "name": "string"
    },
    "shiftAssignmentStatus": "string",
    "shiftSwapCutoffTime": "date-time",
    "startTime": "date-time",
    "token": "string",
    "warnings": [
        "string"
    ],
    "workTypeId": "int32",
    "workTypeName": "string"
}

Properties

Name Type Description
accepted boolean Boolean
biddable boolean Boolean
breaks[] array
breaks[].endTime date-time DateTime
breaks[].id int32 Int32
breaks[].isPaidBreak boolean Boolean
breaks[].startTime date-time DateTime
datePublished date-time Nullable
description string String
employeeId int32 Nullable
employeeName string String
endTime date-time DateTime
fullyQualifiedLocationName string String
id int32 Int32
isDifferent boolean Boolean
locationId int32 Nullable
locationName string String
notes string String
pendingSwap object RosterShiftSwapModel
pendingSwap.dateCreated date-time DateTime
pendingSwap.fromEmployee string String
pendingSwap.fromEmployeeId int32 Int32
pendingSwap.id int32 Int32
pendingSwap.note string String
pendingSwap.rejectedReason string String
pendingSwap.status int32 Int32
pendingSwap.statusDescription string String
pendingSwap.toEmployee string String
pendingSwap.toEmployeeId int32 Int32
published boolean Boolean
qualifications[] array
qualifications[].id int32 Int32
qualifications[].name string String
role object RosterShiftRole
role.className string String
role.hexColourCode string String
role.id int32 Int32
role.name string String
shiftAssignmentStatus string Nullable

Possible values are:

  • Pending
  • Assigned
  • Bidding
  • PendingShiftSwap
  • PendingShiftSwapAwaitingApproval
  • ProposedShiftSwap
  • ProposedShiftSwapAwaitingApproval
shiftSwapCutoffTime date-time Nullable
startTime date-time DateTime
token string String
warnings[] array of string
workTypeId int32 Nullable
workTypeName string String