Booking software

Transfer lines and tours as JSON

To query the lines stored in the system via the API of the Travelmanager booking software, you can use the following URL:

`xml.php?token=xyz&aktion=getLinien`

This query returns all relevant information about the lines and tours. The result is a JSON array containing the list of lines.

Example for the return:

```json

[

{

"line_id": "1",

"name": "line 1",

"description": "Description of line 1"

},

{

"line_id": "2",

"name": "Line 2",

"description": "Description of line 2"

}

]

```

Use this information to process the lines and tours in your system.