POST api/CouponCode/GetAvailableCouponList
Request Information
URI Parameters
None.
Body Parameters
GetAvailableCouponModelName | Description | Type | Additional information |
---|---|---|---|
UserID | integer |
None. |
|
ServiceID | integer |
None. |
|
SubModuleID | Collection of integer |
None. |
|
OrderAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{ "UserID": 1, "ServiceID": 1, "SubModuleID": [ 1, 2 ], "OrderAmount": 1.0 }
application/xml, text/xml
Sample:
<GetAvailableCouponModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiNamo.Models"> <OrderAmount>1</OrderAmount> <ServiceID>1</ServiceID> <SubModuleID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </SubModuleID> <UserID>1</UserID> </GetAvailableCouponModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |