POST api/AndroidVersion/AddOrUpdateVersion
اضافه کردن یا ویرایش نسخه های اندروید
Request Information
URI Parameters
None.
Body Parameters
مدل ارسالی جهت ویرایش یا اضافه شدن
AndroidUpload| Name | Description | Type | Additional 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": "e2a536ec-1056-491f-836b-9344e70e3c5e",
"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>e2a536ec-1056-491f-836b-9344e70e3c5e</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| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | string |
None. |
|
| Message | string |
None. |
|
| Success | boolean |
None. |
|
| Data | AndroidVersion |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.