List all SMS by SIM ID (MO)
开发中GET
/sms/mo/{sim_id}Last modified: 1 年前
Description
Retrieve list of SMS(MO P2A) sent from the SIM
Version:
v1.0
Sign2.0
Notes:
- SMS records are kept for 180 days at most
- SIM IDs provided must belong to the organisation of the request
- By default ( if not present), the query time period is 7 days prior to the request
请求参数
Path Params
sim_id
string
required
SIM ICCID
Example:
89852123456789012345
Query Params
begin_from
string
optional
Long, Epoch timestamp UTC 0 in millisecond, default value is 7 days from the current time
Example:
1677116671000
end_by
string
optional
Long, Epoch timestamp UTC 0 in millisecond, default current time
Example:
1677116890000
page_no
integer
optional
default 1
Example:
1
page_size
integer
optional
1-100, default 100
Example:
100
示例代码
Responses
Success(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Data Schema
data
$ref(#/definitions/29143221)[]
required
#/definitions/29143221
optional
total_count
integer
required
Example
Success
{
"data": [
{
"org_id": "P001234",
"sim_id": "89852123456789012345",
"msisdn": "877676774564564",
"received_at": 1640917845984,
"message": {
"type": 1,
"content": "test"
}
}
],
"status": {
"code": "CB-00-0000",
"message": "Success",
"detail": null
},
"total_count": 111
}
Last modified: 1 年前