Danh sách chức vụ

URL: {host}/api/roles

Method: GET

Header:

Parameter
Mô tả

Authorization

{Bear + access_token}

Accept

application/json

Response :

Parameter
Mô tả

id

Định danh đội nhóm

name

Tên chức vụ

biz_employer_count

Số lượng nhân sự với chức vụ này

{
    "status": "success",
    "data": {
        "items": [
            {
                "role": {
                    "id": 1,
                    "name": "nhân viên",
                    "biz_employer_count": 2
                }
            }
        ],
        "total": 1,
        "current_page": 1,
        "last_page": 1
    }
}

Last updated