v1

latestOpenAPI 3.0.22026-07-24154101.1 MB
Departments

List Departments

get/v2/company/{company_id}/departments

Path parameters

company_idinteger required

Company ID

Query parameters

modified_sincestring

Return departments that have been modified since the specified date. Format YYYY-MM-DD

cursorstring

Cursor for the next or previous page of results.

limitinteger

The number of results desired per page.

location_idinteger

Return departments that match the provided location ID

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Response

OK

object'departments' required