POST api/Booking/MakeBooking

Request Information

URI Parameters

None.

Body Parameters

BookingRequest
NameDescriptionTypeAdditional information
Agent

Agent

None.

BookingStage

BookingStage

None.

IncludeEnvironmentContribution

boolean

None.

EnvironmentContributionAmount

decimal number

None.

ErrorMessage

string

None.

PaymentDetails

PaymentDetails

None.

RoomStays

Collection of RoomStay

None.

WebReferenceNumber

string

None.

Pos

string

None.

UserAgentString

string

None.

Referer

string

None.

PromoCode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Agent": {
    "Address1": "sample string 1",
    "City": "sample string 2",
    "Company": "sample string 3",
    "CompanyType": "sample string 4",
    "Country": "sample string 5",
    "Email": "sample string 6",
    "FirstName": "sample string 7",
    "GuestCentrixCode": "sample string 8",
    "GuestCentrixId": "sample string 9",
    "LastName": "sample string 10",
    "PhoneNumber": "sample string 11",
    "Commission": "sample string 12"
  },
  "BookingStage": "BookingInitialized",
  "IncludeEnvironmentContribution": true,
  "EnvironmentContributionAmount": 2.0,
  "ErrorMessage": "sample string 3",
  "PaymentDetails": {
    "PaymentResponse": {
      "SuccessfulPayment": true,
      "ResponseMessage": "sample string 2"
    },
    "PaymentAmount": 1.0,
    "PaymentResult": "sample string 2",
    "ApprovalCode": "sample string 3"
  },
  "RoomStays": [
    {
      "RoomID": 1,
      "RoomTypes": [
        {
          "RoomTypeCode": 1,
          "IsSharedRoom": true,
          "RoomTypeDescription": "sample string 3",
          "RoomIdentifierCode": "sample string 4",
          "DetailDescription": "sample string 5",
          "MaxOccupancy": 6
        },
        {
          "RoomTypeCode": 1,
          "IsSharedRoom": true,
          "RoomTypeDescription": "sample string 3",
          "RoomIdentifierCode": "sample string 4",
          "DetailDescription": "sample string 5",
          "MaxOccupancy": 6
        }
      ],
      "RatePlans": [
        {
          "RatePlanId": 1,
          "RatePlanCode": "sample string 2"
        },
        {
          "RatePlanId": 1,
          "RatePlanCode": "sample string 2"
        }
      ],
      "RoomRates": [
        {
          "RoomTypeCode": 1,
          "RoomIdentifierCode": "sample string 2",
          "NumberOfUnits": 3,
          "RatePlanCode": "sample string 4",
          "RatePlanId": 5,
          "AvailabilityStatus": "ChangeDuringStay",
          "Rates": [
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            },
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            }
          ],
          "RoomRateBeforeTax": 6.0,
          "RoomRateAfterTax": 7.0,
          "RoomRateTax": 8.0,
          "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
          "IsSharedRoom": true
        },
        {
          "RoomTypeCode": 1,
          "RoomIdentifierCode": "sample string 2",
          "NumberOfUnits": 3,
          "RatePlanCode": "sample string 4",
          "RatePlanId": 5,
          "AvailabilityStatus": "ChangeDuringStay",
          "Rates": [
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            },
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            }
          ],
          "RoomRateBeforeTax": 6.0,
          "RoomRateAfterTax": 7.0,
          "RoomRateTax": 8.0,
          "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
          "IsSharedRoom": true
        }
      ],
      "DateRangeOfStay": {
        "Start": "2018-12-23T12:53:48.9973291+13:00",
        "End": "2018-12-23T12:53:48.9973291+13:00"
      },
      "Guests": [
        {
          "Id": 1,
          "PrimaryGuest": true,
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
          "PhoneNumber": "sample string 6",
          "Gender": "Unspecified",
          "Email": "sample string 7",
          "Age": "Over17",
          "AgeGroup": "Child",
          "Address": {
            "Type": "sample string 1",
            "Address1": "sample string 2",
            "Address2": "sample string 3",
            "Address3": "sample string 4",
            "Suburb": "sample string 5",
            "PostCode": "sample string 6",
            "State": "sample string 7",
            "City": "sample string 8",
            "CountryName": "sample string 9",
            "CountryId": 10,
            "CountryTwoAlpha": "sample string 11"
          },
          "ArrivalTime": "sample string 8",
          "MemberId": "sample string 9",
          "GuestID": "sample string 10"
        },
        {
          "Id": 1,
          "PrimaryGuest": true,
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
          "PhoneNumber": "sample string 6",
          "Gender": "Unspecified",
          "Email": "sample string 7",
          "Age": "Over17",
          "AgeGroup": "Child",
          "Address": {
            "Type": "sample string 1",
            "Address1": "sample string 2",
            "Address2": "sample string 3",
            "Address3": "sample string 4",
            "Suburb": "sample string 5",
            "PostCode": "sample string 6",
            "State": "sample string 7",
            "City": "sample string 8",
            "CountryName": "sample string 9",
            "CountryId": 10,
            "CountryTwoAlpha": "sample string 11"
          },
          "ArrivalTime": "sample string 8",
          "MemberId": "sample string 9",
          "GuestID": "sample string 10"
        }
      ],
      "BasicPropertyInfo": {
        "HostelCode": "sample string 1",
        "HostelName": "sample string 2"
      },
      "Comments": [
        {
          "Text": "sample string 1",
          "GuestViewable": true
        },
        {
          "Text": "sample string 1",
          "GuestViewable": true
        }
      ],
      "BookingChannelComments": [
        {
          "Text": "sample string 1",
          "GuestViewable": true
        },
        {
          "Text": "sample string 1",
          "GuestViewable": true
        }
      ],
      "TotalAmount": 2.0,
      "TotalAmountIncludingTax": 3.0,
      "TotalTax": 4.0,
      "TotalPaid": 5.0,
      "BalanceDue": 6.0,
      "Folio": "sample string 7",
      "Status": "sample string 8",
      "Membership": [
        {
          "MembershipType": "sample string 1",
          "MemberDetails": [
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            },
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            }
          ],
          "MembershipCost": 2.0,
          "_membershipTypeDisplayText": "sample string 3",
          "_guestId": "sample string 4",
          "ErrorMessages": [
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            },
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            }
          ]
        },
        {
          "MembershipType": "sample string 1",
          "MemberDetails": [
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            },
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            }
          ],
          "MembershipCost": 2.0,
          "_membershipTypeDisplayText": "sample string 3",
          "_guestId": "sample string 4",
          "ErrorMessages": [
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            },
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            }
          ]
        }
      ]
    },
    {
      "RoomID": 1,
      "RoomTypes": [
        {
          "RoomTypeCode": 1,
          "IsSharedRoom": true,
          "RoomTypeDescription": "sample string 3",
          "RoomIdentifierCode": "sample string 4",
          "DetailDescription": "sample string 5",
          "MaxOccupancy": 6
        },
        {
          "RoomTypeCode": 1,
          "IsSharedRoom": true,
          "RoomTypeDescription": "sample string 3",
          "RoomIdentifierCode": "sample string 4",
          "DetailDescription": "sample string 5",
          "MaxOccupancy": 6
        }
      ],
      "RatePlans": [
        {
          "RatePlanId": 1,
          "RatePlanCode": "sample string 2"
        },
        {
          "RatePlanId": 1,
          "RatePlanCode": "sample string 2"
        }
      ],
      "RoomRates": [
        {
          "RoomTypeCode": 1,
          "RoomIdentifierCode": "sample string 2",
          "NumberOfUnits": 3,
          "RatePlanCode": "sample string 4",
          "RatePlanId": 5,
          "AvailabilityStatus": "ChangeDuringStay",
          "Rates": [
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            },
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            }
          ],
          "RoomRateBeforeTax": 6.0,
          "RoomRateAfterTax": 7.0,
          "RoomRateTax": 8.0,
          "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
          "IsSharedRoom": true
        },
        {
          "RoomTypeCode": 1,
          "RoomIdentifierCode": "sample string 2",
          "NumberOfUnits": 3,
          "RatePlanCode": "sample string 4",
          "RatePlanId": 5,
          "AvailabilityStatus": "ChangeDuringStay",
          "Rates": [
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            },
            {
              "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
              "MinLengthOfStay": 2,
              "MaxLengthOfStay": 3,
              "AmountBeforeTax": 4.0,
              "AmountAfterTax": 5.0,
              "Tax": 6.0,
              "IsMemberRate": true,
              "IsRefundable": true,
              "AdditionalCharges": [
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                },
                {
                  "Code": "sample string 1",
                  "Cost": 2.0,
                  "Quantity": 3
                }
              ]
            }
          ],
          "RoomRateBeforeTax": 6.0,
          "RoomRateAfterTax": 7.0,
          "RoomRateTax": 8.0,
          "EffectiveDate": "2018-12-23T12:53:48.9973291+13:00",
          "IsSharedRoom": true
        }
      ],
      "DateRangeOfStay": {
        "Start": "2018-12-23T12:53:48.9973291+13:00",
        "End": "2018-12-23T12:53:48.9973291+13:00"
      },
      "Guests": [
        {
          "Id": 1,
          "PrimaryGuest": true,
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
          "PhoneNumber": "sample string 6",
          "Gender": "Unspecified",
          "Email": "sample string 7",
          "Age": "Over17",
          "AgeGroup": "Child",
          "Address": {
            "Type": "sample string 1",
            "Address1": "sample string 2",
            "Address2": "sample string 3",
            "Address3": "sample string 4",
            "Suburb": "sample string 5",
            "PostCode": "sample string 6",
            "State": "sample string 7",
            "City": "sample string 8",
            "CountryName": "sample string 9",
            "CountryId": 10,
            "CountryTwoAlpha": "sample string 11"
          },
          "ArrivalTime": "sample string 8",
          "MemberId": "sample string 9",
          "GuestID": "sample string 10"
        },
        {
          "Id": 1,
          "PrimaryGuest": true,
          "FirstName": "sample string 3",
          "LastName": "sample string 4",
          "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
          "PhoneNumber": "sample string 6",
          "Gender": "Unspecified",
          "Email": "sample string 7",
          "Age": "Over17",
          "AgeGroup": "Child",
          "Address": {
            "Type": "sample string 1",
            "Address1": "sample string 2",
            "Address2": "sample string 3",
            "Address3": "sample string 4",
            "Suburb": "sample string 5",
            "PostCode": "sample string 6",
            "State": "sample string 7",
            "City": "sample string 8",
            "CountryName": "sample string 9",
            "CountryId": 10,
            "CountryTwoAlpha": "sample string 11"
          },
          "ArrivalTime": "sample string 8",
          "MemberId": "sample string 9",
          "GuestID": "sample string 10"
        }
      ],
      "BasicPropertyInfo": {
        "HostelCode": "sample string 1",
        "HostelName": "sample string 2"
      },
      "Comments": [
        {
          "Text": "sample string 1",
          "GuestViewable": true
        },
        {
          "Text": "sample string 1",
          "GuestViewable": true
        }
      ],
      "BookingChannelComments": [
        {
          "Text": "sample string 1",
          "GuestViewable": true
        },
        {
          "Text": "sample string 1",
          "GuestViewable": true
        }
      ],
      "TotalAmount": 2.0,
      "TotalAmountIncludingTax": 3.0,
      "TotalTax": 4.0,
      "TotalPaid": 5.0,
      "BalanceDue": 6.0,
      "Folio": "sample string 7",
      "Status": "sample string 8",
      "Membership": [
        {
          "MembershipType": "sample string 1",
          "MemberDetails": [
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            },
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            }
          ],
          "MembershipCost": 2.0,
          "_membershipTypeDisplayText": "sample string 3",
          "_guestId": "sample string 4",
          "ErrorMessages": [
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            },
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            }
          ]
        },
        {
          "MembershipType": "sample string 1",
          "MemberDetails": [
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            },
            {
              "FirstName": "sample string 1",
              "LastName": "sample string 2",
              "Gender": 0,
              "AgeGroup": 0,
              "BirthDate": "2018-12-23T12:53:48.9973291+13:00",
              "PhoneNumber": "sample string 4",
              "Email": "sample string 5",
              "NzCitizenResident": true,
              "Address": {
                "Type": "sample string 1",
                "Address1": "sample string 2",
                "Address2": "sample string 3",
                "Address3": "sample string 4",
                "Suburb": "sample string 5",
                "PostCode": "sample string 6",
                "State": "sample string 7",
                "City": "sample string 8",
                "CountryName": "sample string 9",
                "CountryId": 10,
                "CountryTwoAlpha": "sample string 11"
              }
            }
          ],
          "MembershipCost": 2.0,
          "_membershipTypeDisplayText": "sample string 3",
          "_guestId": "sample string 4",
          "ErrorMessages": [
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            },
            {
              "ErrorText": "sample string 1",
              "DisplayToClient": true,
              "ErrorNumber": 3
            }
          ]
        }
      ]
    }
  ],
  "WebReferenceNumber": "sample string 4",
  "Pos": "sample string 5",
  "UserAgentString": "sample string 6",
  "Referer": "sample string 7",
  "PromoCode": "sample string 8"
}

application/xml, text/xml

Sample:
<BookingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookingEngine.Model.GuestCentrix">
  <Agent xmlns:d2p1="http://schemas.datacontract.org/2004/07/BookingEngine.Model.Core">
    <d2p1:Address1>sample string 1</d2p1:Address1>
    <d2p1:City>sample string 2</d2p1:City>
    <d2p1:Commission>sample string 12</d2p1:Commission>
    <d2p1:Company>sample string 3</d2p1:Company>
    <d2p1:CompanyType>sample string 4</d2p1:CompanyType>
    <d2p1:Country>sample string 5</d2p1:Country>
    <d2p1:Email>sample string 6</d2p1:Email>
    <d2p1:FirstName>sample string 7</d2p1:FirstName>
    <d2p1:GuestCentrixCode>sample string 8</d2p1:GuestCentrixCode>
    <d2p1:GuestCentrixId>sample string 9</d2p1:GuestCentrixId>
    <d2p1:LastName>sample string 10</d2p1:LastName>
    <d2p1:PhoneNumber>sample string 11</d2p1:PhoneNumber>
  </Agent>
  <BookingStage>BookingInitialized</BookingStage>
  <EnvironmentContributionAmount>2</EnvironmentContributionAmount>
  <ErrorMessage>sample string 3</ErrorMessage>
  <IncludeEnvironmentContribution>true</IncludeEnvironmentContribution>
  <PaymentDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/BookingEngine.Model.Payment">
    <d2p1:ApprovalCode>sample string 3</d2p1:ApprovalCode>
    <d2p1:PaymentAmount>1</d2p1:PaymentAmount>
    <d2p1:PaymentResponse>
      <d2p1:ResponseMessage>sample string 2</d2p1:ResponseMessage>
      <d2p1:SuccessfulPayment>true</d2p1:SuccessfulPayment>
    </d2p1:PaymentResponse>
    <d2p1:PaymentResult>sample string 2</d2p1:PaymentResult>
  </PaymentDetails>
  <Pos>sample string 5</Pos>
  <PromoCode>sample string 8</PromoCode>
  <Referer>sample string 7</Referer>
  <RoomStays>
    <RoomStay>
      <BalanceDue>6</BalanceDue>
      <BasicPropertyInfo>
        <HostelCode>sample string 1</HostelCode>
        <HostelName>sample string 2</HostelName>
      </BasicPropertyInfo>
      <BookingChannelComments>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
      </BookingChannelComments>
      <Comments>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
      </Comments>
      <DateRangeOfStay>
        <End>2018-12-23T12:53:48.9973291+13:00</End>
        <Start>2018-12-23T12:53:48.9973291+13:00</Start>
      </DateRangeOfStay>
      <Folio>sample string 7</Folio>
      <Guests>
        <Guest>
          <Address>
            <Address1>sample string 2</Address1>
            <Address2>sample string 3</Address2>
            <Address3>sample string 4</Address3>
            <City>sample string 8</City>
            <CountryId>10</CountryId>
            <CountryName>sample string 9</CountryName>
            <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
            <PostCode>sample string 6</PostCode>
            <State>sample string 7</State>
            <Suburb>sample string 5</Suburb>
            <Type>sample string 1</Type>
          </Address>
          <Age>Over17</Age>
          <AgeGroup>Child</AgeGroup>
          <ArrivalTime>sample string 8</ArrivalTime>
          <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
          <Email>sample string 7</Email>
          <FirstName>sample string 3</FirstName>
          <Gender>Unspecified</Gender>
          <GuestID>sample string 10</GuestID>
          <Id>1</Id>
          <LastName>sample string 4</LastName>
          <MemberId>sample string 9</MemberId>
          <PhoneNumber>sample string 6</PhoneNumber>
          <PrimaryGuest>true</PrimaryGuest>
        </Guest>
        <Guest>
          <Address>
            <Address1>sample string 2</Address1>
            <Address2>sample string 3</Address2>
            <Address3>sample string 4</Address3>
            <City>sample string 8</City>
            <CountryId>10</CountryId>
            <CountryName>sample string 9</CountryName>
            <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
            <PostCode>sample string 6</PostCode>
            <State>sample string 7</State>
            <Suburb>sample string 5</Suburb>
            <Type>sample string 1</Type>
          </Address>
          <Age>Over17</Age>
          <AgeGroup>Child</AgeGroup>
          <ArrivalTime>sample string 8</ArrivalTime>
          <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
          <Email>sample string 7</Email>
          <FirstName>sample string 3</FirstName>
          <Gender>Unspecified</Gender>
          <GuestID>sample string 10</GuestID>
          <Id>1</Id>
          <LastName>sample string 4</LastName>
          <MemberId>sample string 9</MemberId>
          <PhoneNumber>sample string 6</PhoneNumber>
          <PrimaryGuest>true</PrimaryGuest>
        </Guest>
      </Guests>
      <Membership>
        <Membership>
          <ErrorMessages>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
          </ErrorMessages>
          <MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
          </MemberDetails>
          <MembershipCost>2</MembershipCost>
          <MembershipType>sample string 1</MembershipType>
          <_guestId>sample string 4</_guestId>
          <_membershipTypeDisplayText>sample string 3</_membershipTypeDisplayText>
        </Membership>
        <Membership>
          <ErrorMessages>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
          </ErrorMessages>
          <MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
          </MemberDetails>
          <MembershipCost>2</MembershipCost>
          <MembershipType>sample string 1</MembershipType>
          <_guestId>sample string 4</_guestId>
          <_membershipTypeDisplayText>sample string 3</_membershipTypeDisplayText>
        </Membership>
      </Membership>
      <RatePlans>
        <RatePlan>
          <RatePlanCode>sample string 2</RatePlanCode>
          <RatePlanId>1</RatePlanId>
        </RatePlan>
        <RatePlan>
          <RatePlanCode>sample string 2</RatePlanCode>
          <RatePlanId>1</RatePlanId>
        </RatePlan>
      </RatePlans>
      <RoomID>1</RoomID>
      <RoomRates>
        <RoomRate>
          <AvailabilityStatus>ChangeDuringStay</AvailabilityStatus>
          <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
          <IsSharedRoom>true</IsSharedRoom>
          <NumberOfUnits>3</NumberOfUnits>
          <RatePlanCode>sample string 4</RatePlanCode>
          <RatePlanId>5</RatePlanId>
          <Rates>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
          </Rates>
          <RoomIdentifierCode>sample string 2</RoomIdentifierCode>
          <RoomRateAfterTax>7</RoomRateAfterTax>
          <RoomRateBeforeTax>6</RoomRateBeforeTax>
          <RoomRateTax>8</RoomRateTax>
          <RoomTypeCode>1</RoomTypeCode>
        </RoomRate>
        <RoomRate>
          <AvailabilityStatus>ChangeDuringStay</AvailabilityStatus>
          <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
          <IsSharedRoom>true</IsSharedRoom>
          <NumberOfUnits>3</NumberOfUnits>
          <RatePlanCode>sample string 4</RatePlanCode>
          <RatePlanId>5</RatePlanId>
          <Rates>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
          </Rates>
          <RoomIdentifierCode>sample string 2</RoomIdentifierCode>
          <RoomRateAfterTax>7</RoomRateAfterTax>
          <RoomRateBeforeTax>6</RoomRateBeforeTax>
          <RoomRateTax>8</RoomRateTax>
          <RoomTypeCode>1</RoomTypeCode>
        </RoomRate>
      </RoomRates>
      <RoomTypes>
        <RoomType>
          <DetailDescription>sample string 5</DetailDescription>
          <IsSharedRoom>true</IsSharedRoom>
          <MaxOccupancy>6</MaxOccupancy>
          <RoomIdentifierCode>sample string 4</RoomIdentifierCode>
          <RoomTypeCode>1</RoomTypeCode>
          <RoomTypeDescription>sample string 3</RoomTypeDescription>
        </RoomType>
        <RoomType>
          <DetailDescription>sample string 5</DetailDescription>
          <IsSharedRoom>true</IsSharedRoom>
          <MaxOccupancy>6</MaxOccupancy>
          <RoomIdentifierCode>sample string 4</RoomIdentifierCode>
          <RoomTypeCode>1</RoomTypeCode>
          <RoomTypeDescription>sample string 3</RoomTypeDescription>
        </RoomType>
      </RoomTypes>
      <Status>sample string 8</Status>
      <TotalAmount>2</TotalAmount>
      <TotalAmountIncludingTax>3</TotalAmountIncludingTax>
      <TotalPaid>5</TotalPaid>
      <TotalTax>4</TotalTax>
    </RoomStay>
    <RoomStay>
      <BalanceDue>6</BalanceDue>
      <BasicPropertyInfo>
        <HostelCode>sample string 1</HostelCode>
        <HostelName>sample string 2</HostelName>
      </BasicPropertyInfo>
      <BookingChannelComments>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
      </BookingChannelComments>
      <Comments>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
        <Comment>
          <GuestViewable>true</GuestViewable>
          <Text>sample string 1</Text>
        </Comment>
      </Comments>
      <DateRangeOfStay>
        <End>2018-12-23T12:53:48.9973291+13:00</End>
        <Start>2018-12-23T12:53:48.9973291+13:00</Start>
      </DateRangeOfStay>
      <Folio>sample string 7</Folio>
      <Guests>
        <Guest>
          <Address>
            <Address1>sample string 2</Address1>
            <Address2>sample string 3</Address2>
            <Address3>sample string 4</Address3>
            <City>sample string 8</City>
            <CountryId>10</CountryId>
            <CountryName>sample string 9</CountryName>
            <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
            <PostCode>sample string 6</PostCode>
            <State>sample string 7</State>
            <Suburb>sample string 5</Suburb>
            <Type>sample string 1</Type>
          </Address>
          <Age>Over17</Age>
          <AgeGroup>Child</AgeGroup>
          <ArrivalTime>sample string 8</ArrivalTime>
          <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
          <Email>sample string 7</Email>
          <FirstName>sample string 3</FirstName>
          <Gender>Unspecified</Gender>
          <GuestID>sample string 10</GuestID>
          <Id>1</Id>
          <LastName>sample string 4</LastName>
          <MemberId>sample string 9</MemberId>
          <PhoneNumber>sample string 6</PhoneNumber>
          <PrimaryGuest>true</PrimaryGuest>
        </Guest>
        <Guest>
          <Address>
            <Address1>sample string 2</Address1>
            <Address2>sample string 3</Address2>
            <Address3>sample string 4</Address3>
            <City>sample string 8</City>
            <CountryId>10</CountryId>
            <CountryName>sample string 9</CountryName>
            <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
            <PostCode>sample string 6</PostCode>
            <State>sample string 7</State>
            <Suburb>sample string 5</Suburb>
            <Type>sample string 1</Type>
          </Address>
          <Age>Over17</Age>
          <AgeGroup>Child</AgeGroup>
          <ArrivalTime>sample string 8</ArrivalTime>
          <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
          <Email>sample string 7</Email>
          <FirstName>sample string 3</FirstName>
          <Gender>Unspecified</Gender>
          <GuestID>sample string 10</GuestID>
          <Id>1</Id>
          <LastName>sample string 4</LastName>
          <MemberId>sample string 9</MemberId>
          <PhoneNumber>sample string 6</PhoneNumber>
          <PrimaryGuest>true</PrimaryGuest>
        </Guest>
      </Guests>
      <Membership>
        <Membership>
          <ErrorMessages>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
          </ErrorMessages>
          <MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
          </MemberDetails>
          <MembershipCost>2</MembershipCost>
          <MembershipType>sample string 1</MembershipType>
          <_guestId>sample string 4</_guestId>
          <_membershipTypeDisplayText>sample string 3</_membershipTypeDisplayText>
        </Membership>
        <Membership>
          <ErrorMessages>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
            <ErrorMessage>
              <DisplayToClient>true</DisplayToClient>
              <ErrorNumber>3</ErrorNumber>
              <ErrorText>sample string 1</ErrorText>
            </ErrorMessage>
          </ErrorMessages>
          <MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
            <MemberDetails>
              <Address>
                <Address1>sample string 2</Address1>
                <Address2>sample string 3</Address2>
                <Address3>sample string 4</Address3>
                <City>sample string 8</City>
                <CountryId>10</CountryId>
                <CountryName>sample string 9</CountryName>
                <CountryTwoAlpha>sample string 11</CountryTwoAlpha>
                <PostCode>sample string 6</PostCode>
                <State>sample string 7</State>
                <Suburb>sample string 5</Suburb>
                <Type>sample string 1</Type>
              </Address>
              <AgeGroup>Child</AgeGroup>
              <BirthDate>2018-12-23T12:53:48.9973291+13:00</BirthDate>
              <Email>sample string 5</Email>
              <FirstName>sample string 1</FirstName>
              <Gender>Unspecified</Gender>
              <LastName>sample string 2</LastName>
              <NzCitizenResident>true</NzCitizenResident>
              <PhoneNumber>sample string 4</PhoneNumber>
            </MemberDetails>
          </MemberDetails>
          <MembershipCost>2</MembershipCost>
          <MembershipType>sample string 1</MembershipType>
          <_guestId>sample string 4</_guestId>
          <_membershipTypeDisplayText>sample string 3</_membershipTypeDisplayText>
        </Membership>
      </Membership>
      <RatePlans>
        <RatePlan>
          <RatePlanCode>sample string 2</RatePlanCode>
          <RatePlanId>1</RatePlanId>
        </RatePlan>
        <RatePlan>
          <RatePlanCode>sample string 2</RatePlanCode>
          <RatePlanId>1</RatePlanId>
        </RatePlan>
      </RatePlans>
      <RoomID>1</RoomID>
      <RoomRates>
        <RoomRate>
          <AvailabilityStatus>ChangeDuringStay</AvailabilityStatus>
          <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
          <IsSharedRoom>true</IsSharedRoom>
          <NumberOfUnits>3</NumberOfUnits>
          <RatePlanCode>sample string 4</RatePlanCode>
          <RatePlanId>5</RatePlanId>
          <Rates>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
          </Rates>
          <RoomIdentifierCode>sample string 2</RoomIdentifierCode>
          <RoomRateAfterTax>7</RoomRateAfterTax>
          <RoomRateBeforeTax>6</RoomRateBeforeTax>
          <RoomRateTax>8</RoomRateTax>
          <RoomTypeCode>1</RoomTypeCode>
        </RoomRate>
        <RoomRate>
          <AvailabilityStatus>ChangeDuringStay</AvailabilityStatus>
          <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
          <IsSharedRoom>true</IsSharedRoom>
          <NumberOfUnits>3</NumberOfUnits>
          <RatePlanCode>sample string 4</RatePlanCode>
          <RatePlanId>5</RatePlanId>
          <Rates>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
            <Rate>
              <AdditionalCharges>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
                <AdditionalCharge>
                  <Code>sample string 1</Code>
                  <Cost>2</Cost>
                  <Quantity>3</Quantity>
                </AdditionalCharge>
              </AdditionalCharges>
              <AmountAfterTax>5</AmountAfterTax>
              <AmountBeforeTax>4</AmountBeforeTax>
              <EffectiveDate>2018-12-23T12:53:48.9973291+13:00</EffectiveDate>
              <IsMemberRate>true</IsMemberRate>
              <IsRefundable>true</IsRefundable>
              <MaxLengthOfStay>3</MaxLengthOfStay>
              <MinLengthOfStay>2</MinLengthOfStay>
              <Tax>6</Tax>
            </Rate>
          </Rates>
          <RoomIdentifierCode>sample string 2</RoomIdentifierCode>
          <RoomRateAfterTax>7</RoomRateAfterTax>
          <RoomRateBeforeTax>6</RoomRateBeforeTax>
          <RoomRateTax>8</RoomRateTax>
          <RoomTypeCode>1</RoomTypeCode>
        </RoomRate>
      </RoomRates>
      <RoomTypes>
        <RoomType>
          <DetailDescription>sample string 5</DetailDescription>
          <IsSharedRoom>true</IsSharedRoom>
          <MaxOccupancy>6</MaxOccupancy>
          <RoomIdentifierCode>sample string 4</RoomIdentifierCode>
          <RoomTypeCode>1</RoomTypeCode>
          <RoomTypeDescription>sample string 3</RoomTypeDescription>
        </RoomType>
        <RoomType>
          <DetailDescription>sample string 5</DetailDescription>
          <IsSharedRoom>true</IsSharedRoom>
          <MaxOccupancy>6</MaxOccupancy>
          <RoomIdentifierCode>sample string 4</RoomIdentifierCode>
          <RoomTypeCode>1</RoomTypeCode>
          <RoomTypeDescription>sample string 3</RoomTypeDescription>
        </RoomType>
      </RoomTypes>
      <Status>sample string 8</Status>
      <TotalAmount>2</TotalAmount>
      <TotalAmountIncludingTax>3</TotalAmountIncludingTax>
      <TotalPaid>5</TotalPaid>
      <TotalTax>4</TotalTax>
    </RoomStay>
  </RoomStays>
  <UserAgentString>sample string 6</UserAgentString>
  <WebReferenceNumber>sample string 4</WebReferenceNumber>
</BookingRequest>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BookingRequest'.

Response Information

Resource Description

BookingReceipt
NameDescriptionTypeAdditional information
BookingSuccessful

boolean

None.

BookingMessage

string

None.

ErrorType

string

None.

WebReferenceNumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "BookingSuccessful": true,
  "BookingMessage": "sample string 2",
  "ErrorType": "sample string 3",
  "WebReferenceNumber": "sample string 4"
}

application/xml, text/xml

Sample:
<BookingReceipt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookingEngine.Model.Core">
  <BookingMessage>sample string 2</BookingMessage>
  <BookingSuccessful>true</BookingSuccessful>
  <ErrorType>sample string 3</ErrorType>
  <WebReferenceNumber>sample string 4</WebReferenceNumber>
</BookingReceipt>