PUT api/bookings/contactInformation

Sets booking contact information.

Request Information

URI Parameters

None.

Body Parameters

A BookingContactInformationViewModel object.

Cyberlogic.eTourism.Domain.ViewModels.Bookings.BookingContactInformationViewModel
NameDescriptionTypeAdditional information
BookingId

integer

None.

Name

string

None.

Email

string

None.

Phone

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BookingId": 1,
  "Name": "sample string 2",
  "Email": "sample string 3",
  "Phone": "sample string 4"
}

text/html

Sample:
{"BookingId":1,"Name":"sample string 2","Email":"sample string 3","Phone":"sample string 4"}

application/xml, text/xml

Sample:
<BookingContactInformationViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cyberlogic.eTourism.Domain.ViewModels.Bookings">
  <BookingId>1</BookingId>
  <Email>sample string 3</Email>
  <Name>sample string 2</Name>
  <Phone>sample string 4</Phone>
</BookingContactInformationViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

A success or an error message.

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.