v1/availabilities

Create a new (un-)availability.

Body Params

Schema for the creation of an availability.

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.

boolean
required
Defaults to true

Does this availability object mark available or unavailable timeframes?

    Available options:
  • true: Available.
  • false: Unvailable.

int32
required
≥ 1

ID of the employment.

date-time
required

End date-time (ISO 8601) of the availability (rounded to steps of 15 minutes)

boolean
required
Defaults to false

Destroy conflicting availabilities? Conflict arises if the timeframe or timeframes (for repeated availabilities) of two availabilities overlap.

boolean
required
Defaults to false

Is the availability repeated weekly?

date-time
required

Start date-time (ISO 8601) of the availability (rounded to steps of 15 minutes)

Response

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