...
Example of the request POST /hotelinfo method
{ "hotelMealTypes": [ { "mealTypeCode": "BB", "shortDescription": { "en": "Light breakfast in a hotel, that includes baked goods, jam, fruit, and coffee." }, "description": { "en": "Here are some of the options that a continental breakfast consists of Baked Goods. Optional: Breakfast cereals, eggs, meats, sliced cheese, porridge or oatmeal" }, "active": true, "name": { "en": "Breakfast" } } ], "internalNoteLocalizable": { "en": "For all" }, "descriptionLocalizable": { "en": "Description test" }, "hotelAddressLocalizable": { "en": "Victoria Street 5" }, "email": "n.dastouri@gpsolutions.com", "url": "https://b2c-next.softwaretravel.net/ ", "categoryId": 131158, "rating": 0, "zip": "333222", "stdCategory": "FIVE", "fax": "1122244444", "phone": "1234455555", "latitude": 40.42136748660872, "longitude": -3.7081224776912, "rooms": [ { "shortDescription": { "en": "Standard" }, "description": { "en": "Standard" }, "categoryId": 1000209, "otaCode": "1", "guestAllocations": [ { "adultsQuantity": 2, "childrenQuantity": 1, "childrenAges": [ { "childAgeFrom": 0, "childAgeTo": 10 } ], "delete": false } ], "maxExtraplace": 1, "maxOccupancy": 2, "maxWithoutPlace": 0, "minOccupancy": 1, "maxTotalOccup": 3, "active": true, "bedroomsQuantity": 1, "bathroomsQuantity": 1, "name": { "en":"Family room" } } ], "hotelNameLocalizable": { "en": "Hotel Charles OLD" }, "countryId": 8016, "hotelCode": "OLD12", "cityId": 8885, "checkInFrom": "12:00", "checkInTo": "13:00", "checkOutFrom": "14:00", "checkOutTo": "15:00", "fullInfoAvailable": false, "nextDayCheckout": false, "contentProviderId": 1, "active": true, "hotelTypeId": 27, "fullLegalNameLocalizable": { "en": "Hotel API test full name NEW" }, "registrationID": "11111", "taxIdentificationNumber": "555555" } |
Response Body
{
"hotelId": 11814738,
...