GET Publish
Changed on/shifts/publish Permission level: 5
get/shifts/publish
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Query parameters
shiftsstring required
String containing an array of comma separated shift IDs (eg: "458,547,1001")
notifyinteger
enum[0,1,2] 0: Do not notify, 1: Notify employees, 2: Send notifications to employees & managers
messagestring
locationinteger
location id
positionsstring
String containing an array of comma separated position IDs (eg: "458,547,1001")
dont_delete_acknowledgementsinteger
enum[0,1]
Response
200
Example response
{
"status": 1,
"data": "1. shift published & 0 republished.",
"token": "xxxxxxx"
}Changes
- info
endpoint added
- info