Danh sách phòng ban
API này dùng để lấy danh sách phòng ban.
Request
Xem Postman sample.
curl --location 'https://pos.open.nhanh.vn/v3.0/business/department?appId={{appId}}&businessId={{businessId}}' \
--header 'Authorization: {{accessToken}}' \
--header 'Content-Type: application/json'
--data '{
"filters": {
"status": 1
},
"paginator": {
"size": 100,
"next": ""
}
}'Filters
Key
Type
Description
name
string
Tên phòng ban
code
string
Mã phòng ban
status
int
Trạng thái phòng ban (1 = Active 2 = Inactive)
Response
Xem cấu trúc chung tại đây.
Failed response
Xem các mã lỗi chung tại đây.
Successful response
Last updated