schedule.publish

Publish Shifts

SUPPORTED METHODS:

GET

ParametersTypeDescription
token (required)Valid token
shifts (required)varcharShifts
schedule (accepted)integerSchedule id
notify (accepted)enum (0, 1, 2)0: Do not notify
1: Notify
2: Send Notifications to Employees & Managers
message (accepted)varcharMessage
start_date (accepted)dateStart date
end_date (accepted)dateEnd date
notes_start (accepted)dateNotes end date
notes_end (accepted)dateNotes start date
location (accepted)integerLocations
positions (accepted)intPositions
dont_delete_acknowledgements (accepted)enum (0, 1)

DOCUMENTATION

GET
Publish Shifts.
Level 5 is required (all users can fetch this module)

--

Example Request:

{
   "module":"schedule.publish",
   "method":"GET",
   "shifts":"421891020,421891185",
   "token":"xxxxxxx"
}

Example Response:

{
   "status":1,
   "data":"1. shift published & 0 republished.",
   "token":"xxxxxxx"
}