API Response Codes
The TN360 API uses HTTP response codes to indicate error states.
Response Categories
There are three main groups of response codes:
| Response Category | Meaning |
|---|---|
| 2xx success response codes | indicates a successful API call. This may include an empty response if no additional data is available. |
| 4xx error status codes | indicate an error related to the information provided on the API call (e.g., a required parameter is missing) |
| 5xx error status codes | indicate TN360 server errors. |
Standard Error Code Responses
| Response code | Meaning |
|---|---|
| 200 | The API call was successful |
| 204 | No data is available |
| 400 | Bad request. This error is likely the result of an incorrect request (eg. a missing parameter). |
| 401 | The call is unauthorised. Either the API key is invalid or expired, or you are trying to access an object that is not authorised by this key |
| 404 | The specific object is not found. This could be an incorrect URL or an unknown resource (in which case additional error information will be provided in the HTTP response) |
| 500 | Internal server error. TeletracNavman staff will be investigating. |