Analysis Cancellation
Purpose
Send a POST request to cancel an analysis.
Request data
HTTPS Method: POST
For ease of viewing and identification:
- Constants and 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://{baseURL}/origindestination/{versionNumber}/analysis/{id}/cancel?key={Your_API_Key}
Example
post
URL request example
https://api.tomtom.com/origindestination/1/analysis/512/cancel?key={Your_API_Key}
Request parameters
Required parameters | Description |
---|---|
| The base URL for calling TomTom services. Value: |
| Version of the service to call. Value: The current value is |
| Analysis number id. Value: The analysis number id. |
| Authorization key for access to the API. Value: Your valid API Key. |
Required POST Headers
Header | Value |
---|---|
application/json |
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 |
---|---|
201 | Created |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |