post Reservation Notif -> 2nd res for Multi room reservation

POST {{HostName}}/resnotif/v0/hotels/{{HotelCode}}/reservations

Sample with a single night, with guest CC on folio 1

Request Body

{"reservations"=>[{"reservationIdList"=>[{"id"=>"{{$guid}}", "idExtension"=>"1"}], "lastModifyDateTime"=>"2020-07-01T12:21:00-07:00", "roomStay"=>{"arrivalDate"=>"{{currentdateplus1}}", "departureDate"=>"{{currentdateplus2}}", "roomRates"=>[{"rates"=>{"rate"=>[{"base"=>{"amountBeforeTax"=>200, "currencyCode"=>"{{currencyCode}}"}, "start"=>"{{currentdateplus1}}", "end"=>"{{currentdateplus1}}"}]}, "guestCounts"=>{"childAges"=>[4, 9, 17], "adults"=>2, "children"=>3}, "roomType"=>"{{RoomTypeCode}}", "ratePlanCode"=>"{{RatePlanCode}}", "numberOfUnits"=>1, "start"=>"{{currentdateplus1}}", "end"=>"{{currentdateplus1}}"}], "total"=>{"amountAfterTax"=>200, "amountBeforeTax"=>20.09, "currencyCode"=>"{{currencyCode}}"}, "guarantee"=>{"guaranteeCode"=>"5", "onHold"=>false}, "printRate"=>false}, "reservationGuests"=>[{"profileInfo"=>{"profile"=>{"customer"=>{"personName"=>[{"surname"=>"Smith", "givenName"=>"Mary", "nameTitle"=>"Mr and Mrs", "nameType"=>"Primary", "email"=>"customer@email.com", "phoneNumber"=>"123-410-3186", "address"=>{"addressLine"=>["3450 North Triumph Boulevard"], "cityName"=>"Lehi", "postalCode"=>84043, "country"=>{"code"=>"US"}, "state"=>"UT"}}], "language"=>"en-us"}, "profileType"=>"Guest"}}, "primary"=>true}, {"profileInfo"=>{"profileIdList"=>[{"id"=>"12345671", "type"=>"TravelAgent"}], "profile"=>{"profileType"=>"TravelAgent", "companyInfo"=>{"companyName"=>"Smith Travel"}}}}, {"profileInfo"=>{"profileIdList"=>[{"id"=>"12345672", "type"=>"Source"}], "profile"=>{"profileType"=>"Source", "companyInfo"=>{"companyName"=>"Smith Travel POS"}}}}, {"profileInfo"=>{"profileIdList"=>[{"id"=>"ORACLE", "type"=>"Company"}], "profile"=>{"profileType"=>"Company", "companyInfo"=>{"companyName"=>"Oracle Corporation"}}}}], "reservationPaymentMethods"=>[{"paymentMethod"=>"5", "folioView"=>"1", "paymentCard"=>{"cardType"=>"AX", "cardNumber"=>"371449635398431", "expirationDate"=>"06/25", "cardHolderName"=>"SomeChannel VirtualCard"}}], "hotelCode"=>"{{HotelCode}}", "messageId"=>"{{$randomUUID}}", "comments"=>[{"comment"=>{"text"=>{"value"=>"Channel Text note\n1 king bed\nNon-Smoking\nBill guest full stay"}, "commentTitle"=>"Notes from Channel", "notificationLocation"=>"RESERVATION", "type"=>"GEN", "internal"=>true, "confidential"=>false, "overrideInternal"=>false}}], "printRate"=>false, "optedForCommunication"=>false}]}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring
x-channelCodestring
x-app-keystring