Retrieve Property Profile
This endpoint allows you to retrive the property profile.
Endpoint
POST
Header
app-id
string
Yes
Your application ID. Required for authentication.
Authorization
string
Yes
Your API key for authorization.
Content-Type
string
Yes
Must be set to application/json.
Attributes
hotel_id string (Required)
The unique property ID as assigned by the provider upon creation of the property.
channel_hotel_id string (Required)
The unique id for the hotel on the specific channel.
Sample Request
Response
Sample Success Response
Success Response Body Elements
Status string
Indicates the overall status of the request. In this case, "Success" means the operation was completed successfully.
Data array
An array containing data related to the successful image creation. This typically includes identifiers for the created images.
host_location string
Specifies the location type of the host.
name_or_company string
The name of the hotel or company. This field is optional and can be used for branding purposes or internal identification.
renting_date string
The date when the property will be available for rent.
renovating_date string
The date when renovations are expected to be completed.
built_date string
The date when the property was built.
is_company_profile integer
Indicates whether the profile is for a company.
Message string
A message receives within the response body. This will generally be an empty string if no additional information is needed.
Ruid string
A unique request identifier.
Errors
Sample Error Response 1
Sample Error Response 2
Error Response Body Elements
Status string
Indicates the result of the API call, which will be always "Fail" in case of an error response.
Error array
Array that contains details about any errors that occurred during the API call. Each object in the Errors array contains the following properties:
Code string
Specific error code that helps identify the type of error.
ShortText string
A short description associated with the error code.
Message string
A message providing more information about the error.
Last updated
Was this helpful?