POST http://sdk.ddyun.com/api/RenewOrder
续费设备订单
Request Information
URI Parameters
None.
Body Parameters
RenewOrderParam| Name | Description | Type | Additional information |
|---|---|---|---|
| openid |
用户OPENID |
string |
None. |
| orderid |
设备订单号 |
integer |
None. |
| buyday |
订单购买天数 RenewOrderHour 时,代表小时数 |
integer |
None. |
| appkey |
商户Key |
string |
None. |
| timestamp |
时间戳 |
integer |
None. |
| noncestr |
随机字符,使签名不可预测 |
string |
None. |
| sign |
签名信息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"OpenID": "sample string 1",
"OrderId": 2,
"BuyDay": 3,
"AppKey": "sample string 4",
"Timestamp": 5,
"NonceStr": "sample string 6",
"Sign": "sample string 7"
}
application/x-www-form-urlencoded
Sample:
OpenID=&OrderId=0&BuyDay=0&AppKey=&Timestamp=0&NonceStr=&Sign=
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
续费设备订单
SDKBaseResultOfDeviceOrderInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| data | DeviceOrderInfo |
None. |
|
| code |
错误码 |
SDKResultCode |
None. |
| msg |
错误消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Data": {
"OrderId": 1,
"ExpireTime": "2026-04-03T19:43:34.4104487+08:00",
"SaveDataHour": 3
},
"Code": 0,
"Msg": "sample string 1"
}