POST Product/GetCouponDiscountDetailsInstant

Request Information

URI Parameters

None.

Body Parameters

PromoDetailsInstant
NameDescriptionTypeAdditional 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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'PromoDetailsInstant'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.