Menu/properties/{id}/guide

Get the Property Guide of a Property

GET/api/v1/properties/{id}/guide
Nécessite property_guide.read

The 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)obligatoire

    Property id.

Réponses

200The Property Guide.

application/jsonPropertyGuide

  • property_idstring (uuid)obligatoire
  • namestringobligatoire
  • addressPropertyGuideAddressobligatoire

    Address of the Property.

    Afficher 6 attributs enfants
    • streetstring | nullobligatoire

      Street address.

    • postal_codestring | nullobligatoire

      Postal code.

    • citystring | nullobligatoire

      City.

    • statestring | nullobligatoire

      State or region.

    • countrystring | nullobligatoire

      Country, as entered by the host (usually an ISO 3166-1 alpha-2 code).

    • formattedstring | nullobligatoire

      The full address on one line.

  • coordinatesobjectobligatoire

    GPS coordinates (WGS 84).

    Afficher 2 attributs enfants
    • latitudenumber | nullobligatoire
    • longitudenumber | nullobligatoire
  • contactobjectobligatoire

    Contact details of the Property.

    Afficher 3 attributs enfants
    • phonestring | nullobligatoire

      Phone number of the Property.

    • emailstring | nullobligatoire

      Email address of the Property.

    • websitestring | nullobligatoire

      Website of the Property.

  • check_in_timestring | nullobligatoire

    Check-in time, HH:MM in the time zone of the Property.

  • check_out_timestring | nullobligatoire

    Check-out time, HH:MM in the time zone of the Property.

  • wifiobjectobligatoire

    Wi-Fi of the Property.

    Afficher 2 attributs enfants
    • network_namestring | nullobligatoire

      Wi-Fi network name.

    • passwordstring | nullobligatoire

      Wi-Fi password.

  • roomsobjectobligatoire

    Number of bedrooms, beds and bathrooms.

    Afficher 3 attributs enfants
    • bedroomsinteger | nullobligatoire
    • bedsinteger | nullobligatoire
    • bathroomsnumber | nullobligatoire

      May be fractional, e.g. 1.5.

  • amenitiesPropertyGuideAmenity[]obligatoire
    Afficher 2 attributs enfants
    • idstringobligatoire

      Stable amenity id.

    • namestringobligatoire

      Amenity name, in English.

  • website_textsPropertyGuideWebsiteTexts[]obligatoire

    Website texts of the Property, one entry per language.

    Afficher 4 attributs enfants
    • languagestring | nullobligatoire

      ISO 639-1 language of the texts; null for the texts of a Property without a translated website.

    • descriptionstring | nullobligatoire

      Description of the Property.

    • important_informationstring | nullobligatoire

      Important information for guests.

    • good_to_knowstring | nullobligatoire

      Good to know.

  • welcome_booklet_urlstring | nullobligatoire

    Short Zenhost link that opens the welcome booklet of the Property; stable when the host replaces the file.

  • shortcodesPropertyGuideShortcode[]obligatoire
    Afficher 4 attributs enfants
    • shortcodestringobligatoire

      The Shortcode as the host writes it in messages, e.g. {{custom.parking}}.

    • namestringobligatoire
    • descriptionstring | nullobligatoire
    • valuesobject[]obligatoire

      The value sent for this Property, per language: its own values for a property-specific Shortcode, else the default ones.

      Afficher 2 attributs enfants
      • languagestringobligatoire

        ISO 639-1 language.

      • valuestringobligatoire
  • knowledgePropertyGuideKnowledge[]obligatoire

    Account entries first, then the entries of this Property.

    Afficher 3 attributs enfants
    • themestringobligatoire

      One of arrival, departure, parking, amenities, rules, neighbourhood, housekeeping, services, other.

    • kindstringobligatoire

      fact: something true about the stay. instruction: how the host wants guests to be answered.

      Parmi : fact instruction

    • contentstringobligatoire
401Error code: unauthorized, connection_revoked.

Codes d’erreur

  • unauthorized Le 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_revoked Le 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_blocked L’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_suspended ZenHost a suspendu votre App, ou ne l’autorise plus sur ce compte. Cessez les appels et contactez ZenHost.
  • forbidden_permission Votre App n’a pas reçu la permission que cet endpoint exige.
404Error code: not_found.

Codes d’erreur

  • not_found La 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_limited Trop d’appels sur cette connexion d’App. Attendez le nombre de secondes indiqué dans Retry-After.
500Error code: internal_error.

Codes d’erreur

  • internal_error ZenHost n’a pas pu répondre. Réessayez plus tard avec un délai croissant.

Tous les codes d’erreur et la conduite à tenir