v1/absences/locations

List 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
≥ 1

ID of a shyftplan account.

company_ids[]
array of int32s

Filter for a list of company IDs.

company_ids[]
date-time

Return all records which are created after this date-time.

date-time

Return all records which are created before this date-time.

int32
≥ 1

Filter for a single location ID.

ids[]
array of int32s

Filter for a list of location IDs.

ids[]
date-time

Return all records which are updated after this date-time.

date-time

Return all records which are updated before this date-time.

boolean
Defaults to false

Include soft-deleted locations

boolean

Boolean flag to determine if 'own locations' should be included in the response - those are the locations where the user can be assigned to shifts (as part of staff) at some position. The default value for this parameter is true, if the user is an employee (or both employee and manager), otherwise it is false.

Responses

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