Endpoints
See all the endpoints which are available on our API
Managing Drivers via our API
You can manage your drivers by disabling or enabling live tracking and job tracker per driver. Use a PATCH
method on
the endpoint https://api.tracksim.app/v1/drivers/<steam_64id>/manage
with the body below:
Body
{
"eut2_job_logging": true,
"eut2_live_tracking": true,
"ats_job_logging": true,
"ats_live_tracking": true
}
Response
{
"id": 3,
"steam_id": "76561198171686422",
"username": "Nathan7471",
"profile_photo_url": "https://avatars.akamai.steamstatic.com/8a7875512f066802864fc9946845cf24a0873193_full.jpg",
"client": {
"is_installed": true,
"version": {
"version": "1.0.0",
"branch": "stable",
"platform": "windows"
}
},
"settings": {
"eut2": {
"job_logging": true,
"live_tracking": true
},
"ats": {
"job_logging": true,
"live_tracking": true
}
},
"is_banned": false,
"last_active": "2023-02-15T22:21:16.563Z"
}
Get Driver Details
You can view details about a driver in your company using the GET
method on the endpoint https://api.tracksim.app/v1/drivers/<steam_64id>/details
.
Response
{
"id": 3,
"steam_id": "76561198171686422",
"username": "Nathan7471",
"profile_photo_url": "https://avatars.akamai.steamstatic.com/8a7875512f066802864fc9946845cf24a0873193_full.jpg",
"client": {
"is_installed": true,
"version": {
"version": "1.0.0",
"branch": "stable",
"platform": "windows"
}
},
"settings": {
"eut2": {
"job_logging": true,
"live_tracking": true
},
"ats": {
"job_logging": true,
"live_tracking": true
}
},
"is_banned": false,
"last_active": "2023-02-15T22:21:16.563Z"
}
Get Job Route Endpoint
You can route details about a job in your company using the GET
method on the endpoint https://api.tracksim.app/v1/jobs/<job_id>/route
.
If you are going to be requesting this endpoint a lot to avoid rate limiting, we suggest you stored the returned array on your own systems.
The array is returned in starting order from the beginning of the job to the end of the job.
Response
[
{
"x": -104770.3412,
"z": -4.7508,
"time": 1677627692
}
]