v1

latestOpenAPI 3.0.02026-08-063939255.2 KB
Employees

List employees

Handle HTTP requests regarding Customers.

get/employees

Query parameters

statusinteger

7 - employees on a probationary period, 8 - current and fired employees, 9 - current employees (including employees on probation)

emailstring
started_work_fromstring

Format Y-m-d

started_work_tostring

Format Y-m-d

finished_work_fromstring

Format Y-m-d

finished_work_tostring

Format Y-m-d

pageinteger
per_pageinteger

Headers

tokenstring required

Api token

Response

ОК

errorboolean
codeinteger
messagesstring[]

Example response

{
  "result": {
    "current_page": 1,
    "data": [
      {
        "id": "Yu",
        "name": "John Smith",
        "email": "Employee@email.com",
        "position": "HR"
      }
    ],
    "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
}