POST api/saveCouponCampaignD
Request Information
URI Parameters
None.
Body Parameters
saveCouponCampaignDRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| couponId | integer |
None. |
|
| couponCodeList | Collection of couponCampaignDList |
None. |
Request Formats
application/json, text/json
Sample:
{
"couponId": 1,
"couponCodeList": [
{
"couponCode": "sample string 1",
"expireDate": "2026-01-13T18:24:24.227337+07:00"
},
{
"couponCode": "sample string 1",
"expireDate": "2026-01-13T18:24:24.227337+07:00"
}
]
}
application/xml, text/xml
Sample:
<saveCouponCampaignDRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request">
<couponCodeList>
<couponCampaignDList>
<couponCode>sample string 1</couponCode>
<expireDate>2026-01-13T18:24:24.227337+07:00</expireDate>
</couponCampaignDList>
<couponCampaignDList>
<couponCode>sample string 1</couponCode>
<expireDate>2026-01-13T18:24:24.227337+07:00</expireDate>
</couponCampaignDList>
</couponCodeList>
<couponId>1</couponId>
</saveCouponCampaignDRequest>
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.