POST CheckCouponValidity
Request Information
URI Parameters
None.
Body Parameters
Coupon| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Cust_ID | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| Amount | decimal number |
None. |
|
| Percentage | decimal number |
None. |
|
| DiscountType | string |
None. |
|
| StatusCode | integer |
None. |
|
| Status | string |
None. |
|
| Total | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Cust_ID": 2,
"Code": "sample string 3",
"Name": "sample string 4",
"Description": "sample string 5",
"Amount": 6.1,
"Percentage": 7.1,
"DiscountType": "sample string 8",
"StatusCode": 9,
"Status": "sample string 10",
"Total": 11.1
}
application/xml, text/xml
Sample:
<ClsMaster.Coupon xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SafeBazar_CustomerAPI.Models"> <Amount>6.1</Amount> <Code>sample string 3</Code> <Cust_ID>2</Cust_ID> <Description>sample string 5</Description> <DiscountType>sample string 8</DiscountType> <ID>1</ID> <Name>sample string 4</Name> <Percentage>7.1</Percentage> <Status>sample string 10</Status> <StatusCode>9</StatusCode> <Total>11.1</Total> </ClsMaster.Coupon>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.