116 results have been found
Avoid
/en/documentation/routing-api/code-samples/routing/avoid
Avoid | Routing API Documentation | PTV Developer GET Latitude A Longitude A Latitude B Longitude B Avoid features TOLL FERRIES RAIL_SHUTTLES Results TOLL_COSTS COMBINED_TRANSPORT_EVENTS Example presets Toll example Ferry example Rail Shuttle example …
Sequence optimization - Transport priorities
/en/documentation/sequence-optimization-api/code-samples/transport-priorities
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 …
Vehicle Parameters at Waypoint
/en/documentation/routing-api/code-samples/routing/vehicle-parameters-waypoint
Vehicle Parameters at Waypoint | Routing API Documentation | PTV Developer POST Waypoint A Latitude A Longitude A Load weight Waypoint B Latitude B Longitude B Load weight Waypoint C Latitude C Longitude C Load weight Request Body Send Request Response …
Data API Reference
/en/documentation/data-api/data-api-reference
{ "openapi": "3.0.1", "info": { "title": "Data", "version": "1.10", "description": "With the Data service you can obtain additional data such as vehicle profiles.", "contact": { "url": "https://developer.myptv.com/" } }, "tags": [ { "name": "Map …
Predefined Profiles
/en/documentation/data-api/code-samples/predefined-profiles
GET Send Request Response Waiting for response... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … This code sample describes how to request the predefined …
Drivers' Working Hours - Create a Sequence
/en/documentation/sequence-optimization-api/code-samples/drivers-working-hours-create-sequence
Drivers' working hours | Sequence Optimization API Documentation | PTV Developer POST Working hours preset (Mind that if the break fields are also specified, the most restrictive value will apply.) Working hours preset: No Value No Value …
Cancel Bin Packing
/en/documentation/loading-space-optimization-api/code-samples/cancel-bin-packing
DELETE Bin Packing ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … Cancels the bin packing optimization. To get a valid bin packing …
Get Packed Bins
/en/documentation/loading-space-optimization-api/code-samples/get-packed-bins
GET Bin Packing ID Send Request Response Waiting for request to be completed... Request Sample C# JavaScript Python Java PowerShell // C# // JavaScript // Python // Java // PowerShell … Get the optimized packed items and bins. To get a valid bin packing …
Get Status
/en/documentation/loading-space-optimization-api/code-samples/get-status
GET Bin Packing 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 bin …
Start a Bin Packing
/en/documentation/loading-space-optimization-api/code-samples/start-bin-packing
POST Focus BUILD_LAYERS BUILD_LAYERS REDUCE_LOADING_METERS Number of bins (40 Ft. container) List of items Request Body Send Request Add New Item Response The result is an ID that can be used for further requests. Waiting for response... Request Sample …
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 …
Loading Space Optimization API Reference
/en/documentation/loading-space-optimization-api/loading-space-optimization-api-reference
{ "openapi": "3.0.1", "info": { "title": "Loading Optimization", "version": "1.1", "description": "With the Bin Packing service you can pack a number of items of various types into a number of bins of various types.", "contact": { "url": …
Sequence Optimization API Reference
/en/documentation/sequence-optimization-api/sequence-optimization-api-reference
{ "openapi": "3.0.1", "info": { "title": "Sequence Optimization", "description": "With the Sequence Optimization service you can find the best route for your transports.", "version": "1.8", "contact": { "url": "https://developer.myptv.com/" } }, "tags": [ …
EWS Road Distance API Reference
/en/documentation/ews-road-distance-api/ews-road-distance-api-reference
{ "openapi": "3.0.1", "info": { "title": "EWS Road Distance", "version": "1.4", "description": "With the EWS Road Distance service you can query pre-calculated distances and additional information for relations between reference locations in Europe.", …
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 …
Matrix Routing API Reference
/en/documentation/matrix-routing-api/matrix-routing-api-reference
{ "openapi": "3.0.1", "info": { "title": "Matrix Routing", "version": "1.6", "description": "With the Matrix Routing service you can compute distances and travel times between a set of origins and destinations.", "contact": { "url": …