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": "4ac36bf4-7c5b-4ca2-a5a4-68cd7dcb69ef", "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>4ac36bf4-7c5b-4ca2-a5a4-68cd7dcb69ef</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.