Get SIM CDRs
GET
/sims/{sim_id}/cdrLast modified: 1 年前
Description
Query CDR records
Version
1.0
Notes
- CDR can be back tracked for maximum 180 days.
- This API can only query CDR since 2023-Jan-1.
请求参数
Path Params
sim_id
string
required
SIM ICCID
Example:
89852123456789012345
Query Params
received_start_time
string
optional
yyyy-MM-dd HH:mm:SS
Example:
2023-07-20 00:00:00
received_end_by
string
optional
yyyy-MM-dd HH:mm:SS
Example:
2023-07-20 23:59:59
page_no
integer
optional
Example:
1
page_size
integer
optional
max:100
Example:
100
示例代码
Responses
success(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
array [object {10}]
required
imsi
string
optional
msisdn
string
optional
mcc
string
optional
mnc
string
optional
network
string
optional
data
integer
optional
Byte
sim_id
string
optional
plan_id
string
optional
session_started_at
string
optional
session_ended_at
string
optional
status
object
required
code
string
required
message
string
required
detail
string
required
total_count
integer
required
Example
{
"data": [
{
"imsi": "204123456789001",
"msisdn": "881234567891301",
"mcc": "510",
"mnc": "11",
"network": "2G",
"data": 0,
"sim_id": "893109999999999031463",
"plan_id": "DP20190916001651",
"session_started_at": "2022-08-06T14:08:56.000+00:00",
"session_ended_at": "2022-08-06T14:09:05.000+00:00"
},
{
"imsi": "204123456789001",
"msisdn": "881234567891301",
"mcc": "510",
"mnc": "11",
"network": "2G",
"data": 962,
"sim_id": "893109999999999031463",
"plan_id": "DP20190916001651",
"session_started_at": "2022-08-08T00:48:45.000+00:00",
"session_ended_at": "2022-08-08T00:48:54.000+00:00"
}
],
"status": {
"code": "CB-00-0000",
"message": "Success",
"detail": null
},
"total_count": 1765
}
Last modified: 1 年前