POST Product/GetCouponDiscountDetailsInstant
Request Information
URI Parameters
None.
Body Parameters
PromoDetailsInstant| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
None. |
|
| promotionCode | string |
None. |
|
| shopName | string |
None. |
|
| currencyCode | string |
None. |
|
| ProductId | integer |
None. |
|
| subTotal | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerId": 1,
"promotionCode": "sample string 2",
"shopName": "sample string 3",
"currencyCode": "sample string 4",
"ProductId": 5,
"subTotal": 6.0
}
application/xml, text/xml
Sample:
<PromoDetailsInstant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AstroVed.Api.DAL"> <ProductId>5</ProductId> <currencyCode>sample string 4</currencyCode> <customerId>1</customerId> <promotionCode>sample string 2</promotionCode> <shopName>sample string 3</shopName> <subTotal>6</subTotal> </PromoDetailsInstant>
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. |