/positions/:id Permission level: 7

get/positions/{id}

Request

  • Base URL
    https://www.humanity.com/api/v2
  • Auth
    API key in query parameter access_token

Path parameters

idinteger required

Position id

Response

200

statusinteger
tokenstring

Example response

{
  "status": 1,
  "data": {
    "id": 1324361,
    "name": "Customer service",
    "start_time": {
      "id": 1,
      "time": "12 am"
    },
    "end_time": {
      "id": 97,
      "time": "midnight"
    },
    "color": 25,
    "ical": "https://www.humanity.shiftplanning.com/ical/-5d7b3b4233e327aba088330a1a58e979.ics?1470147186000",
    "visible": 1,
    "notify": 1,
    "location": {
      "id": 542311,
      "name": "Dream Coffee Shop 2"
    }
  },
  "token": "xxxxxxx"
}

Changes