POST api/AndroidVersion/AddOrUpdateVersion

اضافه کردن یا ویرایش نسخه های اندروید

Request Information

URI Parameters

None.

Body Parameters

مدل ارسالی جهت ویرایش یا اضافه شدن

AndroidUpload
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Version

integer

None.

IsRequired

boolean

None.

NeedLogout

boolean

None.

FileName

string

None.

Description

string

None.

Message

string

None.

Link

string

None.

DownloadCount

integer

None.

ApkFile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "2393eebf-6198-4ad4-af34-1df62749e681",
  "Version": 2,
  "IsRequired": true,
  "NeedLogout": true,
  "FileName": "sample string 5",
  "Description": "sample string 6",
  "Message": "sample string 7",
  "Link": "sample string 8",
  "DownloadCount": 9,
  "ApkFile": "sample string 10"
}

application/xml, text/xml

Sample:
<AndroidUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arad.Aladiyat.Services.Models.ApiModels">
  <ApkFile>sample string 10</ApkFile>
  <Description>sample string 6</Description>
  <DownloadCount>9</DownloadCount>
  <FileName>sample string 5</FileName>
  <Id>2393eebf-6198-4ad4-af34-1df62749e681</Id>
  <IsRequired>true</IsRequired>
  <Link>sample string 8</Link>
  <Message>sample string 7</Message>
  <NeedLogout>true</NeedLogout>
  <Version>2</Version>
</AndroidUpload>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

نتیجه عملیات به روز رسانی یا ثبت جدید

OperationResultOfAndroidVersion
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Success

boolean

None.

Data

AndroidVersion

None.

Response Formats

application/json, text/json

Sample:

Sample not available.