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
  • A) Create route
  • B) Update route
  1. Developers
  2. Content API

Content | Create and update routes

A) Create route

Prerequisite:

You have created a guidebook or library which shall contain the route. This example creates a new route in the guidebook with the internal ID "bbbbbb".

  • Replace bbbbbb with your guidebook-ID, you can find this in your guidebook > Actions > Edit > Internal ID

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

curl --location --request POST 'https://services.schneidergeo.com/content/guidebook/bbbbbbb/route' 
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx' \
--header 'Content-Type: text/plain;charset=UTF-8' \
--data-raw '{
    "externalid": "aa-bb-cc",
    "remark":"This is a test route",
    "names": {
        "en": "Testroute in Arnhem",
        "de": ""
    },
    "descriptions": {
        "en": "",
        "de": ""
    },
    "color": "1c21e1",
    "icon": {
            "name": "hiking"
    },
    "category": {
        "names": {
            "en": "Imported",
            "de": ""
        }    
    },
    "enabled": true,
    "waypoints": [
        {
            "lat": 51.96252,
            "lon": 5.88772,
            "ele": 13
        },
        {
            "lat": 51.96253,
            "lon": 5.88772,
            "ele": 13
        },
        {
            "lat": 51.9628,
            "lon": 5.88796,
            "ele": 13
        },
        {
            "lat": 51.96359,
            "lon": 5.88833,
            "ele": 14
        },
        {
            "lat": 51.96438,
            "lon": 5.88871,
            "ele": 11
        },
        {
            "lat": 51.96495,
            "lon": 5.88885,
            "ele": 9
        },
        {
            "lat": 51.96552,
            "lon": 5.889,
            "ele": 9
        }
        
    ]
}'

B) Update route

This example updates the route with internal ID "rrrrrr" .

  • Replace rrrrrr with the route ID, you can find it in the Edit Route > Identifiers section.

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

curl --location --request PUT 'https://services.schneidergeo.com/content/geodata/route/rrrrrr' \
--header 'Authorization: xxxxxx-xxxxxx-xxxxxx-xxxxxx' \
--header 'Content-Type: text/plain;charset=UTF-8' \
--data-raw '{
    "externalid": "aa-bb-cc",
    "remark":"This is a test route",
    "names": {
        "en": "Testroute in Arnhem",
        "de": ""
    },
    "descriptions": {
        "en": "",
        "de": ""
    },
    "color": "1c21e1",
    "icon": {
            "name": "hiking"
    },
    "category": {
        "names": {
            "en": "Imported",
            "de": ""
        }    
    },
    "enabled": true,
    "waypoints": [
        {
            "lat": 51.96252,
            "lon": 5.88772,
            "ele": 13
        },
        {
            "lat": 51.96253,
            "lon": 5.88772,
            "ele": 13
        },
        {
            "lat": 51.9628,
            "lon": 5.88796,
            "ele": 13
        },
        {
            "lat": 51.96359,
            "lon": 5.88833,
            "ele": 14
        },
        {
            "lat": 51.96438,
            "lon": 5.88871,
            "ele": 11
        },
        {
            "lat": 51.96495,
            "lon": 5.88885,
            "ele": 9
        },
        {
            "lat": 51.96552,
            "lon": 5.889,
            "ele": 9
        }
        
    ]
}'

PreviousContent APINextContent | Create and update Point-Of-Interests (POIs)

Last updated 2 years ago