POST api/Upgrade/CommonUpgrade

升级检查

Request Information

URI Parameters

None.

Body Parameters

CommonUpgradeReq
NameDescriptionTypeAdditional information
InnerVersion

内部版本,比如110

integer

None.

ProductId

产品编号

integer

None.

Token

令牌,唯一标识,主要用来验权

string

None.

ChannalId

渠道号

string

None.

Version

外部版本

string

None.

language

语言

string

None.

Request Formats

application/json, text/json

Sample:
{
  "InnerVersion": 1,
  "ProductId": 2,
  "Token": "sample string 3",
  "ChannalId": "sample string 4",
  "Version": "sample string 5",
  "language": "sample string 6"
}

application/xml, text/xml

Sample:
<CommonUpgradeReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <ChannalId>sample string 4</ChannalId>
  <ProductId>2</ProductId>
  <Token>sample string 3</Token>
  <Version>sample string 5</Version>
  <language>sample string 6</language>
  <InnerVersion>1</InnerVersion>
</CommonUpgradeReq>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CommonUpgradeRes
NameDescriptionTypeAdditional information
Version

版本

string

None.

InnerVersion

内部版本号

integer

None.

UpdateTime

更新日期

string

None.

UpdateContent

更新内容

string

None.

Url

下载地址

string

None.

Message

消息

string

None.

Status

状态,默认情况下,1为成功。0为失败。99为权限验证失败。

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Version": "sample string 1",
  "InnerVersion": 2,
  "UpdateTime": "sample string 3",
  "UpdateContent": "sample string 4",
  "Url": "sample string 5",
  "Message": "sample string 6",
  "Status": 7
}

application/xml, text/xml

Sample:
<CommonUpgradeRes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAppCommonV2.Models">
  <Message>sample string 6</Message>
  <Status>7</Status>
  <InnerVersion>2</InnerVersion>
  <UpdateContent>sample string 4</UpdateContent>
  <UpdateTime>sample string 3</UpdateTime>
  <Url>sample string 5</Url>
  <Version>sample string 1</Version>
</CommonUpgradeRes>