/shifts/wizard Permission level: 4

get/shifts/wizard

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Query parameters

from_startstring date required
from_endstring date required
to_startstring date required
to_endstring date required
scheduleinteger

schedule id

modestring

enum[manage,requested,upcoming]

rulestring

enum[1,2,3] 1: Replace all staff obey conflicts, 2: Keep all staff only replace conflicts, 3: Randomize all staff

clearinteger

null : Do not clear current timeline, 1: Clear current timeline

forcestring

null : Do not force fill, isset: Force fill

shiftsstring

Array of shifts ids (eg: "458,547,1001")

Response

200

statusinteger
datastring
tokenstring

Example response

{
  "status": 1,
  "data": "1 shifts automagically filled!",
  "token": "xxxxxxx"
}

Changes