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": "dccb06e5-7919-46cc-818d-2bcc8d384243", "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>dccb06e5-7919-46cc-818d-2bcc8d384243</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.