POST api/AndroidVersion/AddOrUpdateVersion
اضافه کردن یا ویرایش نسخه های اندروید
Request Information
URI Parameters
None.
Body Parameters
مدل ارسالی جهت ویرایش یا اضافه شدن
AndroidUploadName | 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": "496b9f5e-1bd5-45a9-ad8e-56219f6179b6", "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>496b9f5e-1bd5-45a9-ad8e-56219f6179b6</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
نتیجه عملیات به روز رسانی یا ثبت جدید
OperationResultOfAndroidVersionName | 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.