POST PillaiAcademy/Checkout
Request Information
URI Parameters
None.
Body Parameters
CheckoutInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| ShopId | integer |
None. |
|
| EmailAddress | string |
None. |
|
| Currency | string |
None. |
|
| ProductId | Collection of integer |
None. |
|
| variationId | Collection of integer |
None. |
|
| subVariationId | Collection of integer |
None. |
|
| qty | Collection of integer |
None. |
|
| PromoCode | string |
None. |
|
| BContactId | integer |
None. |
|
| CContactId | integer |
None. |
|
| ShippingType | string |
None. |
|
| Total | decimal number |
None. |
|
| SubTotal | decimal number |
None. |
|
| PaymentType | string |
None. |
|
| XId | string |
None. |
|
| ShippingCharge | decimal number |
None. |
|
| discountamount | decimal number |
None. |
|
| localeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ShopId": 1,
"EmailAddress": "sample string 2",
"Currency": "sample string 3",
"ProductId": [
1,
2
],
"variationId": [
1,
2
],
"subVariationId": [
1,
2
],
"qty": [
1,
2
],
"PromoCode": "sample string 4",
"BContactId": 1,
"CContactId": 1,
"ShippingType": "sample string 5",
"Total": 6.0,
"SubTotal": 7.0,
"PaymentType": "sample string 8",
"XId": "sample string 9",
"ShippingCharge": 10.0,
"discountamount": 11.0,
"localeId": 12
}
application/xml, text/xml
Sample:
<CheckoutInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL">
<BContactId>1</BContactId>
<CContactId>1</CContactId>
<Currency>sample string 3</Currency>
<EmailAddress>sample string 2</EmailAddress>
<PaymentType>sample string 8</PaymentType>
<ProductId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</ProductId>
<PromoCode>sample string 4</PromoCode>
<ShippingCharge>10</ShippingCharge>
<ShippingType>sample string 5</ShippingType>
<ShopId>1</ShopId>
<SubTotal>7</SubTotal>
<Total>6</Total>
<XId>sample string 9</XId>
<discountamount>11</discountamount>
<localeId>12</localeId>
<qty xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</qty>
<subVariationId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</subVariationId>
<variationId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</variationId>
</CheckoutInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |