POST api/voucher/offers/save
Request Information
URI Parameters
None.
Body Parameters
VoucherOfferVM| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| PropertyID | integer |
None. |
|
| Title | string |
None. |
|
| Description | string |
None. |
|
| IsActive | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"PropertyID": 2,
"Title": "sample string 3",
"Description": "sample string 4",
"IsActive": true
}
application/xml, text/xml
Sample:
<VoucherOfferVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BONAPI.API.MobileAPI.ReservationWeb.Models"> <Description>sample string 4</Description> <ID>1</ID> <IsActive>true</IsActive> <PropertyID>2</PropertyID> <Title>sample string 3</Title> </VoucherOfferVM>
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.