List roster records with forward cursor pagination
GET/roster-records/find-many
Returns a page of roster records for the tenant named in the tenant-id header, walking forward through the set.
When to use: call this for straightforward forward-only paging; use GET /roster-records instead when you also need to stop at an upper-bound cursor (endAtId), which this endpoint does not accept. Both endpoints read the same underlying records.
Preconditions: supply the tenant-id header. Use page and size for offset paging, or pass the startAfterId returned by the previous page to continue from where you left off; omit all three to receive the first default-sized page.
Filtering: the optional filter parameter takes a JSON object encoded as a string, for example {"data.status":{"eq":"COMPLETED"}}, and is applied before pagination. Supported comparison operators are eq, neq, gt, gte, lt, lte, in, nin, and contains. Do not include tenantId in the filter - it is injected automatically from the header.
What you get back: an envelope carrying the matching roster records in data, navigation links, and totalCount when the underlying store reports one. Read-only; no state is mutated. Note: when the upstream data layer fails (including an unparseable filter), this endpoint currently returns 200 with an empty body rather than an error status - treat an empty (non-envelope) body as a retryable failure, not as an empty result set.
Request
Responses
- 200
- 401
- 403
A page of roster records for the tenant, with pagination links and a total count when available.
Returned when the request carries no valid authentication.
Returned when the caller lacks the READ_ROSTER permission for this tenant.