DELETE api/CoupanDetails/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
CoupanDetail| Name | Description | Type | Additional information |
|---|---|---|---|
| CoupanDetailId | integer |
None. |
|
| CoupanTitle | string |
None. |
|
| CoupanDescription | string |
None. |
|
| CoupanCode | string |
None. |
|
| DiscountPrice | decimal number |
None. |
|
| MinimumOrder | decimal number |
None. |
|
| NoOfUsePerUser | integer |
None. |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| StatusTypeId | integer |
None. |
|
| CreatedDate | date |
None. |
|
| CreatedBy | integer |
None. |
|
| UpdatedDate | date |
None. |
|
| UpdatedBy | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"CoupanDetailId": 1,
"CoupanTitle": "sample string 2",
"CoupanDescription": "sample string 3",
"CoupanCode": "sample string 4",
"DiscountPrice": 1.1,
"MinimumOrder": 1.1,
"NoOfUsePerUser": 1,
"ValidFrom": "2025-12-06T09:58:12.6173983+05:30",
"ValidTo": "2025-12-06T09:58:12.6173983+05:30",
"StatusTypeId": 1,
"CreatedDate": "2025-12-06T09:58:12.6173983+05:30",
"CreatedBy": 1,
"UpdatedDate": "2025-12-06T09:58:12.6173983+05:30",
"UpdatedBy": 1
}
application/xml, text/xml
Sample:
<CoupanDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GNGroup.Models"> <CoupanCode>sample string 4</CoupanCode> <CoupanDescription>sample string 3</CoupanDescription> <CoupanDetailId>1</CoupanDetailId> <CoupanTitle>sample string 2</CoupanTitle> <CreatedBy>1</CreatedBy> <CreatedDate>2025-12-06T09:58:12.6173983+05:30</CreatedDate> <DiscountPrice>1.1</DiscountPrice> <MinimumOrder>1.1</MinimumOrder> <NoOfUsePerUser>1</NoOfUsePerUser> <StatusTypeId>1</StatusTypeId> <UpdatedBy>1</UpdatedBy> <UpdatedDate>2025-12-06T09:58:12.6173983+05:30</UpdatedDate> <ValidFrom>2025-12-06T09:58:12.6173983+05:30</ValidFrom> <ValidTo>2025-12-06T09:58:12.6173983+05:30</ValidTo> </CoupanDetail>