POST api/Sys/CheckVertion?platformId={platformId}

【可用】版本检查

Request Information

URI Parameters

NameDescriptionTypeAdditional information
platformId

平台:0表示Android 1表示iOS

integer

Required

Body Parameters

None.

Response Information

Resource Description

RequestResultOfAppVersion
NameDescriptionTypeAdditional information
ResultCode

integer

None.

Message

string

None.

Data

AppVersion

None.

Response Formats

application/json, text/json

Sample:
{
  "ResultCode": 1,
  "Message": "sample string 2",
  "Data": {
    "Id": 1,
    "Platform": "sample string 2",
    "PlatformId": 3,
    "AppName": "sample string 4",
    "Version": 5,
    "FileName": "sample string 6",
    "FileSize": 7,
    "DownloadPath": "sample string 8",
    "Description": "sample string 9",
    "Md5": "sample string 10",
    "IfOpenUpdate": true,
    "PublishTime": "2020-10-28T13:31:17.6645461+08:00",
    "PersonId": 13
  }
}

text/html

Sample:
{"ResultCode":1,"Message":"sample string 2","Data":{"Id":1,"Platform":"sample string 2","PlatformId":3,"AppName":"sample string 4","Version":5,"FileName":"sample string 6","FileSize":7,"DownloadPath":"sample string 8","Description":"sample string 9","Md5":"sample string 10","IfOpenUpdate":true,"PublishTime":"2020-10-28T13:31:17.6645461+08:00","PersonId":13}}

application/xml, text/xml

Sample:
<RequestResultOfAppVersionuLl3U5VP xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MF.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/MF.Model">
    <d2p1:AppName>sample string 4</d2p1:AppName>
    <d2p1:Description>sample string 9</d2p1:Description>
    <d2p1:DownloadPath>sample string 8</d2p1:DownloadPath>
    <d2p1:FileName>sample string 6</d2p1:FileName>
    <d2p1:FileSize>7</d2p1:FileSize>
    <d2p1:Id>1</d2p1:Id>
    <d2p1:IfOpenUpdate>true</d2p1:IfOpenUpdate>
    <d2p1:Md5>sample string 10</d2p1:Md5>
    <d2p1:PersonId>13</d2p1:PersonId>
    <d2p1:Platform>sample string 2</d2p1:Platform>
    <d2p1:PlatformId>3</d2p1:PlatformId>
    <d2p1:PublishTime>2020-10-28T13:31:17.6645461+08:00</d2p1:PublishTime>
    <d2p1:Version>5</d2p1:Version>
  </Data>
  <Message>sample string 2</Message>
  <ResultCode>1</ResultCode>
</RequestResultOfAppVersionuLl3U5VP>