Skip to navigation

Roster - LIST

View as Markdown

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 UPSERT or DELETE counterpart.

Request fields

FieldTypeMandatoryNotes
InterfaceCodestringYesAlways BIPO-RO
EmployeeCodestring(16)YesExactly one employee per call. A comma-separated list is rejected. Send the code exactly as stored, including upper/lower case
RosterDateFromdateYesStart of range, in yyyy-MM-dd format, e.g. 2026-09-01
RosterDateTodateYesEnd of range, in yyyy-MM-dd format. Must not exceed RosterDateFrom + 1 calendar month, and must not be earlier than RosterDateFrom

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. null on a rest or off day
NormalEndTimestringBothHH:mm. null on a rest or off day
CostRefCodestringBoth
BreakarrayBothArray of { BreakStart, BreakEnd, BreakHours }. Empty when the shift has no break, or (Time-Based) when the Break Display configuration hides breaks

Errors

Business-rule rejections (unknown employee, missing date, range over 1 month) return HTTP 200 with the error message as a plain JSON string, not an object.

Note: Use yyyy-MM-dd for both dates. Other formats may be read differently — for example, 01/09/2026 is read as 9 January.

Note: If RosterDateTo is earlier than RosterDateFrom, the API returns an empty list rather than an error.

Note: A rest or off day still returns a Shift1 object, with its WorkStatus and null times. Shift1 is null only when no shift applies to the date.

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