Employees

Handle HTTP requests regarding Customers.

get/employees/{id}/vacations

Request

  • Base URL
    https://hurma.work/api/v1
  • Auth
    none declared. Required headers: token

Path parameters

idstring required

Employee id or email

Query parameters

pageinteger
per_pageinteger

Headers

tokenstring required

Api token

Response

ОК

errorboolean
codeinteger
messagesstring[]

Example response

{
  "result": {
    "current_page": 1,
    "data": [
      {
        "people_id": "MS",
        "event_id": "1",
        "day": "2020-04-15",
        "type_id": 4
      }
    ],
    "first_page_url": "https://hurma.work/api/path?page=1",
    "from": 1,
    "last_page": 1,
    "last_page_url": "https://hurma.work/api/path?page=1",
    "next_page_url": "https://hurma.work/api/path?page=1",
    "path": "https://hurma.work/api/path",
    "per_page": 12,
    "to": 4,
    "total": 4
  },
  "code": 200
}

Changes

    • info

      api operation id f3a91f7be9d53eaa5db8bbd52f8dc2ed was added

    • info

      added the optional property /// to the response with the status