Publish Shifts
SUPPORTED METHODS:
GET
Parameters | Type | Description |
---|---|---|
token (required) | Valid token | |
shifts (required) | varchar | Shifts |
schedule (accepted) | integer | Schedule id |
notify (accepted) | enum (0, 1, 2) | 0: Do not notify 1: Notify 2: Send Notifications to Employees & Managers |
message (accepted) | varchar | Message |
start_date (accepted) | date | Start date |
end_date (accepted) | date | End date |
notes_start (accepted) | date | Notes end date |
notes_end (accepted) | date | Notes start date |
location (accepted) | integer | Locations |
positions (accepted) | int | Positions |
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"
}