通过ICCID查询单张SIM下行短信(MT)
GET
/sms/mt/{sim_id}描述
检索在一定时间内发送到单个SIM卡的SMS(mt)列表。
版本:
v1.0
签名v2
说明:
- SIM卡必须归属于api key对应的企业
- 默认查询SIM卡7天内的下行记录
- 历史数据最多支持180天
SDK API 调用方式
PartnerClient client = new PartnerClient(accessKey,privateKey)
client.v2().sms().listMTBySimId(ListMTBySimId.builder(1,"89314404000894487785").status("4").beginFrom("1676565395000").endBy("1676648195000").pageNo(1).pageSize(10).build());
请求参数
Path 参数
sim_id
string
必需
Query 参数
status
integer
可选
选填,1-success, 2-failed, 3-processing, 4-all。默认值 4
示例值:
4
begin_from
integer
可选
选填,发送开始时间,据当前时间<=180天。默认值距离当前时间 7天。时间戳精确到毫秒
示例值:
1677116671000
end_by
integer
可选
必须 > begin_from。默认值当前时间。时间戳精确到毫秒
示例值:
1677116890000
page_no
integer
选填,默认1
示例值:
1
page_size
integer
可选
选填,默认100,1-100
示例值:
100
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
data
必需
Any of
#/definitions/41178578
可选
status
#/definitions/41430733必需
total_count
integer
必需
示例
{
"data": [
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1683711051000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit type 1"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1681195953000",
"message": {
"type": "普通/文本",
"content": "测试发送中状态"
},
"status": 0,
"source": "手动调用",
"user": "136034316@qq.com"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1681195343000",
"message": {
"type": "普通/文本",
"content": "bbb"
},
"status": 0,
"source": "手动调用",
"user": "dekai.li@linksfield.net"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1681194925000",
"message": {
"type": "普通/文本",
"content": "vvv"
},
"status": 0,
"source": "手动调用",
"user": "dekai.li@linksfield.net"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1681194856000",
"message": {
"type": "普通/文本",
"content": "aaa"
},
"status": 0,
"source": "手动调用",
"user": "dekai.li@linksfield.net"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1681194778000",
"message": {
"type": "普通/文本",
"content": "222"
},
"status": 0,
"source": "手动调用",
"user": "dekai.li@linksfield.net"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1681194025000",
"message": {
"type": "普通/文本",
"content": "1"
},
"status": 0,
"source": "手动调用",
"user": "dekai.li@linksfield.net"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1681186412000",
"message": {
"type": "普通/文本",
"content": "123456"
},
"status": 0,
"source": "手动调用",
"user": "xiaokang.sun@linksfield.net"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1680083757000",
"message": {
"type": "普通/文本",
"content": "cube uat web send sms 20230329 1755"
},
"status": 0,
"source": "手动调用",
"user": "wenhua.kou@linksfield.net"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1680082268000",
"message": {
"type": "普通/文本",
"content": "uwp uat web send 20230329 1731 "
},
"status": 0,
"source": "手动调用",
"user": "panglinjuan"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1680071925000",
"message": {
"type": "普通/文本",
"content": "SMS sending callback"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1680069649000",
"message": {
"type": "普通/文本",
"content": "SMS sending callback"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1680055726000",
"message": {
"type": "普通/文本",
"content": "test22"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679992679000",
"message": {
"type": "普通/文本",
"content": "test11"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679992313000",
"message": {
"type": "普通/文本",
"content": "test"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679972091000",
"message": {
"type": "普通/文本",
"content": "test"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679972038000",
"message": {
"type": "普通/文本",
"content": "test"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679971991000",
"message": {
"type": "普通/文本",
"content": "test"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679971967000",
"message": {
"type": "普通/文本",
"content": "test"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679969614000",
"message": {
"type": "普通/文本",
"content": "test"
},
"status": 0,
"source": "手动调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679879903000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679550137000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679369658000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit type 1"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679369306000",
"message": {
"type": "数据",
"content": "01111001 01100101 01100001 01110010 00100000 01101111 01100110 00100000 01110100 01101000 01100101 00100000 01110010 01100001 01100010 01100010 01101001 01110100"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1679369283000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678849814000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678848512000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678848183000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678848118000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678846535000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678846463000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678845846000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678845406000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678845315000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678844987000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678844849000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678785021000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678775781000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678761300000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678758020000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678757835000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678757793000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678693938000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678427928000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678414662000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678353797000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678353759000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678353735000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678352654000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678260304000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678260298000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678247037000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1678095130000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1677742696000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1677742287000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1677742256000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": "BC643C81CC524E48A5F0002A69454915"
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1677740665000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1677123595000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": null
},
{
"org_id": "领科产品项目部",
"sim_id": "89314404000894487785",
"msisdn": "882397144267920",
"sent_at": "1677123490000",
"message": {
"type": "普通/文本",
"content": "year of the rabbit"
},
"status": 0,
"source": "api调用",
"user": null
}
],
"status": {
"code": "CB-00-0000",
"message": "成功",
"detail": "https://developer.linksfield.net/doc-1413557?nav=01GBM770ARR76AXBD5856Z6J6P"
},
"total_count": 59
}
最后修改时间: 1 年前