-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example request to trias service #1
Comments
A very simple working example is: <Trias version="1.2" xmlns="http://www.vdv.de/trias" xmlns:siri="http://www.siri.org.uk/siri">
<ServiceRequest>
<siri:RequestTimestamp>2019-02-17T12:14:01.139+01:00</siri:RequestTimestamp>
<RequestPayload>
<LocationInformationRequest>
<InitialInput>
<LocationName>Düsseldorf</LocationName>
</InitialInput>
</LocationInformationRequest>
</RequestPayload>
</ServiceRequest>
</Trias> URL: The endpoint, you have access to Please make sure, that the trias version matches the version of your endpoint. In this examples case, it is |
@forgemo Thank you for your answer. I tried your solution and it gave me the error 400 again. I started to play with the URL and came to the conclusion that the url published by the company was wrong. Some kind of an error I did not thought of... PS: Both your and my body worked perfectly after trying with the correct URL :) |
What is the correct URL? Did you find it? |
Would you provide an example request to a trias service? E.g. Location Information Request with Initial input because the general structure is not clear.
Things mentioned should be:
I tried with the following body and get a 400 :
as POST request to the trias endpoint.
The text was updated successfully, but these errors were encountered: