Analysis Accepting

Request

Accept an analysis by sending a POST request.

Format

POST
URL request example
https://api.tomtom.com/origindestination/1/analysis/{id}/accept?key={apiKey}

Example

POST
URL request example
https://api.tomtom.com/origindestination/1/analysis/512/accept?key=test-api-key

Parameters

ParameterDescription

id

Analysis number id.

apiKey

Authorization key for access to the API.

HTTP Response Codes

CodeReason

201

Created

400

Bad request - analysis was not in status ENDED

401

Unauthorized

403

Forbidden

404

Not Found