POST api/vlp/gift/redemption
Request Information
URI Parameters
None.
Body Parameters
GiftRedemptionsRedeemDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| bookingid | integer |
None. |
|
| bookingref | string |
None. |
|
| description | string |
None. |
|
| giftcodes | Collection of GiftRedemptionCodesDTO |
None. |
Request Formats
application/json, text/json
Sample:
{
"bookingid": 1,
"bookingref": "sample string 2",
"description": "sample string 3",
"giftcodes": [
{
"points": 1.0,
"code": "sample string 1",
"qty": 2
},
{
"points": 1.0,
"code": "sample string 1",
"qty": 2
}
]
}
application/xml, text/xml
Sample:
<GiftRedemptionsRedeemDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models.DTO">
<bookingid>1</bookingid>
<bookingref>sample string 2</bookingref>
<description>sample string 3</description>
<giftcodes>
<GiftRedemptionCodesDTO>
<code>sample string 1</code>
<points>1</points>
<qty>2</qty>
</GiftRedemptionCodesDTO>
<GiftRedemptionCodesDTO>
<code>sample string 1</code>
<points>1</points>
<qty>2</qty>
</GiftRedemptionCodesDTO>
</giftcodes>
</GiftRedemptionsRedeemDTO>
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.