POST api/hoteltest/confirmbooking

Request Information

URI Parameters

None.

Body Parameters

HotelBookingDto
NameDescriptionTypeAdditional information
bookingReference

string

None.

hotelGuid

string

None.

domain

string

None.

bookingTypeId

integer

None.

description

string

None.

haloBooking

boolean

None.

testMode

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "bookingReference": "sample string 1",
  "hotelGuid": "sample string 2",
  "domain": "sample string 3",
  "bookingTypeId": 4,
  "description": "sample string 5",
  "haloBooking": true,
  "testMode": true
}

application/xml, text/xml

Sample:
<HotelBookingDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HaloTracker.Models.DTOs">
  <bookingReference>sample string 1</bookingReference>
  <bookingTypeId>4</bookingTypeId>
  <description>sample string 5</description>
  <domain>sample string 3</domain>
  <haloBooking>true</haloBooking>
  <hotelGuid>sample string 2</hotelGuid>
  <testMode>true</testMode>
</HotelBookingDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.