Content | 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
Last updated
curl --location --request POST 'https://services.schneidergeo.com/content/geodata/poi' \
--header 'Content-Type: application/json' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx' \
--data-raw '
{
"account":"CCCCCC",
"library":{
"customId":"MY_HOTELS_LIB"
},
"customId":"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"
}
}
]
}
'curl --location --request PUT 'https://services.schneidergeo.com/content/geodata/poi/CCCCCC/HOTELS/HTL21344' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx' \
--header 'Content-Type: application/json' \
--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"
}
}
'