GET Shift Breaks

Changed on

/shifts Permission level: 5

get/shifts/{shift_id}/shiftbreaks?access_token=xxxxxxx

Request

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

Path parameters

shift_idinteger required

ID of a shift

Query parameters

access_tokenstring required
updated_atstring

Updated at date

deletedstring

enum (0, 1)

Request body application/x-www-form-urlencoded

unknown required

Response

200

statusinteger
tokenstring
errorunknown

Example response

{
  "status": 1,
  "data": [
    {
      "employee": "2952814",
      "breaks": [
        {
          "id": 138536,
          "shift_employee_id": 626646480,
          "start": "2018-10-11 04:30:00",
          "end": "2018-10-11 04:45:00",
          "company_id": 132017,
          "created_at": "2018-10-11 12:19:51",
          "created_by": 1417022
        }
      ]
    }
  ],
  "token": "xxxxxxxxxxx"
}

Changes