Skip to main content

Hotel Information

Overview​

The Hotel Information endpoint returns the master profile of the property. It includes identity and contact details as well as timezone configuration used by the platform.

Request Endpoint​

  • Method: POST
  • Secure URL Path: {{base_url}}/api/hq/hotel-info

Payload Construction and Schema Definition​

The request payload is submitted as form-data fields.

Response Body Fields​

FieldTypeAlways presentDescription
errorbooleanYesIndicates whether the request failed. false means success.
statusstringYesStatus string. On success the example returns "ok".
messagestringYesHuman-readable message. Often empty on success.
dataobjectYes (on success)Hotel profile object.

Response data Fields​

FieldTypeDescriptionExample
hotelNamestringProperty display name.Gus Adi Dev
hotelCodestringProperty code (often matches company_code).gusadidev
addressstringProperty address saved in PMS (free-text mailing/physical address). May include street/city/region/postal code and can contain line breaks depending on how it is stored.bali
phonestringMobile Phone from the property/company setting in PMS. Commonly used as the default hotel contact number for WhatsApp/Telegram. Free-text: may include country code, spaces, parentheses, or separators (not guaranteed to be E.164). Treat as a contact/display value (do not assume numeric-only).89354234522
websitestringProperty website. May be a domain or URL.www.adityavillas.com
emailstringPrimary contact email saved in PMS. Typically a single email address, but treat as free-text (may be blank or contain multiple addresses depending on configuration).adigus248@gmail.com
initializeHotelDatestring (date)PMS System Date / Hotel Date for the property (business date) in YYYY-MM-DD. This date is sourced from the PMS “Date System” configuration and is used by the property as its current operational date (may differ from the calendar date depending on night-audit/business-day rules).2023-01-17
appTimeZonestringIANA timezone name used by the property.Asia/Singapore
appTimeZoneUtcOffsetMillisecondsnumberUTC offset in milliseconds for appTimeZone at the time of response. Example: $28800000$ ms = $8$ hours.28800000
hotelLogo.urlstring (url)Public URL to the logo image.https://.../company_logo/...png

Expected System Responses​

The system responds with HTTP 200 OK.

{
"error": false,
"status": "ok",
"message": "",
"data": {
"hotelName": "Gus Adi Dev",
"hotelCode": "gusadidev",
"address": "bali",
"phone": "89354234522",
"website": "www.adityavillas.com",
"email": "adigus248@gmail.com",
"initializeHotelDate": "2023-01-17",
"appTimeZone": "Asia/Singapore",
"appTimeZoneUtcOffsetMilliseconds": 28800000,
"hotelLogo": {
"url": "https://s3-ap-southeast-1.amazonaws.com/gp-cloud-pms/uploads/cloud-pms/company_logo/b7beab20-3868-11eb-958f-f70fc38eaffd.png"
}
}
}