Componente
|
Valor
|
Nota |
URL | https://{NOVOHIT_BASE_URL}/api/index.php | Base URL to reach API endpoint |
Route | /novohit/rcp/getInhouseGuests |
If authentication valid, returns HTTP 200 with data payload. |
Method | GET | HTTP Method GET. |
Parameters | ?{param=value} | List of URL parameters in query string (name/value pairs). |
id_hotel | 4260 | Novohit Hotel ID Code. Required. |
token_auth | {SEC_TOKEN} | Unique token for authentication. Required. DO NOT SHARE. Sensitive information. |
format | xml | json | Format in which the response is preferred. Optional. Default: json |
Field |
tag |
Data Type |
Notes |
Hotel ID |
id_hotel |
Integer |
Novohit ID Code |
Customer Unique ID
|
id_customer
|
Integer
|
Novohit ID Code.
Warning, this code may vary over time if the property merges Guests data. We do not recommend using this ID as primary key. Instead use holistic combination of other fields (e.g. email, last name, name, nationality) as keys.
|
Guest First Name |
first_name |
String |
|
Guest Last Name |
last_name |
String |
|
Birthday
|
dt_birth
|
Integer
|
Always in YYYYMMDD format. Example:19990711 for July 11th 1999.
|
Email |
e_mail |
String |
|
Guest’s Phone Number |
phone |
String |
|
Language
|
lang
|
String
|
ISO 2-digit Code to identify guests preferred language. Example: pt for Portuguese
|
Country
|
country_code
|
String
|
ISO 2-digit Code to identify guest's address. Example: US for USA
|
Nationality
|
nationality
|
String
|
ISO 2-digit Code to identify guests identified nationality at check-in. Example: BR for Brasil |
Guest Segment
|
guest_segment
|
String
|
Guest's Segment
|
Guest Plan
|
guest_plan
|
String
|
Guest's Plan for this stay (usually associated to Food plan)
|
Guest Category
|
guest_category
|
String
|
Guest's category for this stay
|
Rate Type
|
rate_type
|
String
|
Guests rate type for this stay
|
Agency (Channel)
|
agency
|
String
|
Agency, channel or company on which this guest made his reservation
|
Room Name |
room_name |
String |
|
Arrival Date / check-in |
dt_arrival |
Integer |
Always in YYYYMMDD format. Example:20251201 for December 1st 2025. |
Departure Date / check-out |
dt_departure |
Integer |
Always in YYYYMMDD format. Example:20260115 for January 15th 2026. |
Reservation Date
|
dt_rsv
|
Integer
|
Always in YYYYMMDD format. Example:20220510 for May 10th 2022. |
Adults |
no_adults |
Integer |
Number of adults in this party for this stay |
Children (Paying)
|
no_children_pay
|
Integer
|
Number of paying children in this party for this stay
|
Children (non-paying)
|
no_children_free
|
Integer
|
Number of non-paying (free) children in this party for this stay
|