POST http://sdk.ddyun.com/api/CommonSDK/MindChangeDevice
升级/智能换机
Request Information
URI Parameters
None.
Body Parameters
MindChangeDeviceParamName | Description | Type | Additional information |
---|---|---|---|
orderid |
智能换机 订单集合 |
integer |
None. |
upcardtype |
要升级的类型 不传此类型,仅换机 |
integer |
None. |
isdatasave |
是否数据保留 |
boolean |
None. |
openid |
用户OPENID |
string |
None. |
appkey |
商户Key |
string |
None. |
timestamp |
时间戳 |
integer |
None. |
noncestr |
随机字符,使签名不可预测 |
string |
None. |
sign |
签名信息 |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "OrderId": 1, "UpCardType": 2, "IsDataSave": true, "OpenID": "sample string 4", "AppKey": "sample string 5", "Timestamp": 6, "NonceStr": "sample string 7", "Sign": "sample string 8" }
application/x-www-form-urlencoded
Sample:
OrderId=0&UpCardType=0&IsDataSave=False&OpenID=&AppKey=&Timestamp=0&NonceStr=&Sign=
multipart/form-data
Sample:
Sample not available.
Response Information
Resource Description
升级/智能换机
SDKBaseResultOfInt64Name | Description | Type | Additional information |
---|---|---|---|
data | integer |
None. |
|
code |
错误码 |
SDKResultCode |
None. |
msg |
错误消息 |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Data": 1, "Code": 0, "Msg": "sample string 2" }