Giám sát cuộc gọi

API giám sát cuộc gọi.


Lấy danh sách cuộc gọi

API lấy danh sách cuộc gọi

GET[URL]/api/project/getAllCallPersent

Parameters

Header

AuthorizationAccess token: Bearer

Body

vbot_idStringVBotID khách hàngBắt buộc
project_codeStringMã nhómBắt buộc
pageIntSố trangBắt buộc
sizeIntSố lượng trên 1 trangBắt buộc
json
{
    "vbot_id": "sample string 1",
    "project_code": "sample string 2",
    "page": 1,
    "size": 10
}

Response

statusStringMã trạng thái, 1: Thành công, 0: Thất bại
dataStringDanh sách cuộc gọi
create_atIntThời gian tạo
call_atIntThời gian gọi
trans_idStringtrans_id
project_codeStringMã nhóm
callerItemInfoThông tin người gọi
calleeItemInfoThông tin người nghe
hotlineStringHotline
type_callStringKiểu cuộc gọi
messageStringThông tin lỗi
errorStringMã lỗi

ItemInfo

phoneStringSố điện thoại
member_noStringMã thành viên
sourceStringĐược gọi từ đâu
json
{
  "status": 1,
  "error": 2,
  "message": "sample string 3",
  "data": [
    {
      "create_at": 1,
      "call_at": 2,
      "trans_id": "sample string 3",
      "project_code": "sample string 4",
      "caller": {
        "phone": "sample string 1",
        "member_no": "sample string 2",
        "source": "sample string 3"
      },
      "callee": {
        "phone": "sample string 1",
        "member_no": "sample string 2",
        "source": "sample string 3"
      },
      "hotline": "sample string 5",
      "type_call": "sample string 6"
    },
    {
      "create_at": 1,
      "call_at": 2,
      "trans_id": "sample string 3",
      "project_code": "sample string 4",
      "caller": {
        "phone": "sample string 1",
        "member_no": "sample string 2",
        "source": "sample string 3"
      },
      "callee": {
        "phone": "sample string 1",
        "member_no": "sample string 2",
        "source": "sample string 3"
      },
      "hotline": "sample string 5",
      "type_call": "sample string 6"
    }
  ]
}

Lấy số lượng cuộc gọi

API lấy số lượng cuộc gọi

GET[URL]/api/project/countAllCallPersent

Parameters

Header

AuthorizationAccess token: Bearer

Body

vbot_idStringVBotID khách hàngBắt buộc
project_codeStringMã nhómBắt buộc
json
{
  "vbot_id": "sample string 1",
  "project_code": "sample string 2",
}

Response

statusStringMã trạng thái, 1: Thành công, 0: Thất bại
dataIntSố lượng cuộc gọi
messageStringThông tin lỗi
errorStringMã lỗi
json
{
  "status": 1,
  "error": 2,
  "message": "sample string 3",
  "data": 4
}