v1/shiftsCopy Pagepost https://shyftplan.com/api/v1/shiftsCreate a new shiftBody Paramsuser_emailstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. E-mail address of the API user.authentication_tokenstringrequiredThis is a testing sandbox. We advise against using credentials for production accounts here. Authentication token - can be fetched by login action.ends_atdate-timerequiredDefaults to 2024-01-01T09:00:00.000+01:00End of the shiftlocations_position_idint32requiredDefaults to 1234ID of locations_positions objectshiftplan_idint32requiredDefaults to 1234ID of an Shiftplanstarts_atdate-timerequiredDefaults to 2024-01-01T09:00:00.000+01:00Start of the shiftworkersint32requiredDefaults to 0Number of workersassignment_group_idsarray of int32sArray of assignment group IDsassignment_group_idsADD int32auto_acceptstringenumDefaults to disabledAuto accept shift requests as long as there are open slots on the shiftdisabledwarningenforcedAllowed:disabledwarningenforcedbreak_timeint32Defaults to 30Total duration of timed breaks in minutes (Required unless untimed_break_time is present)can_evaluatebooleanDefaults to trueCan employees propose evaluations?truefalseevaluation_tag_idsarray of int32sArray of EvaluationTag IDs (including from shift presets)evaluation_tag_idsADD int32ignore_conflictsstringDefaults to trueEither true to ignore all conflicts listed below or an array of specific conflicts to ignore. Only warnings can be ignored, enforced conflicts will persist. Possible values are: shifts_collisionabsences_collisionlocations_position_changedminimum_breakmaximum_working_hoursminimum_restmaximum_earningoutside_employment_periodmaximum_consecutive_working_daysrestricted_shift_presetsunavailablenot_availableminimum_qualification_levelnot_in_shift_presetmanager_notestringManager note for the ShiftmetadatastringShift metadata as jsonnotestringNote for the shiftqualificationsarray of objectsCollection of required qualificationsqualificationsADD objectshift_breaksarray of objectsCollection of timed shift breaksshift_breaksADD objectshift_preset_idint32ID of an exisiting shift presetshift_rotation_group_idsarray of int32sList of shift-system group IDs.shift_rotation_group_idsADD int32tag_idsarray of int32sArray of Shift Tag IDs (including from shift presets)tag_idsADD int32untimedbooleanDefaults to falseIs this a Standby shift?truefalseuntimed_break_timeint32Duration of untimed breaks in minutes (Required unless break_time is present)Responses 201Successfully connected 400Company not found Shiftplan not found LocationsPosition not found Tag not found Evaluation Tag not found Qualifications feature is not enabled Qualifications not found Shift-system Group Not Found Assignment Group not found 403forbidden 422Shift conflictsUpdated 2 days ago