Skip to navigation

Roster - LIST

View as Markdown

This api is to extract an employee’s resolved roster for a date range.

Unlike a raw roster table read, this returns one row for every date in the range, with the shift resolved the same way the on-screen Roster page resolves it: a manual roster change for that date if one exists, otherwise the employee’s default Work Calendar shift. A date with no resolvable shift is still returned, with Shift1/Shift2 as null — it is never silently omitted.

Read-only — this interface code has no Import or Delete counterpart.

Request fields

FieldTypeMandatoryNotes
InterfaceCodestringYesAlways BIPO-RO
EmployeeCodestring(16)YesExactly one employee per call. A comma-separated list is rejected. The employee must also fall within the calling API user’s Attendance read access range
RosterDateFromdateYesStart of range, e.g. 2026-09-01
RosterDateTodateYesEnd of range. Must not exceed RosterDateFrom + 1 calendar month

Response fields

One object per date in the range.

FieldTypeNotes
EmployeeCodestring(16)
RosterDatestringyyyy-MM-dd
IsHolidayboolTrue when the date is a public holiday for that employee
Shift1objectThe shift for the date; null if none resolves
Shift2objectSecond session on a split-shift date; otherwise null
UpdateBystringPopulated only where a manual roster change exists for that date; null when the shift came from the default Work Calendar
UpdateOnstringAs above. yyyy-MM-ddTHH:mm:ss

Shift object

Shape depends on the client’s Roster Version configuration.

FieldTypeRoster VersionNotes
ShiftCodestring1 (Shift-Based) onlyAbsent in Time-Based, where times are held per date rather than per shift code
WorkStatusstringBoth
NormalStartTimestringBothHH:mm
NormalEndTimestringBothHH:mm
CostRefCodestringBoth
BreakarrayBothArray of { BreakStart, BreakEnd, BreakHours }. Empty when the Break Display configuration hides breaks

Error responses

MessageWhen
EmployeeCode does not exist.EmployeeCode is blank
The number of selected employees must not exceed the limit of 1.More than one employee code is sent
No permission to access.The employee is outside the API user’s Attendance read access range. Checked before the dates
RosterDateFrom does not exist. / RosterDateTo does not exist.A date is missing
Invalid entry of RosterDateFrom. / Invalid entry of RosterDateTo.A date is not a valid date
RosterDateTo must not exceed 1 months from .The range is longer than 1 calendar month

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects a string.

Response

OK
Shift1object
IsHolidayboolean
RosterDatedate
EmployeeCodestring
Shift2anyOptional
UpdateByanyOptional
UpdateOnanyOptional

Errors

400
Bad Request Error