GET Wizard
Changed on/shifts/wizard Permission level: 4
get/shifts/wizard
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI 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
Example response
{
"status": 1,
"data": "1 shifts automagically filled!",
"token": "xxxxxxx"
}Changes
- info
endpoint added
- info