POST api/saveRedeemByPromotion
Request Information
URI Parameters
None.
Body Parameters
BurnPointReq| Name | Description | Type | Additional information |
|---|---|---|---|
| crmCode | string |
None. |
|
| redeemStatus | string |
None. |
|
| refOrderId | string |
None. |
|
| redeemDate | date |
None. |
|
| promotionList | Collection of PromotionReq |
Required |
Request Formats
application/json, text/json
Sample:
{
"crmCode": "sample string 1",
"redeemStatus": "sample string 2",
"refOrderId": "sample string 3",
"redeemDate": "2026-01-13T18:21:42.587005+07:00",
"promotionList": [
{
"promotionCode": "sample string 1",
"qty": 2
},
{
"promotionCode": "sample string 1",
"qty": 2
}
]
}
application/xml, text/xml
Sample:
<BurnPointReq xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VentilatorAPI.HTTP.Request">
<crmCode>sample string 1</crmCode>
<promotionList>
<PromotionReq>
<promotionCode>sample string 1</promotionCode>
<qty>2</qty>
</PromotionReq>
<PromotionReq>
<promotionCode>sample string 1</promotionCode>
<qty>2</qty>
</PromotionReq>
</promotionList>
<redeemDate>2026-01-13T18:21:42.587005+07:00</redeemDate>
<redeemStatus>sample string 2</redeemStatus>
<refOrderId>sample string 3</refOrderId>
</BurnPointReq>
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.