POST api/Purchase/RequestPurchase
درخواست خرید بسته
Request Information
URI Parameters
None.
Body Parameters
مدل درخواست خرید
RequestPurchaseName | Description | Type | Additional information |
---|---|---|---|
PackageId | globally unique identifier |
None. |
|
NationalCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "PackageId": "5763ef4e-f9ae-4edf-9c10-e4cd0c046551", "NationalCode": "sample string 2" }
application/xml, text/xml
Sample:
<RequestPurchase xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Arad.Aladiyat.Services.Models.ApiModels"> <NationalCode>sample string 2</NationalCode> <PackageId>5763ef4e-f9ae-4edf-9c10-e4cd0c046551</PackageId> </RequestPurchase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
وضعیت درخواست
OperationResultOfUserPurchaseName | Description | Type | Additional information |
---|---|---|---|
Code | string |
None. |
|
Message | string |
None. |
|
Success | boolean |
None. |
|
Data | UserPurchase |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.