PUT api/version/UpdateVersion

Request Information

URI Parameters

None.

Body Parameters

UpdateInfo
NameDescriptionTypeAdditional information
source

string

None.

versionNo

string

None.

type

string

None.

note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "source": "sample string 1",
  "versionNo": "sample string 2",
  "type": "sample string 3",
  "note": "sample string 4"
}

application/xml, text/xml

Sample:
<UpdateInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinUpdateVersionApi.Models">
  <note>sample string 4</note>
  <source>sample string 1</source>
  <type>sample string 3</type>
  <versionNo>sample string 2</versionNo>
</UpdateInfo>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResultModel
NameDescriptionTypeAdditional information
Data

Object

None.

Code

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Data": {},
  "Code": 2,
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ApiResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WinUpdateVersionApi.Models" />