Availability

List Availability Reasons

get/v2/company/{company_id}/availability_reasons

Request

  • Base URL
    https://api.7shifts.com
  • Auth
    • OAuth 2
      Authorization codehttps://app.7shifts.com/oauth2/authorize
      Client credentials
      Password
      Token URLhttps://app.7shifts.com/oauth2/token
    • or API key in cookie 7session

Path parameters

company_idinteger required

Company ID

Query parameters

cursorstring

Cursor for the next or previous page of results.

limitinteger

The number results desired per page.

Headers

x-api-versionstring

An API version

Example:2022-05-01

7shifts API version

x-company-guidstring uuid

Company GUID

Response

Success

object'availability_reasons' required

Example response

{
  "data": [
    {
      "created": "2020-01-20T12:00:00.000Z",
      "modified": "2020-01-20T12:00:00.000Z"
    }
  ]
}

Changes

No recorded changes to this operation across all 2 revisions of this API.