docs: publish API examples from open-source

This commit is contained in:
Dai0814
2026-10-26 16:19:42 +08:00
parent 37a1d00f01
commit 846bac3d6c
6 changed files with 20 additions and 20 deletions
+13 -13
View File
@@ -31,8 +31,8 @@ POST /route/open/cardInfo
},
"verify": {
"timeStamp": "1784097284347",
"password": "YOUR_APP_SECRET",
"appId": "YOUR_APP_ID",
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
"sign": ""
}
}
@@ -73,7 +73,7 @@ POST /route/open/cardInfo
"iccid": "898604F4152391115474",
"imsi": "460087436015474",
"imei": "",
"deptName": "示例企业",
"deptName": "山东云则",
"statusId": 4,
"packageId": "yd-100m-3y",
"packageName": "每月100m3年",
@@ -111,8 +111,8 @@ POST /route/open/simDataUsage
},
"verify": {
"timeStamp": "1784097284347",
"password": "YOUR_APP_SECRET",
"appId": "YOUR_APP_ID",
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
"sign": ""
}
}
@@ -161,8 +161,8 @@ POST /route/open/simDataUsageMonthly
},
"verify": {
"timeStamp": "1784097284347",
"password": "YOUR_APP_SECRET",
"appId": "YOUR_APP_ID",
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
"sign": ""
}
}
@@ -209,8 +209,8 @@ POST /route/open/simStatus
},
"verify": {
"timeStamp": "1784097284347",
"password": "YOUR_APP_SECRET",
"appId": "YOUR_APP_ID",
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
"sign": ""
}
}
@@ -257,8 +257,8 @@ POST /route/open/simSession
},
"verify": {
"timeStamp": "1784097284347",
"password": "YOUR_APP_SECRET",
"appId": "YOUR_APP_ID",
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
"sign": ""
}
}
@@ -334,8 +334,8 @@ POST /route/open/queryCardInfoList
},
"verify": {
"timeStamp": "1784097284347",
"password": "YOUR_APP_SECRET",
"appId": "YOUR_APP_ID",
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
"sign": ""
}
}
+2 -2
View File
@@ -81,8 +81,8 @@ POST https://apiv3.5iot.cn/v5/ec/query/sim-basic-info
```json
{
"transid": "YOUR_TRANSID",
"token": "YOUR_ACCESS_TOKEN",
"transid": "113712264334542026051515200001000",
"token": "c5e1cad63e654237052be9908f989bf3515b3bdaeca904dd2e904061b65e8153",
"iccid": "898608501624D0000009"
}
```
+1 -1
View File
@@ -52,7 +52,7 @@ POST /openapi/v3/query/operator-token
"data": {
"chanAlias": "中国移动物联网",
"chanKey": "channel_010",
"accessToken": "YOUR_ACCESS_TOKEN",
"accessToken": "c5e1cad63e654237052be9908f989bf3515b3bdaeca904dd2e904061b65e8153",
"tokenExpire": "2026-09-09 16:00:00"
},
"error": null
+1 -1
View File
@@ -187,7 +187,7 @@ POST /openapi/v3/change/sim-traffic-cutoff
"data": {
"success": true,
"iccid": "89860401785462635152",
"msisdn": "141****5152",
"msisdn": "14162635152",
"imsi": "460045462635152",
"trafficCutoffStatus": 1,
"trafficCutoffThreshold": 1024,
+1 -1
View File
@@ -92,7 +92,7 @@ X-Access-Token: {accessToken}
"data": {
"iccid": "898604F4152391115474",
"imei": "",
"username": "示例企业",
"username": "山东云则",
"location": "370100000000",
"planCategory": "移动小流量",
"currentPlanName": "每月100m3年",
+2 -2
View File
@@ -24,8 +24,8 @@ POST /openapi/v3/query/token
```json
{
"appKey": "YOUR_APP_ID",
"appSecret": "YOUR_APP_SECRET"
"appKey": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
"appSecret": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc"
}
```