Analysis Rejecting

Service version: 1
Last edit: 2022.08.22

Purpose

Reject an analysis by sending a POST request.

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}/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 parametersDescription
baseURL
string
The base URL for calling TomTom services.
Value: api.tomtom.com
versionNumber
string
Version of the service to call.
Value: The current value is 1.
id
integer
Analysis number id.
Value: The analysis number id.
key
string
Authorization key for access to the API.
Value: Your valid API Key.

Response data

Response codes

CodeMeaning & possible causes
201Created
400Bad request - analysis was not in status ENDED
401Unauthorized
403Forbidden
404Not Found