97 results have been found
Optimizing with Stacking Restrictions
/en/documentation/loading-space-optimization-api/code-samples/optimizing-stacking-restrictions
POST Stacking restrictions between the items No stacking restrictions No stacking restrictions No item can be stacked Stackable only if same id Stackable except if same id BoxType 1 can not be stacked Only BoxType 3 can be stacked on itself Request Body …
Optimizing with Unloading Sequence
/en/documentation/loading-space-optimization-api/code-samples/optimizing-unloading-sequence
POST Choose an unloading sequence No unloading sequence No unloading sequence BoxType 1, then 2, finally 3 BoxType 3, then 2, finally 1 BoxType 1, then 3, finally 2 3 of (1,3,2) and 3 of (1,2,3) 3 of (1,3,2) and 3 of (1,2,3) with stackOnTopOfNextStops …
Optimizing with Orientation
/en/documentation/loading-space-optimization-api/code-samples/optimizing-orientation
POST Allowed orientations ORIGINAL X Y Z XZ YZ Request Body Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … This code sample describes how the engine …
Optimizing with Stackability
/en/documentation/loading-space-optimization-api/code-samples/optimizing-stackability
POST Stackability of the items All stackable All stackable All non-stackable Request Body Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … This code …
Optimizing with Focus
/en/documentation/loading-space-optimization-api/code-samples/optimizing-focus
POST Focus No value No Value BUILD_LAYERS REDUCE_LOADING_METERS Request Body Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … This code sample …
Delete the Sequence
/en/documentation/sequence-optimization-api/code-samples/sequence-optimization/delete-sequence
Delete the sequence | Sequence Optimization API Documentation | PTV Developer DELETE Route ID Insert the generated unique route ID here: Send Request The Send Request button submits a deletion. If the deletion is successful, the status code 204 (no …
Get Result of the Sequence
/en/documentation/sequence-optimization-api/code-samples/sequence-optimization/get-result-sequence
Get result | Sequence Optimization API Documentation | PTV Developer GET Route ID Insert the generated unique route ID here: Send Request The Send Request button fetches the route. If the optimization was successful, the response contains an updated …
Sequence Optimization - Create and Optimize a Sequence
/en/documentation/sequence-optimization-api/code-samples/sequence-optimization/sequence-optimization
How to create a request | Sequence Optimization API Documentation | PTV Developer POST Time window Choose a time window for the availability of the driver and all transports: From 08:00 00:00 01:00 02:00 03:00 04:00 05:00 06:00 07:00 08:00 09:00 10:00 …
How to Create a Sequence
/en/documentation/sequence-optimization-api/code-samples/sequence-optimization/how-create-sequence
The code sample explains how to create a sequence optimization request to find the best route for your transports. The first step to schedule a route is to start the optimization, the second step is to retrieve the optimized route: Create and optimize a …
Delete a Plan
/en/documentation/route-optimization-api/code-samples/round-trip/delete-plan
Delete a plan | Route Optimization API Documentation | PTV Developer DELETE Plan ID Insert the generated unique plan ID here: Send Request The Send Request button submits a deletion. If the deletion is successful, the status code 204 (no content) is …
Road Distances
/en/documentation/ews-road-distance-api/code-samples/road-distances
Road Distances | EWS Road Distance API Documentation | PTV Developer GET Start locality Country Postal code Locality Destination locality Type CITY CITY PORT BORDER Country DE DE AT AL AD BA BE BG BY CH CY CZ DK ES EE FI FR GB GE GI GR HR HU IE IT LI LT …
Cancel Matrix Calculation
/en/documentation/matrix-routing-api/code-samples/cancel-matrix-calculation
DELETE Matrix Calculation ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … Cancels the matrix calculation. To get a valid matrix …
Get Matrix
/en/documentation/matrix-routing-api/code-samples/get-matrix
GET Matrix Calculation ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … Get the calculated matrix. To get a valid matrix calculation …
Get Status
/en/documentation/matrix-routing-api/code-samples/get-status
GET Matrix Calculation ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … Get operation status of optimization run. To get a valid …
Start a Matrix Calculation
/en/documentation/matrix-routing-api/code-samples/start-matrix-calculation
POST Profile No value No Value EUR_TRAILER_TRUCK EUR_TRUCK_40T EUR_TRUCK_11_99T EUR_TRUCK_7_49T EUR_VAN EUR_CAR EUR_TLN_TRUCK_40T EUR_TLN_TRUCK_20T EUR_TLN_TRUCK_11_99T EUR_TLN_VAN USA_1_PICKUP USA_5_DELIVERY USA_8_SEMITRAILER_5AXLE …
Calculate a Matrix
/en/documentation/matrix-routing-api/code-samples/calculate-matrix
POST Profile No value No Value EUR_TRAILER_TRUCK EUR_TRUCK_40T EUR_TRUCK_11_99T EUR_TRUCK_7_49T EUR_VAN EUR_CAR EUR_TLN_TRUCK_40T EUR_TLN_TRUCK_20T EUR_TLN_TRUCK_11_99T EUR_TLN_VAN USA_1_PICKUP USA_5_DELIVERY USA_8_SEMITRAILER_5AXLE …
Calculate Reachable Areas Synchronously
/en/documentation/routing-api/code-samples/reachable-areas/calculate-reachable-areas-synchronously
Calculate Reachable Areas Synchronously | Routing API Documentation | PTV Developer GET Latitude A Longitude A Horizon type DISTANCE No Value TRAVEL_TIME DISTANCE Horizons Driving direction OUTBOUND No Value OUTBOUND INBOUND Profile No Value No Value …
Violation Events Polyline
/en/documentation/routing-api/code-samples/routing/violation-events-polyline
Violation Events Polyline | Routing API Documentation | PTV Developer GET Latitude A Longitude A Latitude B Longitude B Profile No value No Value EUR_TRAILER_TRUCK EUR_TRUCK_40T EUR_TRUCK_11_99T EUR_TRUCK_7_49T EUR_VAN EUR_CAR EUR_TLN_TRUCK_40T …
Block Intersecting Roads
/en/documentation/routing-api/code-samples/routing/block-intersecting-roads
Block intersecting roads | Routing API Documentation | PTV Developer GET Route coordinates Latitude A Longitude A Latitude B Longitude B Intersection line coordinates Latitude A Longitude A Latitude B Longitude B Send Request Response Waiting for …
Guided Navigation
/en/documentation/routing-api/code-samples/routing/guided-navigation
Guided Navigation | Routing API Documentation | PTV Developer GET Latitude A Longitude A Latitude B Longitude B Send Request Response Waiting for response... To use 'Guided Navigation' in PTV Navigator, you have to decode the base64 value of …
Monetary Costs
/en/documentation/routing-api/code-samples/routing/monetary-costs
Monetary Costs | Routing API Documentation | PTV Developer GET Latitude A Longitude A Latitude B Longitude B Profile No value No Value EUR_TRAILER_TRUCK EUR_TRUCK_40T EUR_TRUCK_11_99T EUR_TRUCK_7_49T EUR_VAN EUR_CAR EUR_TLN_TRUCK_40T EUR_TLN_TRUCK_20T …
Short and Fast Routes
/en/documentation/routing-api/code-samples/routing/short-and-fast-routes
Short and Fast Routes | Routing API Documentation | PTV Developer GET Latitude A Longitude A Latitude B Longitude B RoutingMode SHORT FAST Send Request Response SHORT FAST Route not requested. Route not requested. Request Sample C# JavaScript Python …
Recalculate with Events
/en/documentation/routing-api/code-samples/routing/recalculate-events
Recalculate with Events | Routing API Documentation | PTV Developer GET RouteId Results MANEUVER_EVENTS WAYPOINT_EVENTS TOLL_EVENTS BORDER_EVENTS VIOLATION_EVENTS UTC_OFFSET_CHANGE_EVENTS COMBINED_TRANSPORT_EVENTS TRAFFIC_EVENTS Send Request Response …
RouteIds
/en/documentation/routing-api/code-samples/routing/routeids
RouteIds | Routing API Documentation | PTV Developer GET Latitude A Longitude A Latitude B Longitude B Results ROUTE_ID Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // …
Get Alternative Route Details
/en/documentation/routing-api/code-samples/routing/get-alternative-route-details
Get Alternative Route Details | Routing API Documentation | PTV Developer GET ROUTE_ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … …