Example REST Reservation Request for 1 Room with 2 Adults and 2 Children (ages 5 and 7)

https://book.api.ean.com/ean-services/rs/hotel/v3/res?
&cid=#####
&apiKey=[xxx-yourOwnKey-xxx]
&customerUserAgent=[xxx]
&customerIpAddress=[xxx]
&customerSessionId=[xxx]
&locale=en_US
&minorRev=[xxx]
&currencyCode=USD

&hotelId=127092
&arrivalDate=09/03/2015
&departureDate=09/04/2015
&supplierType=E
&rateKey=469e1aff-49de-4944-a64d-25d96ccde3aa
&roomTypeCode=200127420
&rateCode=200706716
&chargeableRate=106.17

&room1=2,5,7
&room1FirstName=test
&room1LastName=testers
&room1BedTypeId=23
&room1SmokingPreference=NS

&email=test@yourSite.com
&firstName=tester
&lastName=testing
&homePhone=##########
&workPhone=##########
&creditCardType=CA
&creditCardNumber=5401999999999999
&creditCardIdentifier=123
&creditCardExpirationMonth=11
&creditCardExpirationYear=2015

&address1=travelnow
&city=Bellevue
&stateProvinceCode=WA
&countryCode=US
&postalCode=98004

JSON Response - 1 Room, 2 Adult Occupants, 2 Children

{
customerSessionId: "0ABAAA80-6022-F319-1492-8BACB0B09974",
itineraryId: 177592654,
confirmationNumbers: 1234,
processedWithConfirmation: true,
supplierType: "E",
reservationStatusCode: "CF",
existingItinerary: false,
numberOfRoomsBooked: 1,
drivingDirections: "",
checkInInstructions: "",
arrivalDate: "09/03/2015",
departureDate: "09/04/2015",
hotelName: "The Edgewater - A Noble House Hotel",
hotelAddress: "Pier 67, 2411 Alaskan Way",
hotelCity: "Seattle",
hotelStateProvinceCode: "WA",
hotelPostalCode: 98121,
hotelCountryCode: "US",
roomDescription: "Deluxe Room, 2 Queen Beds",
tripAdvisorRating: 4,
tripAdvisorReviewCount: 2070,
tripAdvisorRatingUrl: "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.0-39958-4.png",
rateOccupancyPerRoom: 4,
RateInfos: {
    @size: "1",
    RateInfo: {
        @priceBreakdown: "true",
        @promo: "false",
        @rateChange: "false",
        RoomGroup: {
            Room: {
                numberOfAdults: 2,
                numberOfChildren: 2,
                childAges: {
                    0: 5,
                    1: 7
                },
                firstName: "test",
                lastName: "smith",
                bedTypeId: 23,
                bedTypeDescription: "2 queen",
                smokingPreference: "NS"
            }
        },
        ChargeableRateInfo: {
            @averageBaseRate: "89.99",
            @averageRate: "89.99",
            @commissionableUsdTotal: "89.99",
            @currencyCode: "USD",
            @maxNightlyRate: "89.99",
            @nightlyRateTotal: "89.99",
            @grossProfitOffline: "12.83",
            @grossProfitOnline: "20.00",
            @surchargeTotal: "16.18",
            @total: "106.17",
            NightlyRatesPerRoom: {
                @size: "1",
                NightlyRate: {
                    @baseRate: "89.99",
                    @rate: "89.99",
                    @promo: "false"
                }
            },
            Surcharges: {
                @size: "1",
                Surcharge: {
                    @type: "TaxAndServiceFee",
                    @amount: "16.18"
                }
            }
        },
        cancellationPolicy: "We understand that sometimes your travel plans change. We do not charge a change or cancel fee. However, this property (The Edgewater - A Noble House Hotel) imposes the following penalty to its customers that we are required to pass on: Cancellations or changes made after 6:00 PM ((GMT-06:00)) on Sep 3, 2015 are subject to a 1 Night Room & Tax penalty. The property makes no refunds for no shows or early checkouts.",
        CancelPolicyInfoList: {
            CancelPolicyInfo: {
                0: {
                    versionId: 0,
                    cancelTime: "19:00:00",
                    startWindowHours: 0,
                    nightCount: 1,
                    currencyCode: "USD",
                    timeZoneDescription: "(GMT-06:00)"
                },
                1: {
                    versionId: 0,
                    cancelTime: "19:00:00",
                    startWindowHours: 1,
                    nightCount: 0,
                    currencyCode: "USD",
                    timeZoneDescription: "(GMT-06:00)"
                }
            }
        },
        nonRefundable: false,
        rateType: "MerchantStandard"
    }
}
}

Example REST Reservation Request for 2 Rooms with 2 Adults and 2 Children in Each Room

https://book.api.ean.com/ean-services/rs/hotel/v3/res?
minorRev=[current minorRev #]
&cid=#####
&apiKey=[xxx-yourOwnKey-xxx]
&customerUserAgent=[xxx]
&customerIpAddress=[xxx]
&customerSessionId=[xxx]
&locale=en_US
&currencyCode=USD

&hotelId=127092
&arrivalDate=09/03/2015
&departureDate=09/04/2015
&supplierType=E
&rateKey=334944f5-953c-4261-a6be-464f77c5f5e5
&roomTypeCode=200127420
&rateCode=200706716
&chargeableRate=212.34

&room1=2,3,7
&room1FirstName=test
&room1LastName=testers
&room1BedTypeId=23
&room1SmokingPreference=NS

&room2=2,6,8
&room2FirstName=testing
&room2LastName=testers
&room2BedTypeId=23
&room2SmokingPreference=NS

&email=test@yourSite.com
&firstName=tester
&lastName=testing
&homePhone=2145370159
&workPhone=2145370159
&creditCardType=CA
&creditCardNumber=5401999999999999
&creditCardIdentifier=123
&creditCardExpirationMonth=11
&creditCardExpirationYear=2015

&address1=travelnow
&city=Bellevue
&stateProvinceCode=WA
&countryCode=US
&postalCode=98004

JSON Response

{
customerSessionId: "0ABAAA49-9EAD-B749-1492-8BDD73B39597",
itineraryId: 177598990,
confirmationNumbers: {
    0: 1234,
    1: 1235
},
processedWithConfirmation: true,
supplierType: "E",
reservationStatusCode: "CF",
existingItinerary: false,
numberOfRoomsBooked: 2,
drivingDirections: "",
checkInInstructions: "",
arrivalDate: "09/03/2015",
departureDate: "09/04/2015",
hotelName: "The Edgewater - A Noble House Hotel",
hotelAddress: "Pier 67, 2411 Alaskan Way",
hotelCity: "Seattle",
hotelStateProvinceCode: "WA",
hotelPostalCode: 98121,
hotelCountryCode: "US",
roomDescription: "Deluxe Room, 2 Queen Beds",
tripAdvisorRating: 4,
tripAdvisorReviewCount: 2070,
tripAdvisorRatingUrl: "http://www.tripadvisor.com/img/cdsi/img2/ratings/traveler/4.0-39958-4.png",
rateOccupancyPerRoom: 4,
RateInfos: {
    @size: "1",
    RateInfo: {
        @priceBreakdown: "true",
        @promo: "false",
        @rateChange: "false",
        RoomGroup: {
            Room: {
                0: {
                    numberOfAdults: 2,
                    numberOfChildren: 2,
                    childAges: {
                        0: 3,
                        1: 7
                    },
                    firstName: "test",
                    lastName: "smith",
                    bedTypeId: 23,
                    bedTypeDescription: "2 queen",
                    smokingPreference: "NS"
                },
                1: {
                    numberOfAdults: 2,
                    numberOfChildren: 2,
                    childAges: {
                        0: 6,
                        1: 8
                    },
                    firstName: "test",
                    lastName: "adams",
                    bedTypeId: 23,
                    bedTypeDescription: "2 queen",
                    smokingPreference: "NS"
                }
            }
        },
        ChargeableRateInfo: {
            @averageBaseRate: "89.99",
            @averageRate: "89.99",
            @commissionableUsdTotal: "179.98",
            @currencyCode: "USD",
            @maxNightlyRate: "89.99",
            @nightlyRateTotal: "179.98",
            @grossProfitOffline: "25.66",
            @grossProfitOnline: "40.00",
            @surchargeTotal: "32.36",
            @total: "212.34",
            NightlyRatesPerRoom: {
                @size: "1",
                NightlyRate: {
                    @baseRate: "89.99",
                    @rate: "89.99",
                    @promo: "false"
                }
            },
            Surcharges: {
                @size: "1",
                Surcharge: {
                    @type: "TaxAndServiceFee",
                    @amount: "32.36"
                }
            }
        },
        cancellationPolicy: "We understand that sometimes your travel plans change. We do not charge a change or cancel fee. However, this property (The Edgewater - A Noble House Hotel) imposes the following penalty to its customers that we are required to pass on: Cancellations or changes made after 6:00 PM ((GMT-06:00)) on Sep 3, 2015 are subject to a 1 Night Room & Tax penalty. The property makes no refunds for no shows or early checkouts.",
        CancelPolicyInfoList: {
            CancelPolicyInfo: {
                0: {
                    versionId: 0,
                    cancelTime: "19:00:00",
                    startWindowHours: 0,
                    nightCount: 1,
                    currencyCode: "USD",
                    timeZoneDescription: "(GMT-06:00)"
                },
                1: {
                    versionId: 0,
                    cancelTime: "19:00:00",
                    startWindowHours: 1,
                    nightCount: 0,
                    currencyCode: "USD",
                    timeZoneDescription: "(GMT-06:00)"
                }
            }
        },
        nonRefundable: false,
        rateType: "MerchantStandard"
    }
}
}