Get the Property Guide of a Property
/api/v1/properties/{id}/guideproperty_guide.readThe practical information a guest asks about: address and GPS coordinates, contact details, check-in and check-out times, Wi-Fi, bedrooms, beds and bathrooms, amenities, website texts, welcome booklet, the custom Shortcodes of the host that apply to the Property (with their value per language) and the active Knowledge of the account and of the Property.
An empty field is null, never omitted. A Property outside the Connection Scope answers not_found, exactly like a missing one.
Paramètres
Paramètres de chemin
idstring (uuid)obligatoireProperty id.
Réponses
200The Property Guide.
application/jsonPropertyGuide
property_idstring (uuid)obligatoirenamestringobligatoireaddressPropertyGuideAddressobligatoireAddress of the Property.
Afficher 6 attributs enfantsMasquer les attributs enfants
streetstring | nullobligatoireStreet address.
postal_codestring | nullobligatoirePostal code.
citystring | nullobligatoireCity.
statestring | nullobligatoireState or region.
countrystring | nullobligatoireCountry, as entered by the host (usually an ISO 3166-1 alpha-2 code).
formattedstring | nullobligatoireThe full address on one line.
coordinatesobjectobligatoireGPS coordinates (WGS 84).
Afficher 2 attributs enfantsMasquer les attributs enfants
latitudenumber | nullobligatoirelongitudenumber | nullobligatoire
contactobjectobligatoireContact details of the Property.
Afficher 3 attributs enfantsMasquer les attributs enfants
phonestring | nullobligatoirePhone number of the Property.
emailstring | nullobligatoireEmail address of the Property.
websitestring | nullobligatoireWebsite of the Property.
check_in_timestring | nullobligatoireCheck-in time,
HH:MMin the time zone of the Property.check_out_timestring | nullobligatoireCheck-out time,
HH:MMin the time zone of the Property.wifiobjectobligatoireWi-Fi of the Property.
Afficher 2 attributs enfantsMasquer les attributs enfants
network_namestring | nullobligatoireWi-Fi network name.
passwordstring | nullobligatoireWi-Fi password.
roomsobjectobligatoireNumber of bedrooms, beds and bathrooms.
Afficher 3 attributs enfantsMasquer les attributs enfants
bedroomsinteger | nullobligatoirebedsinteger | nullobligatoirebathroomsnumber | nullobligatoireMay be fractional, e.g.
1.5.
amenitiesPropertyGuideAmenity[]obligatoireAfficher 2 attributs enfantsMasquer les attributs enfants
idstringobligatoireStable amenity id.
namestringobligatoireAmenity name, in English.
website_textsPropertyGuideWebsiteTexts[]obligatoireWebsite texts of the Property, one entry per language.
Afficher 4 attributs enfantsMasquer les attributs enfants
languagestring | nullobligatoireISO 639-1 language of the texts;
nullfor the texts of a Property without a translated website.descriptionstring | nullobligatoireDescription of the Property.
important_informationstring | nullobligatoireImportant information for guests.
good_to_knowstring | nullobligatoireGood to know.
welcome_booklet_urlstring | nullobligatoireShort Zenhost link that opens the welcome booklet of the Property; stable when the host replaces the file.
shortcodesPropertyGuideShortcode[]obligatoireAfficher 4 attributs enfantsMasquer les attributs enfants
shortcodestringobligatoireThe Shortcode as the host writes it in messages, e.g.
{{custom.parking}}.namestringobligatoiredescriptionstring | nullobligatoirevaluesobject[]obligatoireThe value sent for this Property, per language: its own values for a property-specific Shortcode, else the default ones.
Afficher 2 attributs enfantsMasquer les attributs enfants
languagestringobligatoireISO 639-1 language.
valuestringobligatoire
knowledgePropertyGuideKnowledge[]obligatoireAccount entries first, then the entries of this Property.
Afficher 3 attributs enfantsMasquer les attributs enfants
themestringobligatoireOne of
arrival,departure,parking,amenities,rules,neighbourhood,housekeeping,services,other.kindstringobligatoirefact: something true about the stay.instruction: how the host wants guests to be answered.Parmi :
factinstructioncontentstringobligatoire
401Error code: unauthorized, connection_revoked.
Codes d’erreur
unauthorizedLe jeton d’accès est absent, inconnu, expiré ou révoqué, ou a été émis avant que le compte ne reconnecte l’App. Rafraîchissez-le ; si le rafraîchissement échoue, demandez au propriétaire de reconnecter l’App.connection_revokedLe propriétaire a révoqué la connexion d’App (ou votre App a révoqué son propre jeton de rafraîchissement). Cessez les appels pour ce compte et supprimez ses jetons.
402Error code: subscription_blocked.
Codes d’erreur
subscription_blockedL’abonnement ZenHost du compte est bloqué (impayé, résilié…). La connexion est conservée : prévenez votre client, les appels refonctionnent dès que l’abonnement est rétabli.
403Error code: app_suspended, forbidden_permission.
Codes d’erreur
app_suspendedZenHost a suspendu votre App, ou ne l’autorise plus sur ce compte. Cessez les appels et contactez ZenHost.forbidden_permissionVotre App n’a pas reçu la permission que cet endpoint exige.
404Error code: not_found.
Codes d’erreur
not_foundLa ressource n’existe pas ou est hors du périmètre de connexion (les deux cas sont indiscernables), ou le chemin n’est pas un endpoint de/api/v1.
429Error code: rate_limited.
En-tête Retry-After — Seconds to wait before the next call is allowed. Limits per App Connection: 60 reads (GET), 10 writes (other POST) and 30 messages sent to guests per minute.
Codes d’erreur
rate_limitedTrop d’appels sur cette connexion d’App. Attendez le nombre de secondes indiqué dansRetry-After.
500Error code: internal_error.
Codes d’erreur
internal_errorZenHost n’a pas pu répondre. Réessayez plus tard avec un délai croissant.