Transferring Lines and Tours as JSON
Use the following URL to retrieve lines stored in Travelmanager through the API:
xml.php?token=xyz&aktion=getLinien
| Parameter | Description |
|---|---|
token | Valid API token for account access. |
aktion | Must contain getLinien for this request. |
The request returns all relevant information about lines and tours. The result is a JSON array.
Example Response
[
{
"linie_id": "1",
"name": "Line 1",
"beschreibung": "Description of line 1"
},
{
"linie_id": "2",
"name": "Line 2",
"beschreibung": "Description of line 2"
}
]
Use this information for further processing in your own system.