Api doc


SDK's


Api Modules

schedule.publish

Publish Shifts



Supported Methods:

GET
Params
  • token (Required): valid token
  • shifts (Required): varchar
  • schedule: integer
  • notify: enum (, 0, 1, 2)
  • message: varchar
  • start_date: date
  • end_date: date
  • notes_start: date
  • notes_end: date
  • location: integer
  • positions: varchar
  • dont_delete_acknowledgements: enum (0, 1)


Documentation

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

--

Parameters:

  1. "shifts": required //Shifts (varchar)
  2. "schedule": accepted //Schedule id (integer)
  3. "notify": accepted //Notify (enum[0,1,2])
  4. /* 0: Do not notify
  5.   * 1: Notify
  6.   * 2: Send Notifications to Employees & Managers */
  7. "message": accepted //Message (varchar)
  8. "start_date": accepted //Start date (date)
  9. "end_date": accepted //End date (date)
  10. "token": "xxxxxxx" //Valid token is required

Example Request:

  1. {
  2. "module":"schedule.publish",
  3. "method":"GET",
  4. "request":{
  5. "id":"8741"
  6. }
  7. }

Example Response:

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

GET STARTED NOW

Free Trial. No Credit Card Required.

close
(e.g.+14158675309 or +1415-8675-309)

By clicking "Create my ShiftPlanning Account" you agree to the Terms of Service and Privacy Policy.

Have a promotional code?Click Here


LIVE CHAT DEMO REQUEST!

Please provide information below.

close
INSTANT DEMOSCHEDULED DEMO
Connect with a ShiftPlanning Team Member for a live demo right now!
 

RESELLER REQUEST!

Please provide information below.

close