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