6. Lấy chi tiết trực
Mô tả API chi tiết thông tin trực tổng đài
Thông tin
Mô tả
Hình thức authen
Bearer <token>
Method
GET
Tạo request
curl -X 'GET' \
'https://localhost:7222/API/Voice/GetVoiceInfo' \
-H 'accept: */*' \
-H 'Authorization: Bearer <token>'GET https://localhost:7222/API/Voice/ChangeStatusInQueue/{queueId}/{statusCode}
{
"Extension": "600",
"SIPPassword": "2d010347653e66863f7b015640525ce6",
"GeneralStatusBool": false,
"GeneralStatus": "gre-2",
"GeneralStatusStr": "Không sẵn sàng",
"Queues": [
{
"QueueId": "874d1403-73ba-11ee-b0a0-fa163e4b4fbd",
"Name": "UIC",
"Code": "UIC",
"StatusCode": "gre-2",
"IsJoin": true,
"StatusCodeBool": false,
"StatusCodeStr": "Chưa sẵn sàng",
"OrderIndex": 0
},
{
"QueueId": "a6764d7b-73ba-11ee-b0a0-fa163e4b4fbd",
"Name": "Tổng đài",
"Code": "TongDai1",
"StatusCode": "gre-2",
"IsJoin": true,
"StatusCodeBool": false,
"StatusCodeStr": "Chưa sẵn sàng",
"OrderIndex": 0
}
]
}Name
Type
Description
Extension
string
Số nội bộ
SIPPassword
string
Mật khẩu đăng nhập Webphone SDK
GeneralStatusBool
Boolean
Trạng thái trực:
True = Sẵn sàng
False = Không sẵn sàng
GeneralStatusStr
Number
Trạng thái trực
Queues
array
Các nhóm agent đang trực
Last updated