POST api/Purchase/RequestPurchase
درخواست خرید بسته
Request Information
URI Parameters
None.
Body Parameters
مدل درخواست خرید
RequestPurchase| Name | Description | Type | Additional information |
|---|---|---|---|
| PackageId | globally unique identifier |
None. |
|
| NationalCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PackageId": "5f313a0c-f5ea-453d-a35e-18f4b5fb645d",
"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>5f313a0c-f5ea-453d-a35e-18f4b5fb645d</PackageId> </RequestPurchase>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
وضعیت درخواست
OperationResultOfUserPurchase| Name | 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.