List job locations
Retrieves a paginated list of job locations. Returns active locations by default. Supports pagination via page and pageSize query parameters.
OAuth Scopes: field
Request
- Base URLhttps://companySubDomain.bamboohr.com
- AuthOAuth 2Authorization code/authorize.phpToken URL/token.phpScopesfield
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The number of items to return per page.
The page number to retrieve.
Ordering by OData (Open Data Protocol) v4 specification. Supported fields: label, archived, manageable, address/address1, address/address2, address/city, address/stateId, address/zipcode, address/countryId, address/timezone, address/remoteLocation, createdAt, archivedAt
Projection (field selection) by OData specification. Supported fields: id, label, archived, manageable, address/address1, address/address2, address/city, address/stateId, address/zipcode, address/countryId, address/timezone, address/remoteLocation, createdAt, archivedAt
Filter by an OData (Open Data Protocol) v4 specification. Supported fields: id, label, archived, manageable, address/address1, address/address2, address/city, address/stateId, address/zipcode, address/countryId, address/timezone, address/remoteLocation
Comma-separated list of related resources to expand. Supported values: state, country. Example: expand=state,country
Response
A paginated list of job locations
Example response
{
"meta": {
"pageSize": 100,
"totalPages": 1,
"totalItems": 10
},
"_links": {
"next": {
"href": "/api/v1/reference-resources?page=2&pageSize=100"
},
"prev": {
"href": "/api/v1/reference-resources?page=0&pageSize=100"
}
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.