forked from nxtele/http-api-document
-
Notifications
You must be signed in to change notification settings - Fork 1
查询某段时间内的所有记录
ben.zhuang edited this page Oct 14, 2022
·
1 revision
简要描述:
- 查询某段时间内的所有记录
请求URL:
http://api2.nxcloud.com/opt/call/list
请求方式:
- GET
GET http://api2.nxcloud.com/otp/call/list?start=2021-04-27%2017%3A00%3A00&end=2021-04-27%2018%3A00%3A00&appkey=aaa&appsecret=bbb
请求参数:
| 参数名 | 类型 | 说明 |
|---|---|---|
| appkey | string | 牛信平台,flash call 应用的 app key |
| secretkey | string | 牛信平台,flash call 应用的 secret key |
| start | string | 查询时间范围的开始时间,格式为: yyyy-MM-dd HH:mm:ss |
| end | string | 查询时间范围的结束时间,格式为: yyyy-MM-dd HH:mm:ss |
返回示例
{
"cdrs": [
{
"id": 4,
"customerId": 1,
"appId": 1,
"msisdn": "182182182",
"callingNumber": "2150928925",
"token": "8925",
"requestId": "3097f48a0c6e465586e9f7cc5a922b90",
"ip": null,
"price": 0.0,
"gmtCreate": "2021-04-27 17:02:22",
"gmtModified": null,
"callStartAt": null,
"callEndAt": null,
"callbackAt": null,
"callStatus": 0
},
{
"id": 5,
"customerId": 1,
"appId": 1,
"msisdn": "182182182",
"callingNumber": "2150928927",
"token": "8927",
"requestId": "7674dc8e75774c09a470c3b0b0aa6a5d",
"ip": null,
"price": 0.0,
"gmtCreate": "2021-04-27 17:02:44",
"gmtModified": null,
"callStartAt": null,
"callEndAt": null,
"callbackAt": null,
"callStatus": 0
}
],
"code": "0"
}
返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| code | string | 结果编码,为0是成功,其他都是失败,具体参考失败代码表 |
| cdrs | json | 符合条件的 flash call 呼叫记录。 此接口没有分页,同时限制最大返回条数 100。 如果想要查询更多,请以上次返回的最后一条的 gmtCreate 字段,作为 start 参数的值重新查询 |
Introduction
- Send Message
- Mark Incoming Message as Read
- Upload Media File
- Get Media File
- Delete Media File
- Webhook
- Query Number Information
- Query Message Template
- Create Message Template
- Edit Message Template
- Delete Message Template
- Upload Template Example File
- Embedded Page Login
- Create Client Application
- List of Phone Numbers for Client Application
- Get Verification Code
- Verify Verification Code
- Create Local Client
Short message
Voice
Call Center(NXLink)
- Web Iframe
- Manual Dial Record
- Manual Dial Record Query By orderId
- List Agent Information
- List Agent Status
- List Queue
- List Agents In Queue
- List Agent Efficiency
- Update Queue Agents
- Create AutoDial Task
- Webhook - Manual Dial
AI Agent(NXLink)
- AI Agent Task List
- Query Call Records
- Append Contacts to an Existing Task
- Delete Contacts
- Call Record Callback
Call Center(Callbot)
- Callbot API Summary
- Callbot API Authorization
- Callbot API Ping
- Create Auto Dial Task
- Add Contact List To Task
- Create Task And Add Contact
- Start Or Pause Task
- Update Task Parameters
- Get List Task
- List Call
- List Task Orders
- Stop Order
- Get Call Detail By Order
- Webhook - By Call
- Webhook - By Order
- Webhook - Task Status
Flash Call
Short links
邮件验证码
DID号码
通用
号码检测