Simulation
Simulation System API Calls are only for the VTCs who have atleast 5 boosts.
In order to recieve Simulations System Details, you will need to perform following API Calls:
Simulation endpoints
Use the pages in this section to find each endpoint.
TruckersHub VTC Simulation Data
You can get all TruckersHub VTC's Simulation Data by making a GET request to https://api.truckershub.in/v1/simulation.
After a successfully call an instance of the VTC Simulation Object will be returned.
Simulation Milestones
You can get Simulation Milestones of your company by making a GET request to https://api.truckershub.in/v1/simulation/milestone.
After a successfully call an instance of the Milestone Object will be returned.
Unlock New Milestone
New milestones can be unlocked by making a POST request to https://api.truckershub.in/v1/simulation/milestone. You will need to include the City ID of the driver in the request body:
{
body: {
cityID: "kassel"
}
}
After a successfully call an instance of the VTC Simulation Object will be returned.
Simulation Jobs
You can get Simulation Jobs of your company by making a GET request to https://api.truckershub.in/v1/simulation/jobs.
After a successfully call an Array of the Simulation Job Object will be returned.
Regenerate Simulation Jobs
Simulation Jobs can be Regenerated by making a POST request to https://api.truckershub.in/v1/simulation/jobs/regenerate. You will need to include the Simulation Job ID of the driver in the request body:
{
body: {
id: 1
}
}
After a successfully call an instance of the Simulation Job Object will be returned.
Simulation Finances
You can get Simulation Finances of your company by making a GET request to https://api.truckershub.in/v1/simulation/finance.
After a successfully call an Array of the Simulation Finances Object will be returned.
Simulation Market Jobs
You can get Simulation Market Jobs of your company by making a GET request to https://api.truckershub.in/v1/simulation/market.
After a successfully call an Array of the Simulation Job Object will be returned.