Locations
Get a list of locations
Changed onRetrieve a paginated list of locations.
Filtering: Filter records by field values using the format: field[operator]=value
Available fields:
- public_id: string
- created_at: ISO 8601 datetime (e.g. 2025-01-01T12:00:00Z)
- updated_at: ISO 8601 datetime
Available operators:
- eq: Equals
- gt: Greater than
- gte: Greater than or equal
- lt: Less than
- lte: Less than or equal
Date-time filters (ex. created_at, updated_at) must:
- Use ISO 8601 date-time format
- Be precise to the second (e.g. 2025-01-01T12:00:00Z)
Examples:
/locations?public_id[eq]=abc123
/locations?created_at[gte]=2025-01-01T00:00:00Z&created_at[lt]=2025-01-02T00:00:00Z
get/api/2026-01-01/locations
Request
- Base URLhttps://jdpdocsdemo.jane.qa
- URLhttps://jdpdocsdemo.jane.qa/api/2026-01-01/locations
- AuthOAuth 2Authorization code: https://login.id.janeapp.com/realms/jane_partner_sandbox/protocol/openid-connect/auth?response_type=code&resource=https://jdpdocsdemo.jane.qa&prompt=consentToken URL: https://login.id.janeapp.com/realms/jane_partner_sandbox/protocol/openid-connect/token scopes: locations:read
Query parameters
page[cursor]string
Example:eyJwYWdlIjoyLCJzaXplIjo1fQ==
The Base64 encoded cursor to start the list from. Contains page and size information for pagination.
page[limit]integer
The number of records to return
sortstring
Comma-separated list of fields to sort by. Prefix a field with '-' for descending order.
Examples:
- sort=name,-created_at sorts by name ascending, then created_at descending.
- sort=-updated_at sorts by updated_at descending.
Available fields:
- name
- created_at
- updated_at
Filter by public_id. Example: public_id[eq]=123
Filter by created_at timestamp (ISO 8601). Example: created_at[gte]=2025-01-01T00:00:00Z
Filter by updated_at timestamp (ISO 8601). Example: updated_at[lt]=2025-01-02T00:00:00Z
Response
A list of locations
Example response
{
"cursor": "eyJwYWdlIjozLCJzaXplIjo1fQ==",
"links": {
"after": "/api/2026-01-01/locations?page[cursor]=eyJwYWdlIjozLCJzaXplIjo1fQ==&page[limit]=5"
}
}Changes
- info
endpoint added
- info