v1/employments/potential_conflicts

Given the list of employees, returns potential conflict that these employees may have for the given date.

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

ID of a shyftplan account.

string
required
Defaults to true

Either true to check all conflicts from company settings or an Array of conflicts to check. Possible values are:

  • restricted_shift_presets
  • absences_collision
  • maximum_consecutive_working_days
  • minimum_rest
  • shifts_collision

date-time
required

Date for which to check potential conflicts to in ISO 8601 format with time and UTC offset

shift_preset_id_per_employment[][employment_ids][]
array of int32s
required

Employment IDs

shift_preset_id_per_employment[][employment_ids][]*
shift_preset_id_per_employment[][shift_preset_id]
array of int32s

Shift Preset ID

shift_preset_id_per_employment[][shift_preset_id]
Responses

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