POST api/GetVersionMessage

获取公告

Request Information

URI Parameters

None.

Body Parameters

登录参数

VersionMessageParams
NameDescriptionTypeAdditional information
versioncode

string

None.

apptype

integer

None.

userID

用户ID

integer

None.

token

用户token

string

None.

Request Formats

application/json, text/json

Sample:
{
  "versioncode": "sample string 1",
  "apptype": 2,
  "userID": 3,
  "token": "sample string 4"
}

application/xml, text/xml

Sample:
<VersionMessageParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Topwin.Adidas.VM.API.Models">
  <token>sample string 4</token>
  <userID>3</userID>
  <apptype>2</apptype>
  <versioncode>sample string 1</versioncode>
</VersionMessageParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BasicResultOfVersionData
NameDescriptionTypeAdditional information
code

integer

None.

msg

string

None.

data

VersionData

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "msg": "sample string 2",
  "data": {
    "VersionCode": "sample string 1",
    "Message": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<BasicResultOfVersionDataibSt4PRI 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>
    <Message>sample string 2</Message>
    <VersionCode>sample string 1</VersionCode>
  </data>
  <msg>sample string 2</msg>
</BasicResultOfVersionDataibSt4PRI>