/shifts/restore Permission level: 5

get/shifts/restore

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API 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

statusstring
tokenstring

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