Search Jobs
Important Note
Explore ready-to-use traffic reports and data visualizations immediately by signing up for a 30-day free trial on the MOVE Portal. Once registered, you'll receive an API key to start using the Traffic Analytics APIs right away. Alternatively, you may contact our Sales team for a tailored solution.
Purpose
Use this endpoint to list all of your jobs, or just filter out a part of them.
Request data
HTTPS method: GET
Constants and parameters enclosed in curly brackets { } must be replaced with their values.
URL format
https://{baseURL}/traffic/trafficstats/job/search/{versionNumber}?key={Your_API_Key}
Request parameters
The following table describes all of the parameters that can be used in a request. Required parameters must be used or the call will fail. Optional parameters may be used.
Required parameters | Description |
---|---|
| Base URL for calling the API. |
| Service version number. |
| Authorization key for access to the API. |
Optional parameters | Description |
---|---|
| Index of a page with jobs. Page counting starts from 0. When the number
of jobs matching the specified search criteria is greater than
|
| Numer of jobs included in the page. The last page may have less jobs. |
| Earliest date of requesting jobs (inclusive). |
| Latest date of requesting jobs (inclusive). |
| Earliest date of completing jobs (inclusive). |
| Latest date of completing jobs (inclusive). |
| Name of job(s). By default exact match is done.
|
| Id of a job. |
| The type of jobs.
|
| The current state of jobs.
|
Request URL example
https://api.tomtom.com/traffic/trafficstats/job/search/1?key={Your_API_Key}&createdAfter=2018-01-01&createdBefore=2018-02-01&name=%London%&type=routeanalysis&state=DONE
Response data
Response example
1{2 "content": [3 {4 "id": 123,5 "name": "London A501 weekdays",6 "type": "Route Analysis",7 "createdAt": "2018-01-02T10:22:33Z",8 "completedAt": "2018-01-02T11:28:22Z",9 "state": "DONE"10 },11 {12 "id": 127,13 "name": "London A501 weekends",14 "type": "Route Analysis",15 "createdAt": "2018-01-02T10:18:47Z",16 "completedAt": "2018-01-02T11:24:07Z",17 "state": "DONE"18 },19 {20 "id": 365,21 "name": "Waterloo Bridge in London City",22 "type": "Route Analysis",23 "createdAt": "2018-01-05T20:18:10Z",24 "completedAt": "2018-01-05T21:24:08Z",25 "state": "DONE"26 }27 ],28 "pageable": {29 "sort": {30 "sorted": true,31 "unsorted": false,32 "empty": false33 },34 "pageSize": 20,35 "pageNumber": 0,36 "offset": 0,37 "paged": true,38 "unpaged": false39 },40 "totalElements": 3,41 "last": false,42 "totalPages": 1,43 "first": true,44 "sort": {45 "sorted": true,46 "unsorted": false,47 "empty": false48 },49 "numberOfElements": 20,50 "size": 20,51 "number": 0,52 "empty": false53}
Response fields - JSON
Field | Description |
---|---|
| The job ID. |
| Name of the job. |
| Type of the job.
|
| Job creation time. Timestamp in the format:
|
| Job completion time. Timestamp in the format:
|
| The job state:
|