POST api/Purchase/RequestPurchase

درخواست خرید بسته

Request Information

URI Parameters

None.

Body Parameters

مدل درخواست خرید

RequestPurchase
NameDescriptionTypeAdditional information
PackageId

globally unique identifier

None.

NationalCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PackageId": "6c3f4b36-8297-423c-8dfd-7d0cf03bdf65",
  "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>6c3f4b36-8297-423c-8dfd-7d0cf03bdf65</PackageId>
</RequestPurchase>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

وضعیت درخواست

OperationResultOfUserPurchase
NameDescriptionTypeAdditional information
Code

string

None.

Message

string

None.

Success

boolean

None.

Data

UserPurchase

None.

Response Formats

application/json, text/json

Sample:

Sample not available.