sync: 同步文档 v1.0.4 并脱敏
This commit is contained in:
@@ -8,18 +8,18 @@ outline: deep
|
||||
|
||||
本文档收录历史 `/route/open/*` 路径下仍在维护的兼容接口。鉴权通过请求体 `verify` 中的 `appId`、`password` 和 `timeStamp` 完成;`sign` 为历史兼容字段,当前服务不校验。
|
||||
|
||||
这些接口由 iotLCM OpenAPI 服务实现并提供,与 V3 接口同域(`apiv3.5iot.cn`),仅请求路径与鉴权方式不同。
|
||||
这些接口由 iotLCM OpenAPI 服务实现并提供,与 V3 接口同域(`api.example.com`),仅请求路径与鉴权方式不同。
|
||||
|
||||
## 服务地址
|
||||
|
||||
```text
|
||||
https://apiv3.5iot.cn
|
||||
https://api.example.com
|
||||
```
|
||||
|
||||
完整请求 URL:
|
||||
|
||||
```text
|
||||
https://apiv3.5iot.cn/route/open/{接口名}
|
||||
https://api.example.com/route/open/{接口名}
|
||||
```
|
||||
|
||||
## 统一鉴权
|
||||
@@ -82,7 +82,7 @@ appId={appId}&password={password}&timeStamp={timeStamp}&key={accessKey}
|
||||
|
||||
```java
|
||||
// 服务器请求地址
|
||||
protected static String server_Ip = "https://apiv3.5iot.cn/route/open";
|
||||
protected static String server_Ip = "https://api.example.com/route/open";
|
||||
// appId
|
||||
public static String appId = null;
|
||||
// 密钥密码
|
||||
@@ -121,7 +121,7 @@ public static void main(String[] args) {
|
||||
verify.put("sign", getSign(verify, accessKey));
|
||||
|
||||
parmap.put("type", "iccid");
|
||||
parmap.put("cardno", "89860423123123132135");
|
||||
parmap.put("cardno", "89860400000000002135");
|
||||
|
||||
map.put("verify", verify);
|
||||
map.put("Param", parmap);
|
||||
|
||||
@@ -27,12 +27,12 @@ POST /route/open/cardInfo
|
||||
{
|
||||
"Param": {
|
||||
"type": "iccid",
|
||||
"cardno": "898604F4152391115474"
|
||||
"cardno": "89860400000000005474"
|
||||
},
|
||||
"verify": {
|
||||
"timeStamp": "1784097284347",
|
||||
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
|
||||
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
|
||||
"password": "example-password",
|
||||
"appId": "example-app-id",
|
||||
"sign": ""
|
||||
}
|
||||
}
|
||||
@@ -70,10 +70,10 @@ POST /route/open/cardInfo
|
||||
"result": {
|
||||
"vid": "3933",
|
||||
"msisdn": "1441543605474",
|
||||
"iccid": "898604F4152391115474",
|
||||
"iccid": "89860400000000005474",
|
||||
"imsi": "460087436015474",
|
||||
"imei": "",
|
||||
"deptName": "山东云则",
|
||||
"deptName": "示例企业",
|
||||
"statusId": 4,
|
||||
"packageId": "yd-100m-3y",
|
||||
"packageName": "每月100m3年",
|
||||
@@ -107,12 +107,12 @@ POST /route/open/simDataUsage
|
||||
```json
|
||||
{
|
||||
"Param": {
|
||||
"iccid": "898604F4152391115474"
|
||||
"iccid": "89860400000000005474"
|
||||
},
|
||||
"verify": {
|
||||
"timeStamp": "1784097284347",
|
||||
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
|
||||
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
|
||||
"password": "example-password",
|
||||
"appId": "example-app-id",
|
||||
"sign": ""
|
||||
}
|
||||
}
|
||||
@@ -156,13 +156,13 @@ POST /route/open/simDataUsageMonthly
|
||||
```json
|
||||
{
|
||||
"Param": {
|
||||
"iccid": "898604F4152391115474",
|
||||
"iccid": "89860400000000005474",
|
||||
"dateTime": "202509"
|
||||
},
|
||||
"verify": {
|
||||
"timeStamp": "1784097284347",
|
||||
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
|
||||
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
|
||||
"password": "example-password",
|
||||
"appId": "example-app-id",
|
||||
"sign": ""
|
||||
}
|
||||
}
|
||||
@@ -205,12 +205,12 @@ POST /route/open/simStatus
|
||||
```json
|
||||
{
|
||||
"Param": {
|
||||
"iccid": "898604F4152391115474"
|
||||
"iccid": "89860400000000005474"
|
||||
},
|
||||
"verify": {
|
||||
"timeStamp": "1784097284347",
|
||||
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
|
||||
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
|
||||
"password": "example-password",
|
||||
"appId": "example-app-id",
|
||||
"sign": ""
|
||||
}
|
||||
}
|
||||
@@ -253,12 +253,12 @@ POST /route/open/simSession
|
||||
```json
|
||||
{
|
||||
"Param": {
|
||||
"iccid": "898604F4152391115474"
|
||||
"iccid": "89860400000000005474"
|
||||
},
|
||||
"verify": {
|
||||
"timeStamp": "1784097284347",
|
||||
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
|
||||
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
|
||||
"password": "example-password",
|
||||
"appId": "example-app-id",
|
||||
"sign": ""
|
||||
}
|
||||
}
|
||||
@@ -328,14 +328,14 @@ POST /route/open/queryCardInfoList
|
||||
{
|
||||
"Param": {
|
||||
"iccid": [
|
||||
"898604F4152391115473",
|
||||
"898604F4152391115474"
|
||||
"89860400000000005473",
|
||||
"89860400000000005474"
|
||||
]
|
||||
},
|
||||
"verify": {
|
||||
"timeStamp": "1784097284347",
|
||||
"password": "588035550bd35c0001fbcda2c4d812ebdebae9763127943f097758e029a0fdbc",
|
||||
"appId": "b96b84a4d70740c1bfe569a11ca62e219affe3a6",
|
||||
"password": "example-password",
|
||||
"appId": "example-app-id",
|
||||
"sign": ""
|
||||
}
|
||||
}
|
||||
@@ -363,7 +363,7 @@ POST /route/open/queryCardInfoList
|
||||
"message": "",
|
||||
"result": [
|
||||
{
|
||||
"iccid": "898604F4152391115473",
|
||||
"iccid": "89860400000000005473",
|
||||
"activateDate": "2023-05-11",
|
||||
"dueExpireTime": "",
|
||||
"imei": "",
|
||||
@@ -374,7 +374,7 @@ POST /route/open/queryCardInfoList
|
||||
"status": 4
|
||||
},
|
||||
{
|
||||
"iccid": "898604F4152391115474",
|
||||
"iccid": "89860400000000005474",
|
||||
"activateDate": "2026-06-01",
|
||||
"dueExpireTime": "2029-01-31 23:59:59",
|
||||
"imei": "",
|
||||
|
||||
Reference in New Issue
Block a user