Skip to main content
POST
Calculate batch routes

Authorizations

Authorization
string
header
required

API key authentication. Include your API key in the Authorization header.

Body

application/json

Request DTO for batch route processing

routes
object[] | null
required

Array of route requests to process in batch

Required array length: 2 - 20 elements

Response

Batch routes processed successfully. Batch processing is handled by the external routing service.

Response DTO for batch route processing

results
object[] | null
required

Array of individual route results

successful
integer<int32> | null
required

Number of routes that processed successfully

failed
integer<int32> | null
required

Number of routes that failed to process

total
integer<int32> | null
required

Total number of routes in the batch