Use a valid Bearer token to authenticate.
Fundamental entity within an organization, serving as the central point for managing various operational components. Use GET /hubs endpoint to get the list of Hub IDs. Example: 634e98498ce07d29474a7e29
List of visits used for routing. Each visit represents a destination to be included in the optimized route.
List of vehicles used for routing. Each vehicle represents a specific vehicle available for the route optimization process.
The desired name for the routing result. Users have the flexibility to define a custom name for the result. Default: Routing m-d H:i.
Example: Routing 01-03 10:53
Coordinate of the hub. The hub coordinates represent the geographic coordinates (latitude and longitude) of the central location or starting point for the route optimization process. Example: -6.230815251666679,106.75684387903198
Configuration settings for route optimization. The default values for these configuration settings are taken from the menu route configuration at web.mile.app.
This key allows users to assign unique values for result optimization data as per their requirements. If not provided, the response will automatically generate a unique resultCode. Additionally, the resultCode key can be used as a filter to categorize API responses efficiently. Default: Unique Timestamp Example: Route-20230801-001
Determines the routing date to comply with odd-even traffic regulations applicable on that day. This date is used to check whether vehicles are allowed to enter odd-even restricted areas based on their license plate numbers. Format: Y-m-d Example: 2023-08-08
When the background parameter is set to true , the routing will be processed in the background. In this mode, the API call will return quickly with a response indicating that the routing request has been received and is being processed asynchronously in the background. When the background parameter is set to false (default), the routing will be processed directly via the API, and the response will be provided immediately. This means that the API call will wait for the route optimization process to complete before returning the results to the user.
Default: false