Bloco de código | ||||
---|---|---|---|---|
| ||||
{ "dateCall":"2021-08-18T10:00:00", "callbackUrlcallbackURL":"https://5530a927-9c79-413c-b116-63907863f4c2.mock.pstmn.io/tpr", "callbackAuthenticationType":"NONE", "orders":[ { "identifier":"Pedido_001", "weight":226.0, "volume":10.0, "pickupTimeWindowStart":"2021-08-18T08:00:00.0-03:00", "pickupTimeWindowEnd":"2021-09-18T18:00:00.0-03:00", "deliveryTimeWindowStart":"2021-08-18T08:00:00.0-03:00", "deliveryTimeWindowEnd":"2021-09-20T18:00:00.0-03:00", "serviceLoadDuration":600000, "serviceUnloadDuration":1800000, "origin":{ "identifier":"CD-01 - CD JUNDIAI", "country":"BRA", "latitude":-23.163984, "longitude":-46.934046, "operation":"UNRESTRICTED" }CUSTOMIZED", "destination "customizedOperations":[{ "identifierweekDay":"CLI-000506-01 - MAKRO ATACADISTA S A "MON", "countrystartTime": "BRA10:00", "latitudeendTime":-23.674084, "17:00" }] "longitude":-46.571411 }, "operationdestination":"UNRESTRICTED"{ } } "identifier":"CLI-000506-01 - MAKRO ATACADISTA S A", { "identifiercountry":"Pedido_002BRA", "weightlatitude":5600-23.0674084, "volumelongitude":10-46.0571411, "pickupTimeWindowStartoperation":"2021-08-18T08:00:00.0-03:00",UNRESTRICTED" "pickupTimeWindowEnd":"2021-09-18T18:00:00.0-03:00"} }, { "deliveryTimeWindowStartidentifier":"2021-08-18T08:00:00.0-03:00Pedido_002", "deliveryTimeWindowEnd":"2021-09-20T18:00:00.0-03:00",weight":5600.0, "serviceLoadDurationvolume":60000010.0, "serviceUnloadDurationpickupTimeWindowStart":1800000"2021-08-18T08:00:00.0-03:00", "pickupTimeWindowEnd"origin":{:"2021-09-18T18:00:00.0-03:00", "identifierdeliveryTimeWindowStart":"CD-01 - CD JUNDIAI2021-08-18T08:00:00.0-03:00", "countrydeliveryTimeWindowEnd":"BRA2021-09-20T18:00:00.0-03:00", "latitudeserviceLoadDuration":-23.163984600000, "longitudeserviceUnloadDuration":-46.9340461800000, "operationorigin":"UNRESTRICTED" }, "destination":{ "identifier":"CLI-056194CD-01 - SEGALA'S ALIMENTOS LTDACD JUNDIAI", "country":"BRA", "latitude":-2623.890883163984, "longitude":-4846.989389934046, "operation":"UNRESTRICTED" }, } ], "vehiclesdestination":[{ { "identifier":"TruckCLI-056194-01 - SEGALA'S ALIMENTOS LTDA", "weightCapacitycountry":14000.0"BRA", "volumeCapacitylatitude":100-26.0890883, "quantity":1, "speed":30.0 "longitude":-48.989389, "operation":"UNRESTRICTED" } } ], "vehicles":[ { "identifier":"Truck", "weightCapacity":14000.0, "volumeCapacity":100.0, "quantity":1, "speed":30.0 } ], "restrictions":{ "maxLoadingStops":999, "maxUnloadingStops":999 }, "routingOptions":{ "capacityCriteria":"WEIGHT" } } |
Bloco de código | ||||
---|---|---|---|---|
| ||||
{ "responseDate":"2021-08-18T17:29:42.670Z", "version":"", "success":true, "messages":[ }{ ], "restrictions":{ "maxLoadingStopsmessageCode":999"TPRRT0000", "maxUnloadingStops":999 }, "routingOptionsmessage":{"Sucesso." "capacityCriteria":"WEIGHT"} }] } |
Bloco de código | ||||
---|---|---|---|---|
| ||||
{ "responseDate":"2021-08-18T1718T13:2900:4200.670Z000Z", "version":"", "success":true, "messages":[ { "messageCode":"TPRRT0000"null, "summary":{ "messagetotalTrips":"Sucesso."1, }"totalDistance":706.0505969274221, ] } |
Bloco de código | ||||
---|---|---|---|---|
| ||||
{ "responseDatetotalStops":"2021-08-18T13:00:00.000Z"3, "versiontotalVolume":null20.0, "summarytotalWeight":{5826.0, "totalTripstotalDuration":19.0126072E7, "totalDistancerejectedOrders":706.05059692742210, "totalStopsrejectedWeight":30.0, "totalVolumerejectedVolume":200.0, }, "totalWeighttripsResults":5826.0,[ { "totalDurationdistance":9706.0126072E70505969274221, "rejectedOrdersnumberOfStops":03, "rejectedWeightvolume":020.0, "rejectedVolumeweight":05826.0 }, "tripsResults":[ {"duration":90126072, "distanceextraTrip":706.0505969274221false, "numberOfStopsvehicle":3"Truck", "volume":20.0,stops":[ "weight":5826.0, { "duration":90126072, "extraTripsequence":false0, "vehicletype":"TruckBOTH", "stops":[ "locality":{ { "identifier":"CD-01 - CD "stopSequenceJUNDIAI":0, "stopTypecountry":"BOTHBR", "localitylatitude":{-23.163984, "identifierlongitude":"CD-01 - CD JUNDIAI"-46.934046, "countryoperation":"BRCUSTOMIZED", "customizedOperations":[{ "weekDay": "latitudeMON":-23.163984, "startTime": "longitude":-46.93404610:00", "operationendTime": "UNRESTRICTED"17:00" }] }, "arrivalTime":"2021-08-18T11:00:00.000Z", "departureTime":"2021-08-18T11:30:00.000Z", "loadedOrders":[ { "identifier":"Pedido_001", "volume":10.0, "weight":226.0 }, { "identifier":"Pedido_002", "volume":10.0, "weight":5600.0 } ], "unloadedOrders":[ ] }, { "stopSequencesequence":1, "stopTypetype":"BOTH", "locality":{ "identifier":"CLI-000506-01 - MAKRO ATACADISTA S A", "country":"BR", "latitude":-23.674084, "longitude":-46.571411, "operation":"UNRESTRICTED" }, "arrivalTime":"2021-08-18T14:10:18.884Z", "departureTime":"2021-08-18T14:40:18.884Z", "loadedOrders":[ ], "unloadedOrders":[ { "identifier":"Pedido_001", "volume":10.0, "weight":226.0 } ] }, { "stopSequencesequence":2, "stopTypetype":"BOTH", "locality":{ "identifier":"CLI-056194-01 - SEGALA'S ALIMENTOS LTDA", "country":"BR", "latitude":-26.890883, "longitude":-48.989389, "operation":"UNRESTRICTED" }, "arrivalTime":"2021-08-19T11:32:06.072Z", "departureTime":"2021-08-19T12:02:06.072Z", "loadedOrders":[ ], "unloadedOrders":[ { "identifier":"Pedido_002", "volume":10.0, "weight":5600.0 } ] } ] } ], "rejection":{ "messages":[ ], "orders":[ ] }, "messages":[ ], "qualifiers":null } |