GET api/app/GetAppCurrentVersion?type={type}&ran={ran}
获取当前APP版本号
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| type |
类型: ADIDAS_IOS_SELF-阿迪达斯ios自有平台 ADIDAS_IOS_SAM-阿迪达斯ios sam ADIDAS_ANDROID_SELF-阿迪达斯安卓 REEBOK_IOS-锐步自有平台 |
string |
Required |
| ran |
随机数 |
integer |
None. |
Body Parameters
None.
Response Information
Resource Description
BasicResultOfVersion| Name | Description | Type | Additional information |
|---|---|---|---|
| code | integer |
None. |
|
| msg | string |
None. |
|
| data | Version |
None. |
Response Formats
application/json, text/json
Sample:
{
"code": 1,
"msg": "sample string 2",
"data": {
"VersionCode": "sample string 1",
"ForceToUpdate": true
}
}
application/xml, text/xml
Sample:
<BasicResultOfVersionibSt4PRI xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models">
<code>1</code>
<data>
<ForceToUpdate>true</ForceToUpdate>
<VersionCode>sample string 1</VersionCode>
</data>
<msg>sample string 2</msg>
</BasicResultOfVersionibSt4PRI>