LogoLogo
Website
  • What's new @GUIBO
    • Power Users Program
  • Get Started
    • Intro to GUIBO
    • Getting started
      • Initial account setup
      • Prepare library
      • Create your first guidebook
      • Publish to travelers
    • Support
  • Content Management
    • Overview
    • Routes, POIs and Markers
      • Routes
        • Edit route
        • Edit route data
        • Turn-by-turn directions
      • Markers
    • Textpages
    • Libraries
      • Import POIs from libraries (manuel)
      • Import Pois from libraries (automatic)
        • Import Geo Data (linked to libary)
      • Import textpages from libary
        • turn by turn navigation (App/PDF)
    • Language & Translation
  • Publishing
    • How to publish
      • Personalized Accommodation
    • Release Page
    • Tour Guide App
      • Photo Competition
      • App publishing
        • External links
        • Testcode & Download Code
      • White-label App
      • Traveler feedback
    • Roadbook PDF
      • Publishing Roadbooks
      • Customizing Roadbooks
    • Webshop Maps
    • B2B Network
  • Developers
    • Releases API
      • Release | Create guidebook release
      • Release | Read release details
      • Release | Update release details
      • Release | Revoke guidebook release
      • Release | Add documents to release
      • Release | Delete documents in release
    • Content API
      • Content | Create and update routes
      • Content | Create and update Point-Of-Interests (POIs)
      • Content | Create library or guidebook
      • Content | Create category
      • Content | Create text page
  • Administration
    • Users & groups
    • Data backup
  • FAQ
    • Which image types does GUIBO support?
    • How can I test my guidebooks on the smarthone?
    • Support System: How do I create an "App Issue"
    • Support System: How to create a ticket?
    • Support System: How do I assign the correct priority to a ticket?
    • Support System: How to make a screenshot?
    • How are the towns on guidebook overview maps selected?
    • Navigation Issues
    • What are the smartphone requirments for the Tour Guide App?
Powered by GitBook
On this page
  • 1) Create POI
  • B) Update POI
  1. Developers
  2. Content API

Content | Create and update Point-Of-Interests (POIs)

Hotels and other POIs can be imported into GUIBO automatically via the API. A common use case is importing hotels from a booking system with the goal of adding the hotels booked for the guest

PreviousContent | Create and update routesNextContent | Create library or guidebook

Last updated 2 years ago

Hotels are one kind of POIs in GUIBO. They can be created manually in GUIBO, also with the help of Google search and automatic import of data from Google.

1) Create POI

Prerequisite: You have created a library into which the hotels are to be imported. You have given the library a unique ID. In the following example it is the ID "HOTELS".

  • Replace CCCCCC with the customer ID, you can find this under Account Settings > General Settings > Account ID

  • Replace xxxxxx-xxxxxx-xxxxxx-xxxxxx with the API key, you can find this under Account Settings > General Settings > API Key

  • HTL21344 is an exemplaric external ID of this hotel. With this ID it is easier to update the hotel via the interface.

curl --location --request POST 'https://services.schneidergeo.com/content/library/HOTELS/CCCCCC/poi' \
--header 'Content-Type: application/json' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx' \
--data-raw '
{
  "externalId" :"HTL21344",
  "names": {
    "de": "Alpenhotel Kronprinz",
    "en": "Alpenhotel Kronprinz"
  },
  "descriptions": {
    "de": "Unser Partnerhotel in Berchtesgaden",
    "en": "Our partner hotel in Berchtesgaden"
  },
  "lat": 47.62893,
  "lng": 12.99443,
  "icon": "hotel",
  "category": {
    "names": {
      "de": "Unterkunft",
      "en": "Accomodation"
    }
  },
  "attributes": {
    "phone": "+49 8652 6070",
    "web": "https://www.alpenhotel-kronprinz.de/"
  },
   "tags": [
        {
             "names": {
                   "de": "Unterkunft",
                   "en": "Accomodation"
               }
         }
    ]
}
'

B) Update POI

The update operation uses the same object as the create operation. Just some attributes are ignored and you can leave away:

  • Change of category is ignored. Please use the apropriate endpoint

  • Change of tags is ignored. Please use the apropriate endpoint

  • Change of externalId is ignored.

This example updates the hotel from above with the externen ID "HTL21344".

  • Replace CCCCCC with the customer ID, you can find this under Account Settings > General Settings > Account ID.

  • Replace xxxxxx-xxxxxx-xxxxxx-xxxxxx with the API key, you can find this under Account Settings > General Settings > API Key

curl --location --request PUT 'https://services.schneidergeo.com/content/geodata/poi/CCCCCC/HOTELS/HTL21344' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx' \
--header 'Content-Type: text/plain;charset=UTF-8' \
--data-raw '
{
  "names": {
    "de": "Hotel Post",
    "en": "Hotel Post"
  },
  "descriptions": {
    "de": "Unser Partnerhotel in Salzburg",
    "en": "Our partner hotel in Salzburg"
  },
  "lat": 47.9455079,
  "lng": 12.9364846,
  "icon": "hotel",
  "attributes": {
    "phone": "+43 6272 4422",
    "web": "https://hotelpost.at"
  }
}
'