Introduction

The Disposition API (DIS) is an HTTP JSON REST API, that automatically computes the optimal number of drivers required plus their respective routes to fulfil deliveries/pickups under the consideration of target times, weights, volumes and working hours. The API is customizable according to individual requirements and is functional in Germany, Portugal and the United Kingdom. Visit our tutorials or videos for more information on use cases.

The Disposition API request inputs are divided into the following sections:

The Disposition API response is divided into the following sections:

Get in touch to find out more on how to automate your fleet management processes.



Calculate Batch

Apply this method to compute the optimal number of drivers to fulfil orders in consideration of their requirements.

Request

Body

driver_details

A driver_details object consists of

object of driver starting location

latitude float

latitude of starting location

longitude float

longitude of starting location

start_time float optional Default: 1652418000

time(UTC) in Unix format at which the driver shall leave the starting location

end_time float optional Default: 1652446800

time(UTC) in Unix format at which the driver shall be back at the starting location

max_weight_per_driver float optional Default: None

maximum weight in kilograms a driver can carry at once

object of driver vehicle storage section dimensions

depth float Default: 0

depth in meters of the vehicle storage section. 0 means no limit on depth

height float Default: 0

height in meters of the vehicle storage section. 0 means no limit on height

width float Default: 0

width in meters of the vehicle storage section. 0 means no limit on width

orders

An order object consists of

identification string required

unique identifier to distinguish orders

latitude float required

latitude of the order

longitude float required

longitude of the order

buffer float optional Default: 300

time in seconds to complete the order

weight float optional Default: 0

weight in kilograms of the order

depth float optional Default: 0

depth in meters of the order

height float optional Default: 0

height in meter of the order

width float optional Default: 0

width in meter of the order

time_from float optional Default: 0

time(UTC) in Unix format of staring target delivery/pickup time window

time_to float optional Default: 0

time(UTC) in Unix format of ending target delivery/pickup time window

order_type integer optional Default: 0

switch to identify the order as delivery (value=0) or a pickup (value=1)

Response

Body

id string

unique identifier for a batch

Values used for driver detials in the calculations

object of driver starting location

latitude float

latitude of starting location

longitude float

longitude of starting location

start_time float

time(UTC) in Unix format at which the driver shall leave the starting location

end_time float

time(UTC) in Unix format at which the driver shall be back at the starting location

max_weight_per_driver float

maximum weight in kilograms a driver can carry at once

object of driver vehicle dimensions

depth float

depth in meters of the vehicle storage section

height float

height in meters of the vehicle storage section

width float

width in meters of the vehicle storage section

list of all computed trips

id string

unique identifier generated by the API to distinguish trips

list of all assigned orders to a specific trip

id string

unique identifier generated by the API to distinguish orders

identification string

unique identifier generated by the user to distinguish orders

latitude float

latitude of the order

longitude float

longitude of the order

buffer float

time in seconds to complete an order

weight float

weight in kilograms of the order

depth float

depth in meters of the order

height float

height in meters of the order

width float

width in meters of the order

time_from float

time(UTC) in Unix format of staring target delivery/pickup time window

time_to float

time(UTC) in Unix format of ending target delivery/pickup time window

duration float

duration in seconds for the driver to reach order coming from its previous location

distance float

distance in meters for the driver to reach order coming from its previous location

start_time float

time(UTC) in Unix format at which the driver is expected to leave for the order

arrival_time float

time(UTC) in Unix format at which the driver is expected to arrive at the order

end_time float

time(UTC) in Unix format at which the driver is expected to leave the order

stop_id Int

the position within a sequence of a trip in which the order is expected to be completed

order_type integer

identifier to distinguish the order between a delivery (value=0) and a pickup (value=1)

total_duration float

total duration in seconds of the trip

total_distance float

total distance in meters of the trip

start_time float

start time(UTC) of the trip in Unix format

end_time float

end time(UTC) of the trip in Unix format

polyline string

trip route path encoded in a flexible polyline format

polygon string

trip shape encoded in a flexible polyline format

batch string

id of the batch the trip is associated with

Example: Request in Python


import requests
import json

url = "https://www.synertics.io/disposition/batch/"

APIKey = 'Your API Key'

payload = json.dumps({
    "driver_details":{
        "starting_location":{
            "latitude": 48.12725450924125,
            "longitude": 11.49684665100143
        },
        "max_weight_per_driver":500,
        "vehicle_dimensions": {
            "height":600,
            "width":600,
            "depth":600
        },
        "start_time":1640995279,
        "end_time":1641081559
    },
    "orders":[{
        "buffer": 28,
        "weight": 7.0,
        "depth": 17.0,
        "width": 20.0,
        "height": 21.0,
        "time_from": 1641003138.0,
        "time_to": 1641031559.0,
        "latitude": 48.11204670943171,
        "longitude": 11.5222407401604,
        "order_type": 1,
        "identification": "hckF0zkDPo"
    },
    {
        "buffer": 8,
        "weight": 14.0,
        "depth": 15.0,
        "width": 14.0,
        "height": 11.0,
        "time_from": 1641005260.0,
        "time_to": 1641040827.0,
        "latitude": 48.1122630737256,
        "longitude": 11.547401195001541,
        "order_type": 0,
        "identification": "KSdnPaZ3WZ"
    },
    {
        "buffer": 82,
        "weight": 22.0,
        "depth": 19.0,
        "width": 20.0,
        "height": 14.0,
        "time_from": 1641008837.0,
        "time_to": 1641035989.0,
        "latitude": 48.16193117165046,
        "longitude": 11.49326201174247,
        "order_type": 1,
        "identification": "oElDzUaB8w"
    },
    {
        "buffer": 19,
        "weight": 6.0,
        "depth": 22.0,
        "width": 12.0,
        "height": 13.0,
        "time_from": 1641005326.0,
        "time_to": 1641035151.0,
        "latitude": 48.17361368308043,
        "longitude": 11.586589227335232,
        "order_type": 1,
        "identification": "Gyd75JmdwP"
    },
    {
        "buffer": 2,
        "weight": 14.0,
        "depth": 9.0,
        "width": 18.0,
        "height": 15.0,
        "time_from": 1641009567.0,
        "time_to": 1641034390.0,
        "latitude": 48.1207060811115,
        "longitude": 11.622491152093527,
        "order_type": 0,
        "identification": "k4PyyvxG03"
    },
    {
        "buffer": 19,
        "weight": 22.0,
        "depth": 6.0,
        "width": 22.0,
        "height": 5.0,
        "time_from": 1641007384.0,
        "time_to": 1641032273.0,
        "latitude": 48.179245985019854,
        "longitude": 11.545065041350721,
        "order_type": 1,
        "identification": "Q5Lad3p2XO"
    },
    {
        "buffer": 90,
        "weight": 16.0,
        "depth": 17.0,
        "width": 10.0,
        "height": 6.0,
        "time_from": 1641005667.0,
        "time_to": 1641034113.0,
        "latitude": 48.1201636869964,
        "longitude": 11.603595738054928,
        "order_type": 1,
        "identification": "KcZHoUqjhH"
    },
    {
        "buffer": 36,
        "weight": 16.0,
        "depth": 24.0,
        "width": 15.0,
        "height": 16.0,
        "time_from": 1641005558.0,
        "time_to": 1641034152.0,
        "latitude": 48.14134179290054,
        "longitude": 11.52540090241207,
        "order_type": 1,
        "identification": "nwoF_ZeJuw"
    },
    {
        "buffer": 45,
        "weight": 10.0,
        "depth": 8.0,
        "width": 9.0,
        "height": 21.0,
        "time_from": 1641005658.0,
        "time_to": 1641033749.0,
        "latitude": 48.169802375898655,
        "longitude": 11.567780092804789,
        "order_type": 1,
        "identification": "iM9yOgVIeb"
    },
    {
        "buffer": 9,
        "weight": 24.0,
        "depth": 22.0,
        "width": 9.0,
        "height": 18.0,
        "time_from": 1641007635.0,
        "time_to": 1641039875.0,
        "latitude": 48.17689898629643,
        "longitude": 11.53987864879006,
        "order_type": 1,
        "identification": "SXsBS36CLW"
    },
    {
        "buffer": 25,
        "weight": 23.0,
        "depth": 7.0,
        "width": 5.0,
        "height": 16.0,
        "time_from": 1641007761.0,
        "time_to": 1641041198.0,
        "latitude": 48.17671929224538,
        "longitude": 11.521486072834657,
        "order_type": 1,
        "identification": "bDCOD8sXXQ"
    },
    {
        "buffer": 33,
        "weight": 13.0,
        "depth": 17.0,
        "width": 20.0,
        "height": 24.0,
        "time_from": 1641008477.0,
        "time_to": 1641032617.0,
        "latitude": 48.10887516366968,
        "longitude": 11.518674878935018,
        "order_type": 1,
        "identification": "JbmGkJFwep"
    },
    {
        "buffer": 88,
        "weight": 9.0,
        "depth": 11.0,
        "width": 24.0,
        "height": 11.0,
        "time_from": 1641002929.0,
        "time_to": 1641035034.0,
        "latitude": 48.182339785021995,
        "longitude": 11.646520544119864,
        "order_type": 0,
        "identification": "ygPn5ZSR6w"
    },
    {
        "buffer": 73,
        "weight": 21.0,
        "depth": 6.0,
        "width": 23.0,
        "height": 11.0,
        "time_from": 1641003539.0,
        "time_to": 1641040479.0,
        "latitude": 48.20408477395729,
        "longitude": 11.556038360657544,
        "order_type": 0,
        "identification": "6dFp9byEg7"
    },
    {
        "buffer": 36,
        "weight": 14.0,
        "depth": 11.0,
        "width": 23.0,
        "height": 13.0,
        "time_from": 1641006244.0,
        "time_to": 1641041683.0,
        "latitude": 48.05048242905724,
        "longitude": 11.563583349600362,
        "order_type": 0,
        "identification": "GIL_zETYaF"
    },
    {
        "buffer": 68,
        "weight": 19.0,
        "depth": 16.0,
        "width": 7.0,
        "height": 9.0,
        "time_from": 1641006930.0,
        "time_to": 1641038657.0,
        "latitude": 48.09508875834551,
        "longitude": 11.530620316258332,
        "order_type": 1,
        "identification": "wQigZhc87d"
    },
    {
        "buffer": 17,
        "weight": 6.0,
        "depth": 21.0,
        "width": 5.0,
        "height": 21.0,
        "time_from": 1641008495.0,
        "time_to": 1641036845.0,
        "latitude": 48.199621508939146,
        "longitude": 11.63581485679464,
        "order_type": 0,
        "identification": "sOWAjgO2ba"
    },
    {
        "buffer": 71,
        "weight": 5.0,
        "depth": 10.0,
        "width": 6.0,
        "height": 24.0,
        "time_from": 1641005779.0,
        "time_to": 1641033336.0,
        "latitude": 48.17864549950504,
        "longitude": 11.51652639884091,
        "order_type": 0,
        "identification": "OYg-Ms__i5"
    },
    {
        "buffer": 66,
        "weight": 14.0,
        "depth": 23.0,
        "width": 23.0,
        "height": 22.0,
        "time_from": 1641007059.0,
        "time_to": 1641040657.0,
        "latitude": 48.09243453560968,
        "longitude": 11.542737065952357,
        "order_type": 0,
        "identification": "yckqflToOF"
    },
    {
        "buffer": 74,
        "weight": 11.0,
        "depth": 5.0,
        "width": 21.0,
        "height": 23.0,
        "time_from": 1641007658.0,
        "time_to": 1641033818.0,
        "latitude": 48.17051985256864,
        "longitude": 11.574443480780701,
        "order_type": 1,
        "identification": "0BJ4mgjIhu"
    },
    {
        "buffer": 32,
        "weight": 22.0,
        "depth": 7.0,
        "width": 14.0,
        "height": 10.0,
        "time_from": 1641007401.0,
        "time_to": 1641033640.0,
        "latitude": 48.05388713315523,
        "longitude": 11.577482395981432,
        "order_type": 1,
        "identification": "g7eGqqfrI1"
    },
    {
        "buffer": 16,
        "weight": 11.0,
        "depth": 18.0,
        "width": 10.0,
        "height": 10.0,
        "time_from": 1641007975.0,
        "time_to": 1641032787.0,
        "latitude": 48.16013599596619,
        "longitude": 11.4980300832807,
        "order_type": 1,
        "identification": "u6WXQzrZrx"
    },
    {
        "buffer": 58,
        "weight": 13.0,
        "depth": 11.0,
        "width": 18.0,
        "height": 12.0,
        "time_from": 1641008513.0,
        "time_to": 1641035726.0,
        "latitude": 48.176245098773975,
        "longitude": 11.557326973511216,
        "order_type": 0,
        "identification": "S5OceDpv1R"
    },
    {
        "buffer": 26,
        "weight": 17.0,
        "depth": 24.0,
        "width": 8.0,
        "height": 5.0,
        "time_from": 1641003356.0,
        "time_to": 1641033052.0,
        "latitude": 48.13874871248953,
        "longitude": 11.55977419002748,
        "order_type": 0,
        "identification": "owM-5xROj7"
    },
    {
        "buffer": 31,
        "weight": 16.0,
        "depth": 21.0,
        "width": 13.0,
        "height": 24.0,
        "time_from": 1641008717.0,
        "time_to": 1641037575.0,
        "latitude": 48.16867452408207,
        "longitude": 11.565808781220221,
        "order_type": 0,
        "identification": "5UIQR-ixmy"
    },
    {
        "buffer": 67,
        "weight": 12.0,
        "depth": 18.0,
        "width": 18.0,
        "height": 21.0,
        "time_from": 1641003527.0,
        "time_to": 1641037416.0,
        "latitude": 48.15358062441724,
        "longitude": 11.506323481732476,
        "order_type": 1,
        "identification": "TRe7VkSTk9"
    },
    {
        "buffer": 32,
        "weight": 6.0,
        "depth": 16.0,
        "width": 19.0,
        "height": 14.0,
        "time_from": 1641009219.0,
        "time_to": 1641040113.0,
        "latitude": 48.16673929712934,
        "longitude": 11.501041467210115,
        "order_type": 0,
        "identification": "SSFHrurOp3"
    },
    {
        "buffer": 41,
        "weight": 9.0,
        "depth": 7.0,
        "width": 13.0,
        "height": 7.0,
        "time_from": 1641004628.0,
        "time_to": 1641037290.0,
        "latitude": 48.08045735340454,
        "longitude": 11.596974100620145,
        "order_type": 1,
        "identification": "Ev1U9mA9MX"
    },
    {
        "buffer": 13,
        "weight": 7.0,
        "depth": 23.0,
        "width": 8.0,
        "height": 14.0,
        "time_from": 1641004716.0,
        "time_to": 1641040629.0,
        "latitude": 48.173950272776686,
        "longitude": 11.629808932795566,
        "order_type": 0,
        "identification": "YCbde0rt0C"
    },
    {
        "buffer": 56,
        "weight": 8.0,
        "depth": 12.0,
        "width": 15.0,
        "height": 14.0,
        "time_from": 1641004073.0,
        "time_to": 1641038868.0,
        "latitude": 48.12099551042603,
        "longitude": 11.571890344149947,
        "order_type": 1,
        "identification": "Nz2QW1LEhS"
    },
    {
        "buffer": 24,
        "weight": 17.0,
        "depth": 17.0,
        "width": 10.0,
        "height": 18.0,
        "time_from": 1641003102.0,
        "time_to": 1641035182.0,
        "latitude": 48.063060589455695,
        "longitude": 11.62181288915015,
        "order_type": 0,
        "identification": "XV8hYgSkAi"
    },
    {
        "buffer": 81,
        "weight": 16.0,
        "depth": 24.0,
        "width": 17.0,
        "height": 6.0,
        "time_from": 1641006814.0,
        "time_to": 1641035586.0,
        "latitude": 48.097573736661914,
        "longitude": 11.62365830985153,
        "order_type": 0,
        "identification": "1OhBxKj7Gd"
    },
    {
        "buffer": 86,
        "weight": 12.0,
        "depth": 17.0,
        "width": 16.0,
        "height": 8.0,
        "time_from": 1641008387.0,
        "time_to": 1641035958.0,
        "latitude": 48.14199548746897,
        "longitude": 11.49033420301222,
        "order_type": 1,
        "identification": "juHvl5b9Dw"
    },
    {
        "buffer": 75,
        "weight": 23.0,
        "depth": 20.0,
        "width": 15.0,
        "height": 6.0,
        "time_from": 1641004122.0,
        "time_to": 1641032344.0,
        "latitude": 48.14623512941049,
        "longitude": 11.512839530506255,
        "order_type": 1,
        "identification": "0I5eSkmXkh"
    },
    {
        "buffer": 40,
        "weight": 9.0,
        "depth": 19.0,
        "width": 24.0,
        "height": 24.0,
        "time_from": 1641003324.0,
        "time_to": 1641038067.0,
        "latitude": 48.20821424437227,
        "longitude": 11.593502246317138,
        "order_type": 1,
        "identification": "Rd1FDZPRYs"
    },
    {
        "buffer": 20,
        "weight": 12.0,
        "depth": 14.0,
        "width": 19.0,
        "height": 18.0,
        "time_from": 1641007117.0,
        "time_to": 1641038039.0,
        "latitude": 48.0775058013625,
        "longitude": 11.5662486386328,
        "order_type": 0,
        "identification": "dlbJ5qmvmb"
    },
    {
        "buffer": 61,
        "weight": 12.0,
        "depth": 19.0,
        "width": 10.0,
        "height": 11.0,
        "time_from": 1641008815.0,
        "time_to": 1641035867.0,
        "latitude": 48.07096427046153,
        "longitude": 11.551455312215017,
        "order_type": 1,
        "identification": "7W5YISoTDO"
    },
    {
        "buffer": 84,
        "weight": 17.0,
        "depth": 10.0,
        "width": 8.0,
        "height": 5.0,
        "time_from": 1641008063.0,
        "time_to": 1641032486.0,
        "latitude": 48.09590626273416,
        "longitude": 11.54212570392453,
        "order_type": 1,
        "identification": "DGROEZCjFs"
    },
    {
        "buffer": 0,
        "weight": 24.0,
        "depth": 12.0,
        "width": 21.0,
        "height": 23.0,
        "time_from": 1641005172.0,
        "time_to": 1641041158.0,
        "latitude": 48.17727292429872,
        "longitude": 11.637106162725692,
        "order_type": 0,
        "identification": "lE6rDQg4RU"
    },
    {
        "buffer": 54,
        "weight": 24.0,
        "depth": 11.0,
        "width": 16.0,
        "height": 6.0,
        "time_from": 1641008696.0,
        "time_to": 1641038738.0,
        "latitude": 48.19304988131604,
        "longitude": 11.511975216253525,
        "order_type": 1,
        "identification": "k-gBfb-dB_"
    },
    {
        "buffer": 53,
        "weight": 16.0,
        "depth": 23.0,
        "width": 5.0,
        "height": 18.0,
        "time_from": 1641004639.0,
        "time_to": 1641031844.0,
        "latitude": 48.16239646951101,
        "longitude": 11.651841259557873,
        "order_type": 1,
        "identification": "elZaRdpJVA"
    },
    {
        "buffer": 95,
        "weight": 21.0,
        "depth": 8.0,
        "width": 8.0,
        "height": 8.0,
        "time_from": 1641004661.0,
        "time_to": 1641038025.0,
        "latitude": 48.113944106892475,
        "longitude": 11.612215872297915,
        "order_type": 1,
        "identification": "sACQX2PER7"
    },
    {
        "buffer": 92,
        "weight": 9.0,
        "depth": 17.0,
        "width": 17.0,
        "height": 7.0,
        "time_from": 1641009132.0,
        "time_to": 1641039048.0,
        "latitude": 48.19221028776354,
        "longitude": 11.593121513856122,
        "order_type": 0,
        "identification": "T_Ri-lwJKH"
    },
    {
        "buffer": 58,
        "weight": 14.0,
        "depth": 5.0,
        "width": 18.0,
        "height": 24.0,
        "time_from": 1641003744.0,
        "time_to": 1641032816.0,
        "latitude": 48.1761752911341,
        "longitude": 11.547404184803819,
        "order_type": 0,
        "identification": "hlJDuSwb2j"
    },
    {
        "buffer": 16,
        "weight": 19.0,
        "depth": 11.0,
        "width": 9.0,
        "height": 21.0,
        "time_from": 1641007815.0,
        "time_to": 1641040712.0,
        "latitude": 48.05755176710121,
        "longitude": 11.598927009564248,
        "order_type": 0,
        "identification": "lFBynUbp_y"
    },
    {
        "buffer": 61,
        "weight": 21.0,
        "depth": 22.0,
        "width": 5.0,
        "height": 18.0,
        "time_from": 1641002632.0,
        "time_to": 1641041939.0,
        "latitude": 48.14416660218882,
        "longitude": 11.626051799014977,
        "order_type": 0,
        "identification": "ENoqeFk-ef"
    },
    {
        "buffer": 57,
        "weight": 22.0,
        "depth": 11.0,
        "width": 18.0,
        "height": 24.0,
        "time_from": 1641007744.0,
        "time_to": 1641038787.0,
        "latitude": 48.1792461429543,
        "longitude": 11.65495091634651,
        "order_type": 1,
        "identification": "Gyo9fo5eEQ"
    },
    {
        "buffer": 94,
        "weight": 22.0,
        "depth": 21.0,
        "width": 15.0,
        "height": 11.0,
        "time_from": 1641003899.0,
        "time_to": 1641036711.0,
        "latitude": 48.09838740194286,
        "longitude": 11.552941497993169,
        "order_type": 1,
        "identification": "JWDU_zG9rk"
    },
    {
        "buffer": 97,
        "weight": 17.0,
        "depth": 7.0,
        "width": 10.0,
        "height": 10.0,
        "time_from": 1641006229.0,
        "time_to": 1641033373.0,
        "latitude": 48.103156343645594,
        "longitude": 11.51825972911592,
        "order_type": 0,
        "identification": "hZJKK10z2-"
    },
    {
        "buffer": 58,
        "weight": 16.0,
        "depth": 13.0,
        "width": 5.0,
        "height": 8.0,
        "time_from": 1641008570.0,
        "time_to": 1641040064.0,
        "latitude": 48.168702891649005,
        "longitude": 11.584388899113279,
        "order_type": 0,
        "identification": "kucAwiLrf4"
    },
    {
        "buffer": 31,
        "weight": 7.0,
        "depth": 6.0,
        "width": 22.0,
        "height": 6.0,
        "time_from": 1641007538.0,
        "time_to": 1641032872.0,
        "latitude": 48.14849708005239,
        "longitude": 11.619948162344212,
        "order_type": 0,
        "identification": "0H8mR6kmPM"
    },
    {
        "buffer": 97,
        "weight": 7.0,
        "depth": 20.0,
        "width": 18.0,
        "height": 16.0,
        "time_from": 1641007443.0,
        "time_to": 1641040982.0,
        "latitude": 48.118853826234215,
        "longitude": 11.600052066226729,
        "order_type": 1,
        "identification": "p7orBUbU-q"
    },
    {
        "buffer": 25,
        "weight": 14.0,
        "depth": 6.0,
        "width": 19.0,
        "height": 11.0,
        "time_from": 1641006028.0,
        "time_to": 1641035356.0,
        "latitude": 48.083240924988935,
        "longitude": 11.584246280455755,
        "order_type": 1,
        "identification": "4ayXmOOFgg"
    },
    {
        "buffer": 17,
        "weight": 23.0,
        "depth": 13.0,
        "width": 20.0,
        "height": 23.0,
        "time_from": 1641009266.0,
        "time_to": 1641033511.0,
        "latitude": 48.074349814088755,
        "longitude": 11.639827554847587,
        "order_type": 0,
        "identification": "TS5bfYLvJq"
    },
    {
        "buffer": 18,
        "weight": 10.0,
        "depth": 5.0,
        "width": 15.0,
        "height": 20.0,
        "time_from": 1641003900.0,
        "time_to": 1641036570.0,
        "latitude": 48.12293872571872,
        "longitude": 11.523661164029498,
        "order_type": 1,
        "identification": "q3KAuT5aNT"
    },
    {
        "buffer": 41,
        "weight": 5.0,
        "depth": 7.0,
        "width": 19.0,
        "height": 12.0,
        "time_from": 1641008424.0,
        "time_to": 1641038339.0,
        "latitude": 48.19097744930964,
        "longitude": 11.520871333451742,
        "order_type": 1,
        "identification": "lnpE9kcqQR"
    },
    {
        "buffer": 77,
        "weight": 14.0,
        "depth": 9.0,
        "width": 21.0,
        "height": 24.0,
        "time_from": 1641006800.0,
        "time_to": 1641040878.0,
        "latitude": 48.05760455112641,
        "longitude": 11.561423111695971,
        "order_type": 0,
        "identification": "lKBnfU7oQe"
    },
    {
        "buffer": 10,
        "weight": 5.0,
        "depth": 7.0,
        "width": 13.0,
        "height": 18.0,
        "time_from": 1641004518.0,
        "time_to": 1641035192.0,
        "latitude": 48.07159994893021,
        "longitude": 11.584999193719472,
        "order_type": 1,
        "identification": "wZ4pwt_BMb"
    },
    {
        "buffer": 51,
        "weight": 19.0,
        "depth": 10.0,
        "width": 20.0,
        "height": 10.0,
        "time_from": 1641009293.0,
        "time_to": 1641034857.0,
        "latitude": 48.202674564888184,
        "longitude": 11.601377939666454,
        "order_type": 0,
        "identification": "ytQ6RQ8ESF"
    },
    {
        "buffer": 30,
        "weight": 19.0,
        "depth": 6.0,
        "width": 21.0,
        "height": 14.0,
        "time_from": 1641008025.0,
        "time_to": 1641031754.0,
        "latitude": 48.137514969890965,
        "longitude": 11.496550069764103,
        "order_type": 1,
        "identification": "Uu-rq1q1nQ"
    },
    {
        "buffer": 68,
        "weight": 17.0,
        "depth": 18.0,
        "width": 6.0,
        "height": 12.0,
        "time_from": 1641002888.0,
        "time_to": 1641034622.0,
        "latitude": 48.123144756929,
        "longitude": 11.615347484092252,
        "order_type": 1,
        "identification": "aVvycRHhga"
    },
    {
        "buffer": 56,
        "weight": 21.0,
        "depth": 16.0,
        "width": 23.0,
        "height": 11.0,
        "time_from": 1641005556.0,
        "time_to": 1641038026.0,
        "latitude": 48.20972471733433,
        "longitude": 11.581884425317911,
        "order_type": 0,
        "identification": "xWQm3jL0S3"
    },
    {
        "buffer": 29,
        "weight": 18.0,
        "depth": 20.0,
        "width": 14.0,
        "height": 9.0,
        "time_from": 1641002879.0,
        "time_to": 1641036923.0,
        "latitude": 48.14873847560815,
        "longitude": 11.536187490493528,
        "order_type": 1,
        "identification": "jOtpldJQ2_"
    },
    {
        "buffer": 71,
        "weight": 22.0,
        "depth": 17.0,
        "width": 24.0,
        "height": 5.0,
        "time_from": 1641005666.0,
        "time_to": 1641031288.0,
        "latitude": 48.15115621741441,
        "longitude": 11.50856681484302,
        "order_type": 1,
        "identification": "tkPPN3WIao"
    },
    {
        "buffer": 76,
        "weight": 10.0,
        "depth": 13.0,
        "width": 11.0,
        "height": 6.0,
        "time_from": 1641005193.0,
        "time_to": 1641035956.0,
        "latitude": 48.10049017696348,
        "longitude": 11.525052009214898,
        "order_type": 0,
        "identification": "G6Om3l5SWF"
    },
    {
        "buffer": 94,
        "weight": 9.0,
        "depth": 17.0,
        "width": 19.0,
        "height": 16.0,
        "time_from": 1641009318.0,
        "time_to": 1641037765.0,
        "latitude": 48.103903984330245,
        "longitude": 11.508656215223454,
        "order_type": 1,
        "identification": "UD73YCWY4S"
    },
    {
        "buffer": 97,
        "weight": 16.0,
        "depth": 13.0,
        "width": 23.0,
        "height": 20.0,
        "time_from": 1641005003.0,
        "time_to": 1641039474.0,
        "latitude": 48.070643331746396,
        "longitude": 11.52068202652839,
        "order_type": 1,
        "identification": "sEdoi5blyO"
    },
    {
        "buffer": 56,
        "weight": 13.0,
        "depth": 24.0,
        "width": 20.0,
        "height": 7.0,
        "time_from": 1641002568.0,
        "time_to": 1641040765.0,
        "latitude": 48.176193711511374,
        "longitude": 11.542854419965268,
        "order_type": 1,
        "identification": "h0bynZtCeh"
    },
    {
        "buffer": 6,
        "weight": 23.0,
        "depth": 9.0,
        "width": 15.0,
        "height": 18.0,
        "time_from": 1641008267.0,
        "time_to": 1641040263.0,
        "latitude": 48.146986870622385,
        "longitude": 11.627081699444044,
        "order_type": 1,
        "identification": "nswSN16ap0"
    },
    {
        "buffer": 98,
        "weight": 13.0,
        "depth": 16.0,
        "width": 16.0,
        "height": 8.0,
        "time_from": 1641009113.0,
        "time_to": 1641033545.0,
        "latitude": 48.06529293621587,
        "longitude": 11.547429005425666,
        "order_type": 0,
        "identification": "IOBtng2Bgm"
    },
    {
        "buffer": 0,
        "weight": 22.0,
        "depth": 19.0,
        "width": 20.0,
        "height": 18.0,
        "time_from": 1641009034.0,
        "time_to": 1641039696.0,
        "latitude": 48.14332254225173,
        "longitude": 11.62119774522575,
        "order_type": 0,
        "identification": "r7rj-8K8J1"
    },
    {
        "buffer": 45,
        "weight": 23.0,
        "depth": 16.0,
        "width": 8.0,
        "height": 9.0,
        "time_from": 1641008229.0,
        "time_to": 1641039902.0,
        "latitude": 48.156985651557775,
        "longitude": 11.641951255853144,
        "order_type": 1,
        "identification": "vyr5UwBVOc"
    },
    {
        "buffer": 75,
        "weight": 12.0,
        "depth": 6.0,
        "width": 22.0,
        "height": 9.0,
        "time_from": 1641004028.0,
        "time_to": 1641037344.0,
        "latitude": 48.102452855099244,
        "longitude": 11.495735211153573,
        "order_type": 1,
        "identification": "6IHL7kVboC"
    },
    {
        "buffer": 53,
        "weight": 6.0,
        "depth": 20.0,
        "width": 15.0,
        "height": 10.0,
        "time_from": 1641003895.0,
        "time_to": 1641041712.0,
        "latitude": 48.203767932861936,
        "longitude": 11.633223779579268,
        "order_type": 1,
        "identification": "JqN0sYNYAJ"
    },
    {
        "buffer": 4,
        "weight": 17.0,
        "depth": 6.0,
        "width": 24.0,
        "height": 16.0,
        "time_from": 1641006101.0,
        "time_to": 1641032365.0,
        "latitude": 48.16854473944237,
        "longitude": 11.56672765660345,
        "order_type": 1,
        "identification": "kxBGqX-Qcr"
    },
    {
        "buffer": 53,
        "weight": 18.0,
        "depth": 16.0,
        "width": 13.0,
        "height": 23.0,
        "time_from": 1641005392.0,
        "time_to": 1641039394.0,
        "latitude": 48.077987322838496,
        "longitude": 11.531398466300084,
        "order_type": 1,
        "identification": "jcNXP_xxTu"
    },
    {
        "buffer": 36,
        "weight": 6.0,
        "depth": 19.0,
        "width": 22.0,
        "height": 13.0,
        "time_from": 1641007270.0,
        "time_to": 1641036492.0,
        "latitude": 48.17546955164063,
        "longitude": 11.53276316933603,
        "order_type": 1,
        "identification": "zjYeCHvv5B"
    },
    {
        "buffer": 35,
        "weight": 10.0,
        "depth": 8.0,
        "width": 19.0,
        "height": 6.0,
        "time_from": 1641004855.0,
        "time_to": 1641032285.0,
        "latitude": 48.11980769069638,
        "longitude": 11.562248907869778,
        "order_type": 0,
        "identification": "XJTz6oX5Ue"
    },
    {
        "buffer": 92,
        "weight": 23.0,
        "depth": 10.0,
        "width": 19.0,
        "height": 20.0,
        "time_from": 1641003520.0,
        "time_to": 1641035221.0,
        "latitude": 48.202686222985434,
        "longitude": 11.546081359447731,
        "order_type": 1,
        "identification": "B9s4lFbd04"
    },
    {
        "buffer": 89,
        "weight": 6.0,
        "depth": 10.0,
        "width": 13.0,
        "height": 20.0,
        "time_from": 1641006088.0,
        "time_to": 1641035825.0,
        "latitude": 48.143096892088195,
        "longitude": 11.53979638931629,
        "order_type": 0,
        "identification": "mQmqIeZ9HT"
    },
    {
        "buffer": 69,
        "weight": 10.0,
        "depth": 19.0,
        "width": 11.0,
        "height": 9.0,
        "time_from": 1641007911.0,
        "time_to": 1641038410.0,
        "latitude": 48.15562789512639,
        "longitude": 11.62303067027876,
        "order_type": 0,
        "identification": "wI8vl0WdG7"
    },
    {
        "buffer": 78,
        "weight": 21.0,
        "depth": 11.0,
        "width": 9.0,
        "height": 18.0,
        "time_from": 1641006419.0,
        "time_to": 1641038932.0,
        "latitude": 48.05888429434013,
        "longitude": 11.548109626729017,
        "order_type": 0,
        "identification": "oHjOUodcW-"
    },
    {
        "buffer": 47,
        "weight": 6.0,
        "depth": 24.0,
        "width": 17.0,
        "height": 19.0,
        "time_from": 1641008788.0,
        "time_to": 1641038065.0,
        "latitude": 48.125001488640955,
        "longitude": 11.572594907297942,
        "order_type": 1,
        "identification": "ajT1R38qjo"
    },
    {
        "buffer": 16,
        "weight": 14.0,
        "depth": 16.0,
        "width": 17.0,
        "height": 22.0,
        "time_from": 1641004353.0,
        "time_to": 1641032856.0,
        "latitude": 48.12290060662545,
        "longitude": 11.612827515561552,
        "order_type": 0,
        "identification": "f0amhDUl39"
    },
    {
        "buffer": 8,
        "weight": 14.0,
        "depth": 15.0,
        "width": 11.0,
        "height": 20.0,
        "time_from": 1641008380.0,
        "time_to": 1641037108.0,
        "latitude": 48.18123965917044,
        "longitude": 11.501739362937913,
        "order_type": 1,
        "identification": "ol_rixeGlI"
    },
    {
        "buffer": 2,
        "weight": 22.0,
        "depth": 14.0,
        "width": 23.0,
        "height": 7.0,
        "time_from": 1641007996.0,
        "time_to": 1641037445.0,
        "latitude": 48.1325984321761,
        "longitude": 11.609332026739995,
        "order_type": 0,
        "identification": "o2dINn3WgU"
    },
    {
        "buffer": 83,
        "weight": 23.0,
        "depth": 16.0,
        "width": 9.0,
        "height": 14.0,
        "time_from": 1641005416.0,
        "time_to": 1641034554.0,
        "latitude": 48.19773497259746,
        "longitude": 11.628639174625336,
        "order_type": 0,
        "identification": "EzE8gHk6oj"
    },
    {
        "buffer": 94,
        "weight": 16.0,
        "depth": 15.0,
        "width": 22.0,
        "height": 20.0,
        "time_from": 1641004819.0,
        "time_to": 1641031826.0,
        "latitude": 48.16525677407876,
        "longitude": 11.503438783899576,
        "order_type": 0,
        "identification": "cuFTfI-pdW"
    },
    {
        "buffer": 19,
        "weight": 5.0,
        "depth": 15.0,
        "width": 8.0,
        "height": 18.0,
        "time_from": 1641005076.0,
        "time_to": 1641037214.0,
        "latitude": 48.0725995287572,
        "longitude": 11.570368180618994,
        "order_type": 0,
        "identification": "z5lv8SMJJ3"
    },
    {
        "buffer": 97,
        "weight": 22.0,
        "depth": 6.0,
        "width": 10.0,
        "height": 10.0,
        "time_from": 1641005468.0,
        "time_to": 1641040896.0,
        "latitude": 48.14514153933026,
        "longitude": 11.617550244457073,
        "order_type": 1,
        "identification": "D3Js5_zVh5"
    },
    {
        "buffer": 40,
        "weight": 17.0,
        "depth": 6.0,
        "width": 14.0,
        "height": 14.0,
        "time_from": 1641007547.0,
        "time_to": 1641036598.0,
        "latitude": 48.169950871057736,
        "longitude": 11.510208237551899,
        "order_type": 0,
        "identification": "sA-o4g9tcH"
    },
    {
        "buffer": 56,
        "weight": 14.0,
        "depth": 18.0,
        "width": 14.0,
        "height": 21.0,
        "time_from": 1641004085.0,
        "time_to": 1641040281.0,
        "latitude": 48.209314385966444,
        "longitude": 11.615220900323376,
        "order_type": 1,
        "identification": "Icoxhoo6lA"
    },
    {
        "buffer": 73,
        "weight": 7.0,
        "depth": 9.0,
        "width": 14.0,
        "height": 5.0,
        "time_from": 1641002739.0,
        "time_to": 1641038756.0,
        "latitude": 48.08797141887831,
        "longitude": 11.549672677603448,
        "order_type": 0,
        "identification": "Na8E0d7L8a"
    },
    {
        "buffer": 33,
        "weight": 21.0,
        "depth": 20.0,
        "width": 17.0,
        "height": 18.0,
        "time_from": 1641005965.0,
        "time_to": 1641034203.0,
        "latitude": 48.12880636778989,
        "longitude": 11.644446095111682,
        "order_type": 0,
        "identification": "5IjjFPdfWi"
    },
    {
        "buffer": 59,
        "weight": 19.0,
        "depth": 21.0,
        "width": 14.0,
        "height": 11.0,
        "time_from": 1641007111.0,
        "time_to": 1641041817.0,
        "latitude": 48.14875297153182,
        "longitude": 11.495602707798724,
        "order_type": 1,
        "identification": "vRpBfAANTa"
    },
    {
        "buffer": 67,
        "weight": 8.0,
        "depth": 24.0,
        "width": 7.0,
        "height": 13.0,
        "time_from": 1641009026.0,
        "time_to": 1641033893.0,
        "latitude": 48.149336520579816,
        "longitude": 11.629840199314295,
        "order_type": 0,
        "identification": "d4989E-eOh"
    },
    {
        "buffer": 29,
        "weight": 16.0,
        "depth": 24.0,
        "width": 15.0,
        "height": 10.0,
        "time_from": 1641005776.0,
        "time_to": 1641032749.0,
        "latitude": 48.12268407363954,
        "longitude": 11.50207323002889,
        "order_type": 0,
        "identification": "FdMiJcFgCK"
    },
    {
        "buffer": 48,
        "weight": 17.0,
        "depth": 18.0,
        "width": 20.0,
        "height": 16.0,
        "time_from": 1641004386.0,
        "time_to": 1641035570.0,
        "latitude": 48.101173712981215,
        "longitude": 11.568494611798288,
        "order_type": 0,
        "identification": "_CijoCg-ja"
    },
    {
        "buffer": 7,
        "weight": 20.0,
        "depth": 13.0,
        "width": 13.0,
        "height": 14.0,
        "time_from": 1641009054.0,
        "time_to": 1641032137.0,
        "latitude": 48.19736846457249,
        "longitude": 11.524038744260869,
        "order_type": 1,
        "identification": "4pyh03ltmp"
    },
    {
        "buffer": 91,
        "weight": 22.0,
        "depth": 20.0,
        "width": 11.0,
        "height": 10.0,
        "time_from": 1641007776.0,
        "time_to": 1641034907.0,
        "latitude": 48.12314681244825,
        "longitude": 11.62398890521703,
        "order_type": 1,
        "identification": "KHyOOWWN__"
    }]
    
})

headers = {
    'Authorization': f'TOKEN {APIKey}',                                     
    'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)


Example: Response in JSON

{
    "id": "4c_c8f2a4547d_6c1d91c7428",
    "driver_details": {
        "max_weight_per_driver": 500,
        "starting_location": {
        "latitude": 48.12725450924125,
        "longitude": 11.49684665100143
        },
        "vehicle_dimensions": {
        "height": 600,
        "depth": 600,
        "width": 600
        },
        "start_time": 1640995279,
        "end_time": 1641081559
    },
    "trips": [
        {
        "id": "0bdb0251a4b5_7_4412e68100",
        "orders": [
            {
            "id": "f079ffb8e531258ee4948fc6d",
            "start_time": 1641003623.0,
            "end_time": 1641004103.0,
            "arrival_time": 1641004028.0,
            "time_from": 1641004028.0,
            "time_to": 1641037344.0,
            "stop_id": 1,
            "order_type": 1,
            "created_on": 1652787683.683871,
            "latitude": 48.102452855099244,
            "longitude": 11.495735211153573,
            "duration": 405.0,
            "distance": 3701.9,
            "identification": "6IHL7kVboC",
            "weight": 12.0,
            "height": 9.0,
            "depth": 6.0,
            "width": 22.0,
            "buffer": 75.0
            },
            {
            "id": "b75fb5f5716b2485bd37b0_f3",
            "start_time": 1641008814.6,
            "end_time": 1641009412.0,
            "arrival_time": 1641009318.0,
            "time_from": 1641009318.0,
            "time_to": 1641037765.0,
            "stop_id": 2,
            "order_type": 1,
            "created_on": 1652787683.680871,
            "latitude": 48.103903984330245,
            "longitude": 11.508656215223454,
            "duration": 503.4,
            "distance": 5748.3,
            "identification": "UD73YCWY4S",
            "weight": 9.0,
            "height": 16.0,
            "depth": 17.0,
            "width": 19.0,
            "buffer": 94.0
            },
            {
            "id": "e72b6_5477d14d_778_2f_aa0",
            "start_time": 1641009412.0,
            "end_time": 1641009583.0,
            "arrival_time": 1641009550.0,
            "time_from": 1641008477.0,
            "time_to": 1641032617.0,
            "stop_id": 3,
            "order_type": 1,
            "created_on": 1652787683.64987,
            "latitude": 48.10887516366968,
            "longitude": 11.518674878935018,
            "duration": 138.0,
            "distance": 1304.8,
            "identification": "JbmGkJFwep",
            "weight": 13.0,
            "height": 24.0,
            "depth": 17.0,
            "width": 20.0,
            "buffer": 33.0
            },
            .
            .
            .
        ],
        "total_duration": 16819.6,
        "total_distance": 94201.9,
        "start_time": 1641003623.0,
        "end_time": 1641020442.6000001,
        "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg7tkloJgg...",
        "polygon": "BPggzw2zv8wtUgg",
        "batch": "4c_c8f2a4547d_6c1d91c7428",
        "created_on": 1652787712.335958
        },
        {
        "id": "fcd63429013de07335191c92e",
        "orders": [
            {
            "id": "d8b160859a975d9_7d6_f_1_2",
            "start_time": 1641005609.8,
            "end_time": 1641005805.0,
            "arrival_time": 1641005776.0,
            "time_from": 1641005776.0,
            "time_to": 1641032749.0,
            "stop_id": 1,
            "order_type": 0,
            "created_on": 1652787683.698872,
            "latitude": 48.12268407363954,
            "longitude": 11.50207323002889,
            "duration": 166.2,
            "distance": 1135.1,
            "identification": "FdMiJcFgCK",
            "weight": 16.0,
            "height": 10.0,
            "depth": 24.0,
            "width": 15.0,
            "buffer": 29.0
            },
            {
            "id": "be448600cc2a869c25d8f24a1",
            "start_time": 1641005805.0,
            "end_time": 1641006004.8,
            "arrival_time": 1641005986.8,
            "time_from": 1641003900.0,
            "time_to": 1641036570.0,
            "stop_id": 2,
            "order_type": 1,
            "created_on": 1652787683.674871,
            "latitude": 48.12293872571872,
            "longitude": 11.523661164029498,
            "duration": 181.8,
            "distance": 2045.7,
            "identification": "q3KAuT5aNT",
            "weight": 10.0,
            "height": 20.0,
            "depth": 5.0,
            "width": 15.0,
            "buffer": 18.0
            },
            {
            "id": "e07cd01f441c0784d847b588e",
            "start_time": 1641006004.8,
            "end_time": 1641006306.0,
            "arrival_time": 1641006270.0,
            "time_from": 1641005558.0,
            "time_to": 1641034152.0,
            "stop_id": 3,
            "order_type": 1,
            "created_on": 1652787683.646871,
            "latitude": 48.14134179290054,
            "longitude": 11.52540090241207,
            "duration": 265.2,
            "distance": 3022.2,
            "identification": "nwoF_ZeJuw",
            "weight": 16.0,
            "height": 16.0,
            "depth": 24.0,
            "width": 15.0,
            "buffer": 36.0
            },
            .
            .
            .
        ],
        "total_duration": 9639.8,
        "total_distance": 63693.3,
        "start_time": 1641005609.8,
        "end_time": 1641015249.6000001,
        "polyline": "BPggzw2zv8wtUgglih9nj3v1",
        "polygon": "BPggzw2zv8wtUgg",
        "batch": "4c_c8f2a4547d_6c1d91c7428",
        "created_on": 1652787712.395956
        },
        {
        "id": "66ec_d3f9b46c_a3f467e_e63",
        "orders": [
            {
            "id": "8c_b870985db_2f4094d93d6a",
            "start_time": 1641006464.4,
            "end_time": 1641007540.0,
            "arrival_time": 1641007443.0,
            "time_from": 1641007443.0,
            "time_to": 1641040982.0,
            "stop_id": 1,
            "order_type": 1,
            "created_on": 1652787683.672871,
            "latitude": 48.118853826234215,
            "longitude": 11.600052066226729,
            "duration": 978.6,
            "distance": 10521.0,
            "identification": "p7orBUbU-q",
            "weight": 7.0,
            "height": 16.0,
            "depth": 20.0,
            "width": 18.0,
            "buffer": 97.0
            },
            {
            "id": "fa5_7cb984823851274c33f1a",
            "start_time": 1641007540.0,
            "end_time": 1641007690.6,
            "arrival_time": 1641007600.6,
            "time_from": 1641005667.0,
            "time_to": 1641034113.0,
            "stop_id": 2,
            "order_type": 1,
            "created_on": 1652787683.645871,
            "latitude": 48.1201636869964,
            "longitude": 11.603595738054928,
            "duration": 60.6,
            "distance": 373.8,
            "identification": "KcZHoUqjhH",
            "weight": 16.0,
            "height": 6.0,
            "depth": 17.0,
            "width": 10.0,
            "buffer": 90.0
            },
            .
            .
            .
        ],
        "total_duration": 12844.8,
        "total_distance": 87485.5,
        "start_time": 1641006464.4,
        "end_time": 1641019309.1999993,
        "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg",
        "polygon": "BPggzw2zv8wtUgg",
        "batch": "4c_c8f2a4547d_6c1d91c7428",
        "created_on": 1652787712.36696
        }
    ],
    "created_on": "17-05-2022 11:41",
}





Retrieve all Batches

This method fetches all batches, that have been saved in the API's database.

Responses

Body

id string

unique identifier for a batch

Values used for driver detials in the calculations

object of driver starting location

latitude float

latitude of starting location

longitude float

longitude of starting location

start_time float

time in Unix format at which the driver shall leave the starting location

end_time float

time in Unix format at which the driver shall be back at the starting location

max_weight_per_driver float

maximum weight in kilograms a driver can carry at once

object of driver vehicle dimensions

depth float

depth in meters of the vehicle storage section

height float

height in meters of the vehicle storage section

width float

width in meters of the vehicle storage section

list of all computed trips

id string

unique identifier generated by the API to distinguish trips

list of all assigned orders to a specific trip

id string

unique identifier generated by the API to distinguish orders

identification string

unique identifier generated by the user to distinguish orders

latitude float

latitude of the order

longitude float

longitude of the order

buffer float

time in seconds to complete an order

weight float

weight in kilograms of the order

depth float

depth in meters of the order

height float

height in meters of the order

width float

width in meters of the order

time_from float

time(UTC) in Unix format of staring target delivery/pickup time window

time_to float

time(UTC) in Unix format of ending target delivery/pickup time window

duration float

duration in seconds for the driver to reach order coming from its previous location

distance float

distance in meters for the driver to reach order coming from its previous location

start_time float

time(UTC) in Unix format at which the driver is expected to leave for the order

arrival_time float

time(UTC) in Unix format at which the driver is expected to arrive at the order

end_time float

time(UTC) in Unix format at which the driver is expected to leave the order

stop_id Int

the position within a sequence of a trip in which the order is expected to be completed

order_type integer

identifier to distinguish the order between a delivery (value=0) and a pickup (value=1)

total_duration float

total duration in seconds of the trip

total_distance float

total distance in meters of the trip

start_time float

start time(UTC) of the trip in Unix format

end_time float

end time(UTC) of the trip in Unix format

polyline string

trip route path encoded in a flexible polyline format

polygon string

trip shape encoded in a flexible polyline format

batch string

id of the batch the trip is associated with

Example: Request in Python

import requests

url = "https://www.synertics.io/disposition/batch/"

APIKey = 'Your API Key'

payload = ""
headers = {
    'Authorization': f'TOKEN {APIKey}',  
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Example: Response in JSON

[
    {
        "id": "4c_c8f2a4547d_6c1d91c7428",
        "driver_details": {
            "max_weight_per_driver": 500,
            "starting_location": {
            "latitude": 48.12725450924125,
            "longitude": 11.49684665100143
            },
            "vehicle_dimensions": {
            "height": 600,
            "depth": 600,
            "width": 600
            },
            "start_time": 1640995279,
            "end_time": 1641081559
        },
        "trips": [
            {
            "id": "0bdb0251a4b5_7_4412e68100",
            "orders": [
                {
                "id": "f079ffb8e531258ee4948fc6d",
                "start_time": 1641003623.0,
                "end_time": 1641004103.0,
                "arrival_time": 1641004028.0,
                "time_from": 1641004028.0,
                "time_to": 1641037344.0,
                "stop_id": 1,
                "order_type": 1,
                "created_on": 1652787683.683871,
                "latitude": 48.102452855099244,
                "longitude": 11.495735211153573,
                "duration": 405.0,
                "distance": 3701.9,
                "identification": "6IHL7kVboC",
                "weight": 12.0,
                "height": 9.0,
                "depth": 6.0,
                "width": 22.0,
                "buffer": 75.0
                },
                {
                "id": "b75fb5f5716b2485bd37b0_f3",
                "start_time": 1641008814.6,
                "end_time": 1641009412.0,
                "arrival_time": 1641009318.0,
                "time_from": 1641009318.0,
                "time_to": 1641037765.0,
                "stop_id": 2,
                "order_type": 1,
                "created_on": 1652787683.680871,
                "latitude": 48.103903984330245,
                "longitude": 11.508656215223454,
                "duration": 503.4,
                "distance": 5748.3,
                "identification": "UD73YCWY4S",
                "weight": 9.0,
                "height": 16.0,
                "depth": 17.0,
                "width": 19.0,
                "buffer": 94.0
                },
                {
                "id": "e72b6_5477d14d_778_2f_aa0",
                "start_time": 1641009412.0,
                "end_time": 1641009583.0,
                "arrival_time": 1641009550.0,
                "time_from": 1641008477.0,
                "time_to": 1641032617.0,
                "stop_id": 3,
                "order_type": 1,
                "created_on": 1652787683.64987,
                "latitude": 48.10887516366968,
                "longitude": 11.518674878935018,
                "duration": 138.0,
                "distance": 1304.8,
                "identification": "JbmGkJFwep",
                "weight": 13.0,
                "height": 24.0,
                "depth": 17.0,
                "width": 20.0,
                "buffer": 33.0
                },
                .
                .
                .
            ],
            "total_duration": 16819.6,
            "total_distance": 94201.9,
            "start_time": 1641003623.0,
            "end_time": 1641020442.6000001,
            "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg7tkloJgg...",
            "polygon": "BPggzw2zv8wtUgg",
            "batch": "4c_c8f2a4547d_6c1d91c7428",
            "created_on": 1652787712.335958
            },
            {
            "id": "fcd63429013de07335191c92e",
            "orders": [
                {
                "id": "d8b160859a975d9_7d6_f_1_2",
                "start_time": 1641005609.8,
                "end_time": 1641005805.0,
                "arrival_time": 1641005776.0,
                "time_from": 1641005776.0,
                "time_to": 1641032749.0,
                "stop_id": 1,
                "order_type": 0,
                "created_on": 1652787683.698872,
                "latitude": 48.12268407363954,
                "longitude": 11.50207323002889,
                "duration": 166.2,
                "distance": 1135.1,
                "identification": "FdMiJcFgCK",
                "weight": 16.0,
                "height": 10.0,
                "depth": 24.0,
                "width": 15.0,
                "buffer": 29.0
                },
                {
                "id": "be448600cc2a869c25d8f24a1",
                "start_time": 1641005805.0,
                "end_time": 1641006004.8,
                "arrival_time": 1641005986.8,
                "time_from": 1641003900.0,
                "time_to": 1641036570.0,
                "stop_id": 2,
                "order_type": 1,
                "created_on": 1652787683.674871,
                "latitude": 48.12293872571872,
                "longitude": 11.523661164029498,
                "duration": 181.8,
                "distance": 2045.7,
                "identification": "q3KAuT5aNT",
                "weight": 10.0,
                "height": 20.0,
                "depth": 5.0,
                "width": 15.0,
                "buffer": 18.0
                },
                {
                "id": "e07cd01f441c0784d847b588e",
                "start_time": 1641006004.8,
                "end_time": 1641006306.0,
                "arrival_time": 1641006270.0,
                "time_from": 1641005558.0,
                "time_to": 1641034152.0,
                "stop_id": 3,
                "order_type": 1,
                "created_on": 1652787683.646871,
                "latitude": 48.14134179290054,
                "longitude": 11.52540090241207,
                "duration": 265.2,
                "distance": 3022.2,
                "identification": "nwoF_ZeJuw",
                "weight": 16.0,
                "height": 16.0,
                "depth": 24.0,
                "width": 15.0,
                "buffer": 36.0
                },
                .
                .
                .
            ],
            "total_duration": 9639.8,
            "total_distance": 63693.3,
            "start_time": 1641005609.8,
            "end_time": 1641015249.6000001,
            "polyline": "BPggzw2zv8wtUgglih9nj3v1",
            "polygon": "BPggzw2zv8wtUgg",
            "batch": "4c_c8f2a4547d_6c1d91c7428",
            "created_on": 1652787712.395956
            },
            {
            "id": "66ec_d3f9b46c_a3f467e_e63",
            "orders": [
                {
                "id": "8c_b870985db_2f4094d93d6a",
                "start_time": 1641006464.4,
                "end_time": 1641007540.0,
                "arrival_time": 1641007443.0,
                "time_from": 1641007443.0,
                "time_to": 1641040982.0,
                "stop_id": 1,
                "order_type": 1,
                "created_on": 1652787683.672871,
                "latitude": 48.118853826234215,
                "longitude": 11.600052066226729,
                "duration": 978.6,
                "distance": 10521.0,
                "identification": "p7orBUbU-q",
                "weight": 7.0,
                "height": 16.0,
                "depth": 20.0,
                "width": 18.0,
                "buffer": 97.0
                },
                {
                "id": "fa5_7cb984823851274c33f1a",
                "start_time": 1641007540.0,
                "end_time": 1641007690.6,
                "arrival_time": 1641007600.6,
                "time_from": 1641005667.0,
                "time_to": 1641034113.0,
                "stop_id": 2,
                "order_type": 1,
                "created_on": 1652787683.645871,
                "latitude": 48.1201636869964,
                "longitude": 11.603595738054928,
                "duration": 60.6,
                "distance": 373.8,
                "identification": "KcZHoUqjhH",
                "weight": 16.0,
                "height": 6.0,
                "depth": 17.0,
                "width": 10.0,
                "buffer": 90.0
                },
                .
                .
                .
            ],
            "total_duration": 12844.8,
            "total_distance": 87485.5,
            "start_time": 1641006464.4,
            "end_time": 1641019309.1999993,
            "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg",
            "polygon": "BPggzw2zv8wtUgg",
            "batch": "4c_c8f2a4547d_6c1d91c7428",
            "created_on": 1652787712.36696
            }
        ],
        "created_on": "17-05-2022 11:41",
    },
    .
    .
    .
]


Retrieve a Batch

*a batch_ID is an identification unique to a specific batch

This method fetches a specific batch, that has been saved in the API's database.

Responses

Body

id string

unique identifier for a batch

Values used for driver detials in the calculations

object of driver starting location

latitude float

latitude of starting location

longitude float

longitude of starting location

start_time float

time in Unix format at which the driver shall leave the starting location

end_time float

time in Unix format at which the driver shall be back at the starting location

max_weight_per_driver float

maximum weight in kilograms a driver can carry at once

object of driver vehicle dimensions

depth float

depth in meters of the vehicle storage section

height float

height in meters of the vehicle storage section

width float

width in meters of the vehicle storage section

list of all computed trips

id string

unique identifier generated by the API to distinguish trips

list of all assigned orders to a specific trip

id string

unique identifier generated by the API to distinguish orders

identification string

unique identifier generated by the user to distinguish orders

latitude float

latitude of the order

longitude float

longitude of the order

buffer float

time in seconds to complete an order

weight float

weight in kilograms of the order

depth float

depth in meters of the order

height float

height in meters of the order

width float

width in meters of the order

time_from float

time(UTC) in Unix format of staring target delivery/pickup time window

time_to float

time(UTC) in Unix format of ending target delivery/pickup time window

duration float

duration in seconds for the driver to reach order coming from its previous location

distance float

distance in meters for the driver to reach order coming from its previous location

start_time float

time(UTC) in Unix format at which the driver is expected to leave for the order

arrival_time float

time(UTC) in Unix format at which the driver is expected to arrive at the order

end_time float

time(UTC) in Unix format at which the driver is expected to leave the order

stop_id Int

the position within a sequence of a trip in which the order is expected to be completed

order_type integer

identifier to distinguish the order between a delivery (value=0) and a pickup (value=1)

total_duration float

total duration in seconds of the trip

total_distance float

total distance in meters of the trip

start_time float

start time(UTC) of the trip in Unix format

end_time float

end time(UTC) of the trip in Unix format

polyline string

trip route path encoded in a flexible polyline format

polygon string

trip shape encoded in a flexible polyline format

batch string

id of the batch the trip is associated with

Example: Request in Python

import requests

url = "https://www.synertics.io/disposition/batch/{batch_ID}/"

APIKey = 'Your API Key'

payload = ""
headers = {
'Authorization': f'TOKEN {APIKey}',  
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Example: Response in JSON

{
    "id": "4c_c8f2a4547d_6c1d91c7428",
    "driver_details": {
        "max_weight_per_driver": 500,
        "starting_location": {
        "latitude": 48.12725450924125,
        "longitude": 11.49684665100143
        },
        "vehicle_dimensions": {
        "height": 600,
        "depth": 600,
        "width": 600
        },
        "start_time": 1640995279,
        "end_time": 1641081559
    },
    "trips": [
        {
        "id": "0bdb0251a4b5_7_4412e68100",
        "orders": [
            {
            "id": "f079ffb8e531258ee4948fc6d",
            "start_time": 1641003623.0,
            "end_time": 1641004103.0,
            "arrival_time": 1641004028.0,
            "time_from": 1641004028.0,
            "time_to": 1641037344.0,
            "stop_id": 1,
            "order_type": 1,
            "created_on": 1652787683.683871,
            "latitude": 48.102452855099244,
            "longitude": 11.495735211153573,
            "duration": 405.0,
            "distance": 3701.9,
            "identification": "6IHL7kVboC",
            "weight": 12.0,
            "height": 9.0,
            "depth": 6.0,
            "width": 22.0,
            "buffer": 75.0
            },
            {
            "id": "b75fb5f5716b2485bd37b0_f3",
            "start_time": 1641008814.6,
            "end_time": 1641009412.0,
            "arrival_time": 1641009318.0,
            "time_from": 1641009318.0,
            "time_to": 1641037765.0,
            "stop_id": 2,
            "order_type": 1,
            "created_on": 1652787683.680871,
            "latitude": 48.103903984330245,
            "longitude": 11.508656215223454,
            "duration": 503.4,
            "distance": 5748.3,
            "identification": "UD73YCWY4S",
            "weight": 9.0,
            "height": 16.0,
            "depth": 17.0,
            "width": 19.0,
            "buffer": 94.0
            },
            {
            "id": "e72b6_5477d14d_778_2f_aa0",
            "start_time": 1641009412.0,
            "end_time": 1641009583.0,
            "arrival_time": 1641009550.0,
            "time_from": 1641008477.0,
            "time_to": 1641032617.0,
            "stop_id": 3,
            "order_type": 1,
            "created_on": 1652787683.64987,
            "latitude": 48.10887516366968,
            "longitude": 11.518674878935018,
            "duration": 138.0,
            "distance": 1304.8,
            "identification": "JbmGkJFwep",
            "weight": 13.0,
            "height": 24.0,
            "depth": 17.0,
            "width": 20.0,
            "buffer": 33.0
            },
            .
            .
            .
        ],
        "total_duration": 16819.6,
        "total_distance": 94201.9,
        "start_time": 1641003623.0,
        "end_time": 1641020442.6000001,
        "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg7tkloJgg...",
        "polygon": "BPggzw2zv8wtUgg",
        "batch": "4c_c8f2a4547d_6c1d91c7428",
        "created_on": 1652787712.335958
        },
        {
        "id": "fcd63429013de07335191c92e",
        "orders": [
            {
            "id": "d8b160859a975d9_7d6_f_1_2",
            "start_time": 1641005609.8,
            "end_time": 1641005805.0,
            "arrival_time": 1641005776.0,
            "time_from": 1641005776.0,
            "time_to": 1641032749.0,
            "stop_id": 1,
            "order_type": 0,
            "created_on": 1652787683.698872,
            "latitude": 48.12268407363954,
            "longitude": 11.50207323002889,
            "duration": 166.2,
            "distance": 1135.1,
            "identification": "FdMiJcFgCK",
            "weight": 16.0,
            "height": 10.0,
            "depth": 24.0,
            "width": 15.0,
            "buffer": 29.0
            },
            {
            "id": "be448600cc2a869c25d8f24a1",
            "start_time": 1641005805.0,
            "end_time": 1641006004.8,
            "arrival_time": 1641005986.8,
            "time_from": 1641003900.0,
            "time_to": 1641036570.0,
            "stop_id": 2,
            "order_type": 1,
            "created_on": 1652787683.674871,
            "latitude": 48.12293872571872,
            "longitude": 11.523661164029498,
            "duration": 181.8,
            "distance": 2045.7,
            "identification": "q3KAuT5aNT",
            "weight": 10.0,
            "height": 20.0,
            "depth": 5.0,
            "width": 15.0,
            "buffer": 18.0
            },
            {
            "id": "e07cd01f441c0784d847b588e",
            "start_time": 1641006004.8,
            "end_time": 1641006306.0,
            "arrival_time": 1641006270.0,
            "time_from": 1641005558.0,
            "time_to": 1641034152.0,
            "stop_id": 3,
            "order_type": 1,
            "created_on": 1652787683.646871,
            "latitude": 48.14134179290054,
            "longitude": 11.52540090241207,
            "duration": 265.2,
            "distance": 3022.2,
            "identification": "nwoF_ZeJuw",
            "weight": 16.0,
            "height": 16.0,
            "depth": 24.0,
            "width": 15.0,
            "buffer": 36.0
            },
            .
            .
            .
        ],
        "total_duration": 9639.8,
        "total_distance": 63693.3,
        "start_time": 1641005609.8,
        "end_time": 1641015249.6000001,
        "polyline": "BPggzw2zv8wtUgglih9nj3v1",
        "polygon": "BPggzw2zv8wtUgg",
        "batch": "4c_c8f2a4547d_6c1d91c7428",
        "created_on": 1652787712.395956
        },
        {
        "id": "66ec_d3f9b46c_a3f467e_e63",
        "orders": [
            {
            "id": "8c_b870985db_2f4094d93d6a",
            "start_time": 1641006464.4,
            "end_time": 1641007540.0,
            "arrival_time": 1641007443.0,
            "time_from": 1641007443.0,
            "time_to": 1641040982.0,
            "stop_id": 1,
            "order_type": 1,
            "created_on": 1652787683.672871,
            "latitude": 48.118853826234215,
            "longitude": 11.600052066226729,
            "duration": 978.6,
            "distance": 10521.0,
            "identification": "p7orBUbU-q",
            "weight": 7.0,
            "height": 16.0,
            "depth": 20.0,
            "width": 18.0,
            "buffer": 97.0
            },
            {
            "id": "fa5_7cb984823851274c33f1a",
            "start_time": 1641007540.0,
            "end_time": 1641007690.6,
            "arrival_time": 1641007600.6,
            "time_from": 1641005667.0,
            "time_to": 1641034113.0,
            "stop_id": 2,
            "order_type": 1,
            "created_on": 1652787683.645871,
            "latitude": 48.1201636869964,
            "longitude": 11.603595738054928,
            "duration": 60.6,
            "distance": 373.8,
            "identification": "KcZHoUqjhH",
            "weight": 16.0,
            "height": 6.0,
            "depth": 17.0,
            "width": 10.0,
            "buffer": 90.0
            },
            .
            .
            .
        ],
        "total_duration": 12844.8,
        "total_distance": 87485.5,
        "start_time": 1641006464.4,
        "end_time": 1641019309.1999993,
        "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg",
        "polygon": "BPggzw2zv8wtUgg",
        "batch": "4c_c8f2a4547d_6c1d91c7428",
        "created_on": 1652787712.36696
        }
    ],
    "created_on": "17-05-2022 11:41",
}




Retrieve all Trips

This method fetches all trips, that have been saved in the API's database.

Responses

Body

id string

unique identifier generated by the API to distinguish trips

list of all assigned orders to a specific trip

id string

unique identifier generated by the API to distinguish orders

identification string

unique identifier generated by the user to distinguish orders

latitude float

latitude of the order

longitude float

longitude of the order

buffer float

time in seconds to complete an order

weight float

weight in kilograms of the order

depth float

depth in meters of the order

height float

height in meters of the order

width float

width in meters of the order

time_from float

time(UTC) in Unix format of staring target delivery/pickup time window

time_to float

time(UTC) in Unix format of ending target delivery/pickup time window

duration float

duration in seconds for the driver to reach order coming from its previous location

distance float

distance in meters for the driver to reach order coming from its previous location

start_time float

time(UTC) in Unix format at which the driver is expected to leave for the order

arrival_time float

time(UTC) in Unix format at which the driver is expected to arrive at the order

end_time float

time(UTC) in Unix format at which the driver is expected to leave the order

stop_id Int

the position within a sequence of a trip in which the order is expected to be completed

order_type integer

identifier to distinguish the order between a delivery (value=0) and a pickup (value=1)

total_duration float

total duration in seconds of the trip

total_distance float

total distance in meters of the trip

start_time float

start time(UTC) of the trip in Unix format

end_time float

end time(UTC) of the trip in Unix format

polyline string

trip route path encoded in a flexible polyline format

polygon string

trip shape encoded in a flexible polyline format

batch string

id of the batch the trip is associated with

Example: Request in Python

import requests

url = "https://www.synertics.io/disposition/trips/"

APIKey = 'Your API Key'

payload = ""
headers = {
    'Authorization': f'TOKEN {APIKey}',  
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Example: Response in JSON

[ 
    {
        "id": "0bdb0251a4b5_7_4412e68100",
        "orders": [
            {
            "id": "f079ffb8e531258ee4948fc6d",
            "start_time": 1641003623.0,
            "end_time": 1641004103.0,
            "arrival_time": 1641004028.0,
            "time_from": 1641004028.0,
            "time_to": 1641037344.0,
            "stop_id": 1,
            "order_type": 1,
            "created_on": 1652787683.683871,
            "latitude": 48.102452855099244,
            "longitude": 11.495735211153573,
            "duration": 405.0,
            "distance": 3701.9,
            "identification": "6IHL7kVboC",
            "weight": 12.0,
            "height": 9.0,
            "depth": 6.0,
            "width": 22.0,
            "buffer": 75.0
            },
            {
            "id": "b75fb5f5716b2485bd37b0_f3",
            "start_time": 1641008814.6,
            "end_time": 1641009412.0,
            "arrival_time": 1641009318.0,
            "time_from": 1641009318.0,
            "time_to": 1641037765.0,
            "stop_id": 2,
            "order_type": 1,
            "created_on": 1652787683.680871,
            "latitude": 48.103903984330245,
            "longitude": 11.508656215223454,
            "duration": 503.4,
            "distance": 5748.3,
            "identification": "UD73YCWY4S",
            "weight": 9.0,
            "height": 16.0,
            "depth": 17.0,
            "width": 19.0,
            "buffer": 94.0
            },
            {
            "id": "e72b6_5477d14d_778_2f_aa0",
            "start_time": 1641009412.0,
            "end_time": 1641009583.0,
            "arrival_time": 1641009550.0,
            "time_from": 1641008477.0,
            "time_to": 1641032617.0,
            "stop_id": 3,
            "order_type": 1,
            "created_on": 1652787683.64987,
            "latitude": 48.10887516366968,
            "longitude": 11.518674878935018,
            "duration": 138.0,
            "distance": 1304.8,
            "identification": "JbmGkJFwep",
            "weight": 13.0,
            "height": 24.0,
            "depth": 17.0,
            "width": 20.0,
            "buffer": 33.0
            },
            .
            .
            .
        ]
        "total_duration": 12844.8,
        "total_distance": 87485.5,
        "start_time": 1641006464.4,
        "end_time": 1641019309.1999993,
        "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg",
        "polygon": "BPggzw2zv8wtUgglih9nj3v1Cgg",
        "batch": "0bdb0251a4b5_7_4412e68100"
        "created_on": 1652787712.36696 
        },
    . 
    .
    .
]


Retreive a Trip

*a trip_ID is an identification unique to a specific trip

This method fetches a specific trip, that has been saved in the API's database.

Responses

Body

id string

unique identifier generated by the API to distinguish trips

list of all assigned orders to a specific trip

id string

unique identifier generated by the API to distinguish orders

identification string

unique identifier generated by the user to distinguish orders

latitude float

latitude of the order

longitude float

longitude of the order

buffer float

time(UTC) in seconds to complete an order

weight float

weight in kilograms of the order

depth float

depth in meters of the order

height float

height in meters of the order

width float

width in meters of the order

time_from float

time(UTC) in Unix format of staring target delivery/pickup time window

time_to float

time(UTC) in Unix format of ending target delivery/pickup time window

duration float

duration in seconds for the driver to reach order coming from its previous location

distance float

distance in meters for the driver to reach order coming from its previous location

start_time float

time(UTC) in Unix format at which the driver is expected to leave for the order

arrival_time float

time(UTC) in Unix format at which the driver is expected to arrive at the order

end_time float

time(UTC) in Unix format at which the driver is expected to leave the order

stop_id Int

the position within a sequence of a trip in which the order is expected to be completed

order_type integer

identifier to distinguish the order between a delivery (value=0) and a pickup (value=1)

total_duration float

total duration in seconds of the trip

total_distance float

total distance in meters of the trip

start_time float

start time(UTC) of the trip in Unix format

end_time float

end time(UTC) of the trip in Unix format

polyline string

trip route path encoded in a flexible polyline format

polygon string

trip shape encoded in a flexible polyline format

batch string

id of the batch the trip is associated with

Example: Request in Python

import requests

trip_ID = 'trip_ID'

APIKey = 'Your API Key'

url = f'https://www.synertics.io/disposition/trips/{trip_ID}/'  

payload = ""
headers = {
    'Authorization': f'TOKEN {APIKey}', 
}

response = requests.request("GET", url, headers=headers, data=payload)

print(response.text)

Example: Response in JSON

{
    "id": "0bdb0251a4b5_7_4412e68100",
    "orders": [
        {
        "id": "f079ffb8e531258ee4948fc6d",
        "start_time": 1641003623.0,
        "end_time": 1641004103.0,
        "arrival_time": 1641004028.0,
        "time_from": 1641004028.0,
        "time_to": 1641037344.0,
        "stop_id": 1,
        "order_type": 1,
        "created_on": 1652787683.683871,
        "latitude": 48.102452855099244,
        "longitude": 11.495735211153573,
        "duration": 405.0,
        "distance": 3701.9,
        "identification": "6IHL7kVboC",
        "weight": 12.0,
        "height": 9.0,
        "depth": 6.0,
        "width": 22.0,
        "buffer": 75.0
        },
        {
        "id": "b75fb5f5716b2485bd37b0_f3",
        "start_time": 1641008814.6,
        "end_time": 1641009412.0,
        "arrival_time": 1641009318.0,
        "time_from": 1641009318.0,
        "time_to": 1641037765.0,
        "stop_id": 2,
        "order_type": 1,
        "created_on": 1652787683.680871,
        "latitude": 48.103903984330245,
        "longitude": 11.508656215223454,
        "duration": 503.4,
        "distance": 5748.3,
        "identification": "UD73YCWY4S",
        "weight": 9.0,
        "height": 16.0,
        "depth": 17.0,
        "width": 19.0,
        "buffer": 94.0
        },
        {
        "id": "e72b6_5477d14d_778_2f_aa0",
        "start_time": 1641009412.0,
        "end_time": 1641009583.0,
        "arrival_time": 1641009550.0,
        "time_from": 1641008477.0,
        "time_to": 1641032617.0,
        "stop_id": 3,
        "order_type": 1,
        "created_on": 1652787683.64987,
        "latitude": 48.10887516366968,
        "longitude": 11.518674878935018,
        "duration": 138.0,
        "distance": 1304.8,
        "identification": "JbmGkJFwep",
        "weight": 13.0,
        "height": 24.0,
        "depth": 17.0,
        "width": 20.0,
        "buffer": 33.0
        },
        .
        .
        .
    ]
    "total_duration": 12844.8,
    "total_distance": 87485.5,
    "start_time": 1641006464.4,
    "end_time": 1641019309.1999993,
    "polyline": "BPggzw2zv8wtUgglih9nj3v1Cgg",
    "polygon": "BPggzw2zv8wtUgglih9nj3v1Cgg",
    "batch": "0bdb0251a4b5_7_4412e68100"
    "created_on": 1652787712.36696 
}