by KasperD » Tue Jul 23, 2019 7:01 am
florian.krietsch wrote:Hello Bernd,
There is a test instance available that can be used for API tests. Link follows.
As for the documentation I will post here request and responses for the xIntermodal specific functions.
e.g. intermodal routing request:
Code: Select all
{
"routingOptions": {
"startTime": "2016-08-19T11:00:00+02:00",
"maxCosts": 40000,
"accompanied": false,
"timeCostWeight": 75,
"numberOfAlternatives": 5,
"withWayList": false,
"maxDuration": 0,
"maxTransfers": 0,
"maxTerminalDistance": 0,
"planningHorizon": 0,
"excludedOperatorCodes": [
"NYK"
],
"excludedTransportModeCodes": [
"TM_TTN_AIR"
],
"excludedTerminalCodes": []
},
"stopOffs": [
{
"code": "",
"name": "Milano Z.I.",
"point": {
"$type": "PlainPoint",
"x": 9.225543,
"y": 45.500566,
"z": 0
},
"country": "IT",
"postalCode": "",
"city": "Milano",
"street": "",
"houseNumber": ""
},
{
"code": "",
"name": "Karlsruhe Industriegebiet",
"point": {
"$type": "PlainPoint",
"x": 8.467727,
"y": 49.019058,
"z": 0
},
"country": "DE",
"postalCode": "",
"city": "Karlsruhe",
"street": "",
"houseNumber": ""
}
]
}
Hi,
Any update on this? can you provide links to API's/service URL's, and possible documentation?
[quote="florian.krietsch"]Hello Bernd,
There is a test instance available that can be used for API tests. Link follows.
As for the documentation I will post here request and responses for the xIntermodal specific functions.
e.g. intermodal routing request:
[code]{
"routingOptions": {
"startTime": "2016-08-19T11:00:00+02:00",
"maxCosts": 40000,
"accompanied": false,
"timeCostWeight": 75,
"numberOfAlternatives": 5,
"withWayList": false,
"maxDuration": 0,
"maxTransfers": 0,
"maxTerminalDistance": 0,
"planningHorizon": 0,
"excludedOperatorCodes": [
"NYK"
],
"excludedTransportModeCodes": [
"TM_TTN_AIR"
],
"excludedTerminalCodes": []
},
"stopOffs": [
{
"code": "",
"name": "Milano Z.I.",
"point": {
"$type": "PlainPoint",
"x": 9.225543,
"y": 45.500566,
"z": 0
},
"country": "IT",
"postalCode": "",
"city": "Milano",
"street": "",
"houseNumber": ""
},
{
"code": "",
"name": "Karlsruhe Industriegebiet",
"point": {
"$type": "PlainPoint",
"x": 8.467727,
"y": 49.019058,
"z": 0
},
"country": "DE",
"postalCode": "",
"city": "Karlsruhe",
"street": "",
"houseNumber": ""
}
]
} [/code][/quote]
Hi,
Any update on this? can you provide links to API's/service URL's, and possible documentation?