GET Restore
Changed on/shifts/restore Permission level: 5
get/shifts/restore
Request
- Base URLhttps://www.humanity.com/api/v2
- AuthAPI key in query parameter access_token
Query parameters
start_datestring date
end_datestring date
schedulestring
Array of schedule ids (eg. "234,563,770")
detailedinteger
enum[0,1]
timestampstring date-time
Response
200
Example response
{
"status": "1",
"data": {
"id": "4563",
"total": "12",
"timestamp": "1333274348",
"date": {
"id": "6656455",
"month": "5",
"day": "18",
"year": "2012",
"weekday": "Sat",
"mname": "May",
"week": "20",
"dayid": "7",
"formatted": "May 19, 2012"
},
"time": "7:48pm"
},
"token": "xxxxxxxx"
}Changes
- info
endpoint added
- info