v1/locations

List all Locations.

Query Params
string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

E-mail address of the API user.

string
required

This is a testing sandbox. We advise against using credentials for production accounts here.

Authentication token - can be fetched by login action.

int32
required
≥ 1

ID of a shyftplan account.

company_ids[]
array of int32s

Filter an array of Company IDs

company_ids[]
date-time

Return all records which are created after

date-time

Return all records which are created before

int32

Filter for single Location ID

ids[]
array of int32s

Filter an array of Location IDs

ids[]
date-time

Return all records which are updated after

date-time

Return all records which are updated before

boolean
Defaults to false

Include soft deleted locations

boolean

Include own locations. This defaults to false, if the requesting user is not an employee, and to true, otherwise. For true, the response will include locations in the list that contain a position where the user can be assigned to shifts.

Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json