PUT ShiftAsk AIput https://www.humanity.com/api/v2/shifts/{id}/shifts:id Permission level: 5Path Paramsidint32requiredForm Datatrade_acceptint32approve_overtimeint32employee_idstringThis parameter works only in conjunction with parameter copy_to, when we want to copy a shift and add one employee to the copied shift.schedulestringtypeint320 -> Standard; 1 -> Openneededint32start_timestringend_timestringstart_datestringend_datestringnotesstringtitlestringconfirmedint320 -> Not Confirmed; 1 -> ConfirmedaddstringA comma-separated employee IDs which will be assigned to a shift. Full employee name can be sent as well, but in that case only one employee can be assigned.removestringA comma-separated employee IDs which will be removed from a shift.detailedstringlocationint32Remote Location idforceint320 -> Do not force adding staff; 1 -> Force adding staffrepeatint320 : Default 90 : Every ‘n’ Day/Week 91 : ‘n’ On, ‘n’ Off 99 : Custom Cycle 1 : Daily 7 : Weekly 13 : Monthly (same date) 3 : Mon - Thu 2 : Mon - Fri 4 : Mon - Sat 15 : Tue - Sat 9 : Sat - Sun 10 : Mon, Wed, Fri 11 : Tues, Thur 19 : Fri - Tuesrepeat_untildateRepeat until daterepeat_staffint321 -> With Time Only; 2 -> With employeesrepeat_customstringCustom repeat cycle (eg. SSSOOOO) S-Shift, O-Day off)repeat_cyclestringenum[day,week]repeat_cycle_onstring0 -> Repeat cycle on, 1 -> Repeat cycle offrepeat_cycle_stepint32Cycle step: Every n days/weeks.update_seriesstring1 -> Make all future shifts the same as this one; 2 -> Make all shifts in the series the same as this one; 3 -> Revert this shift to originalupdate_staffint32enum[0, 1]update_timeint32enum[0, 1]update_typeint32enum[0, 1]update_notesint32enum[0, 1]update_scheduleint32enum[0, 1]update_tasksint32enum[0, 1]copy_tostringCopy to daterestoreint32enum[0, 1]addOnCallint32removeOnCallint32do_not_initiate_conflictsint32skill_requirementint32Skill IDResponses 200200 400400Updated 7 months ago