Optional filter query parameters

Parameter

Type

Description

location_id

Integer

Return results filtered by location ID.

department_id

Integer

Return results filtered by department ID.

role_id

Integer

Return results filtered by role ID.

limit

Integer

The limit of results that will be returned.

offset

Integer

Return results starting from an offset.

order_field

String

The field you would like the results to be ordered by. Format is {lowercased-singular-method}.{field}. Example: /users/?order_field=user.modified

order_dir

String

The direction you want the results ordered by. Accepted values are "asc" or "desc". Example: /users/?order_dir=desc

Example request

https://api.7shifts.com/v1/users?location_id=123

Language
Authentication
Basic
base64
:
Response
Click Try It! to start a request and see the response here!