GET api/RoomAvailability/GetBookingInfoForEmail?VenueId={VenueId}&BookingId={BookingId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
VenueId

integer

Required

BookingId

integer

Required

Body Parameters

None.

Response Information

Resource Description

GetBookingInfoForEmailResponse
NameDescriptionTypeAdditional information
Result

ApiResult

None.

BookingInfo

BookingInfoEmail

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {
    "resultCode": 1,
    "resultMessage": "sample string 2"
  },
  "bookingInfo": {
    "bookingID": "sample string 1",
    "userName": "sample string 2",
    "venue": "sample string 3",
    "venueID": 4,
    "roomName": "sample string 5",
    "date": "sample string 6",
    "startTime": "sample string 7",
    "endTime": "sample string 8",
    "number": "sample string 9",
    "arrangementType": "sample string 10",
    "montTHB": "sample string 11",
    "userEmail": [
      "sample string 1",
      "sample string 2"
    ],
    "userId": "sample string 12",
    "venueProviderEmails": [
      "sample string 1",
      "sample string 2"
    ],
    "substitutions": {
      "sample string 1": "sample string 2",
      "sample string 3": "sample string 4"
    },
    "confirmStatus": 13
  }
}

text/html

Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"},"bookingInfo":{"bookingID":"sample string 1","userName":"sample string 2","venue":"sample string 3","venueID":4,"roomName":"sample string 5","date":"sample string 6","startTime":"sample string 7","endTime":"sample string 8","number":"sample string 9","arrangementType":"sample string 10","montTHB":"sample string 11","userEmail":["sample string 1","sample string 2"],"userId":"sample string 12","venueProviderEmails":["sample string 1","sample string 2"],"substitutions":{"sample string 1":"sample string 2","sample string 3":"sample string 4"},"confirmStatus":13}}

application/xml, text/xml

Sample:
<RoomAvailabilityController.GetBookingInfoForEmailResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers">
  <BookingInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Common.EmailModels">
    <d2p1:ArrangementType>sample string 10</d2p1:ArrangementType>
    <d2p1:BookingID>sample string 1</d2p1:BookingID>
    <d2p1:ConfirmStatus>13</d2p1:ConfirmStatus>
    <d2p1:Date>sample string 6</d2p1:Date>
    <d2p1:EndTime>sample string 8</d2p1:EndTime>
    <d2p1:MontTHB>sample string 11</d2p1:MontTHB>
    <d2p1:Number>sample string 9</d2p1:Number>
    <d2p1:RoomName>sample string 5</d2p1:RoomName>
    <d2p1:StartTime>sample string 7</d2p1:StartTime>
    <d2p1:Substitutions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 1</d3p1:Key>
        <d3p1:Value>sample string 2</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>sample string 3</d3p1:Key>
        <d3p1:Value>sample string 4</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Substitutions>
    <d2p1:UserEmail xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:UserEmail>
    <d2p1:UserId>sample string 12</d2p1:UserId>
    <d2p1:UserName>sample string 2</d2p1:UserName>
    <d2p1:Venue>sample string 3</d2p1:Venue>
    <d2p1:VenueID>4</d2p1:VenueID>
    <d2p1:VenueProviderEmails xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:VenueProviderEmails>
  </BookingInfo>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
    <d2p1:ResultCode>1</d2p1:ResultCode>
    <d2p1:ResultMessage>sample string 2</d2p1:ResultMessage>
  </Result>
</RoomAvailabilityController.GetBookingInfoForEmailResponse>