Status Codes – Trip
Below is the table with the status codes for each endpoint available on the Trip API:
Code | Method | Endpoint | Description |
201 | POST | https://api.maplink.global/trip/v1/problems https://api.maplink.global/trip/v2/calculations | Request Created |
400 | POST | https://api.maplink.global/trip/v1/problems https://api.maplink.global/trip/v2/calculations | Error: Bad Request (missing parameters, incomplete sending or request with errors) |
500 | POST | https://api.maplink.global/trip/v1/problems https://api.maplink.global/trip/v2/calculations | An Internal Server Error occurred (internal error in processing the requisition) |
200 | GET | https://api.maplink.global/trip/v1/solutions/{{tripId}} | OK (solution found to a problem ID) |
404 | GET | https://api.maplink.global/trip/v1/solutions/{{tripId}} | NOT FOUND (not found due to incorrect ID or processing not completed) |
500 | GET | https://api.maplink.global/trip/v1/solutions/{{tripId}} | An Internal Server Error occurred (internal error in processing the requisition) |