curl --request POST \
--url https://api.tread-horizon.com/v1/companies/{company-id}/orders/estimate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"equipment_capacity": 123,
"job_duration_minutes": 123,
"cycle_time_minutes": 123,
"total_loads": 123,
"truck_quantity": 123,
"total_units": 123
}
'{
"data": {
"truck_quantity": 123,
"loads_per_truck": 123,
"total_loads": 123,
"delivered_per_truck": 123,
"total_units": 123,
"units_per_hour": 123
}
}Generates estimated Order values.
One of total_loads, total_units, or truck_quantity must be set in the request.
curl --request POST \
--url https://api.tread-horizon.com/v1/companies/{company-id}/orders/estimate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"equipment_capacity": 123,
"job_duration_minutes": 123,
"cycle_time_minutes": 123,
"total_loads": 123,
"truck_quantity": 123,
"total_units": 123
}
'{
"data": {
"truck_quantity": 123,
"loads_per_truck": 123,
"total_loads": 123,
"delivered_per_truck": 123,
"total_units": 123,
"units_per_hour": 123
}
}Documentation Index
Fetch the complete documentation index at: https://docs.tread.ai/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.
"en"
Company ID
Required if you want calculations based on total loads counts
Required if you want calculations based on truck count
Required if you want calculations based on total units of material
OK
Show child attributes