Example Request/Response

Header

Authorization: Basic [API key]

Example

Authorization: Basic dhxHaThFUDg6czVJYUR5bGw=

Body

{
  "HotelDescriptiveContents": {
      "HotelDescriptiveContent": {
          "HotelName": "Grand Ocean",
          "HotelType": "1",
          "TimeZone": "Asia/Bangkok",
          "HotelCode": "HT24001234",
          "ChainID": "HCC2400001",
          "LanguageCode": "en",
          "CurrencyCode": "IDR",
          "HotelDescriptiveContentNotifType": "New",
          "ContactInfos": {
              "ContactInfo": [{
                      "ContactProfileType": "PhysicalLocation",
                      "Addresses": {
                          "Address": {
                              "AddressLine": "Street 123",
                              "CityName": "Jakarta",
                              "PostalCode": "11110",
                              "CountryName": "ID"
                          }
                      },
                      "Names": {
                          "Name": {
                              "GivenName": "Reservation-grand ocean"
                          }
                      },
                      "NotificationEmail": "[email protected]",
                      "Emails": {
                          "Email": ["[email protected]", "fom@[email protected]"]
                      },
                      "Phones": {
                          "Phone": [{
                                  "PhoneNumber": "+62215111111",
                                  "PhoneTechType": "1"
                              }, {
                                  "PhoneNumber": "+62215111112",
                                  "PhoneTechType": "1"
                              }
                          ]
                      }
                  }, {
                      "ContactProfileType": "availability",
                      "Addresses": {
                          "Address": {
                              "AddressLine": "Street 123",
                              "CityName": "Jakarta",
                              "PostalCode": "11110",
                              "CountryName": "ID"
                          }
                      },
                      "Names": {
                          "Name": {
                              "GivenName": "Reservation-grand ocean"
                          }
                      },
                      "NotificationEmail": "[email protected]",
                      "Emails": {
                          "Email": ["[email protected]", "[email protected]"]
                      },
                      "Phones": {
                          "Phone": [{
                                  "PhoneNumber": "+62215111111",
                                  "PhoneTechType": "1"
                              }, {
                                  "PhoneNumber": "+62215111112",
                                  "PhoneTechType": "1"
                              }
                          ]
                      }
                  }
              ]
          },
          "HotelInfo": {
              "Position": {
                  "Latitude": "-6.724123",
                  "Longitude": "107.036123"
              }
          },
          "Facilities": {
              "Facility": [{
                      "name": "Swimming Pool"
                  }, {
                      "name": "Children Playground"
                  }, {
                      "name": "Parking"
                  }, {
                      "name": "Wi-Fi Connection"
                  }, {
                      "name": "Lobby Lounge"
                  }
              ]
          },
          "Images": {
              "Image": [{
                      "name": "Meeting Room",
                      "url": "https://v4.reservation-system.net/booking/DisplayImage.ashx?opt=7&ImageID=HT24001234&ImageNo=1"
                  }, {
                      "name": "Restaurant and Cafe",
                      "url": "https://v4.reservation-system.net/booking/DisplayImage.ashx?opt=7&ImageID=HT24001234&ImageNo=2"
                  }
              ]
          },
          "HotelDescription": "A hotel with style...Where business and pleasure meets."
      }
  }
}

Last updated