GET api/General/OfferManage/GetCouponCodeById?recordId={recordId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| recordId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
utblOfferCouponCode| Name | Description | Type | Additional information |
|---|---|---|---|
| RecordID | integer |
None. |
|
| OfferID | integer |
Required |
|
| Code | string |
Required String length: inclusive between 0 and 50 |
|
| CodeTitle | string |
String length: inclusive between 0 and 100 |
|
| CodeDescription | string |
None. |
|
| PerCouponOfferAmount | decimal number |
None. |
|
| CodeBGTheme | string |
String length: inclusive between 0 and 100 |
Response Formats
application/json, text/json
Sample:
{
"RecordID": 1,
"OfferID": 2,
"Code": "sample string 3",
"CodeTitle": "sample string 4",
"CodeDescription": "sample string 5",
"PerCouponOfferAmount": 1.0,
"CodeBGTheme": "sample string 6"
}
application/xml, text/xml
Sample:
<utblOfferCouponCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/General.Operations.Models"> <Code>sample string 3</Code> <CodeBGTheme>sample string 6</CodeBGTheme> <CodeDescription>sample string 5</CodeDescription> <CodeTitle>sample string 4</CodeTitle> <OfferID>2</OfferID> <PerCouponOfferAmount>1</PerCouponOfferAmount> <RecordID>1</RecordID> </utblOfferCouponCode>