POST api/cookiereader/trackbooking

Request Information

URI Parameters

None.

Body Parameters

CustomerBookingDto
NameDescriptionTypeAdditional information
bookingReference

string

None.

hotelIdentifier

string

None.

domain

string

None.

emailAddress

string

None.

bookingTypeId

integer

None.

description

string

None.

customerID

string

None.

registrationDomain

string

None.

Request Formats

application/json, text/json

Sample:
{
  "bookingReference": "sample string 1",
  "hotelIdentifier": "sample string 2",
  "domain": "sample string 3",
  "emailAddress": "sample string 4",
  "bookingTypeId": 5,
  "description": "sample string 6",
  "customerID": "sample string 7",
  "registrationDomain": "sample string 8"
}

application/xml, text/xml

Sample:
<CustomerBookingDto 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>5</bookingTypeId>
  <customerID>sample string 7</customerID>
  <description>sample string 6</description>
  <domain>sample string 3</domain>
  <emailAddress>sample string 4</emailAddress>
  <hotelIdentifier>sample string 2</hotelIdentifier>
  <registrationDomain>sample string 8</registrationDomain>
</CustomerBookingDto>

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.