Analysis Rejecting
Purpose
Reject an analysis by sending a POST request.
An analysis can be rejected only from the ENDED status, and rejecting it moves it to REJECTED.
A rejected analysis is not consumed against the limits granted to your contract and its results stay
unavailable. The request has no body and a successful response has no body either.
Request data
HTTPS Method: POST
For ease of viewing and identification:
- Parameters enclosed in curly brackets { } must be replaced with their values.
- Please see the following Request parameters section with the required and optional parameters tables for their values. The generic request format is as follows.
Format
post
URL request format
https://api.tomtom.com/origindestination/1/analysis/{id}/reject?key={Your_API_Key}Example
post
URL request example
https://api.tomtom.com/origindestination/1/analysis/512/reject?key={Your_API_Key}Request parameters
Required parameters | Description |
|---|---|
| Analysis number id. Value: The analysis number id. |
| Authorization key for access to the API. Value: Your valid API Key. |
Response data
Errors
If there is an error in the supplied parameters or any other internal problem, an error response is generated in the requested format.
Response codes
Code | Meaning & possible causes |
|---|---|
| OK |
| Bad Request |
| Unauthorized |
| Forbidden |
| Not Found |