GET api/Route/{id}?language={language}&format={format}
Returns a route in XML.
This api can be called without authorization, e.g. as a link on a webpage.
Test
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The id of the route. Note that this is not a product id. |
integer |
Required |
language |
The requested language. Possible values are da, de and en. Default is da. Note that this parameter will override an Accept-Language header. |
string |
None. |
format |
The format to return. Possible values are GPX and KML. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
An XML document in GPX or KML format.
stringResponse Formats
application/json, text/json
Sample:
"sample string"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>