DELETE api/Coupons/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
CouponName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
NumId | integer |
None. |
|
Name | string |
None. |
|
Amount | string |
None. |
|
Percentage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "NumId": 2, "Name": "sample string 3", "Amount": "sample string 4", "Percentage": "sample string 5" }
application/xml, text/xml
Sample:
<Coupon xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asian_pubishers_API.Models"> <Amount>sample string 4</Amount> <Id>sample string 1</Id> <Name>sample string 3</Name> <NumId>2</NumId> <Percentage>sample string 5</Percentage> </Coupon>