Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Excel

Aba Pedidos:

identifierweightvolumepickupTimeWindowStartpickupTimeWindowEnddeliveryTimeWindowStartdeliveryTimeWindowEndserviceLoadDurationserviceUnloadDurationoriginIdentifierdestinationIdentifier
Pedido_001
226
10
2021-07-01T08:00:00.0-03:00
2021-07-01T18:00:00.0-03:00
2021-07-01T08:00:00.0-03:00
2021-07-04T18:00:00.0-03:00
600000
1800000
CD-01 - CD JUNDIAI
CLI-000506-01 - MAKRO ATACADISTA S A
Pedido_002
5600
10
2021-07-01T08

Recebimento

Bloco de código
languagejava
linenumberstrue
{ "dateCall":"2021-08-18T10:00:00", "callbackUrl":"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
07-
18T18
01T18:00:00.0-03:00
", "deliveryTimeWindowStart":"
2021-
08
07-
18T08
01T08:00:00.0-03:00
", "deliveryTimeWindowEnd":"
2021-
09
07-
20T18
04T18:00:00.0-03:00
", "serviceLoadDuration":600000, "serviceUnloadDuration":1800000, "origin":{ "identifier":"
600000
1800000
CD-01 - CD JUNDIAI
", "country":"BRA", "latitude":-23.163984, "longitude":-46.934046, "operation":"UNRESTRICTED" }, "destination":{ "identifier":"
CLI-056194-01 - SEGALA'S ALIMENTOS LTDA

Aba Localidades:

identifieroperationaddressCountryaddressStateaddressCityaddressZipCodeaddressAddressaddressLatitudeaddressLongitude
Casa antiga
UNRESTRICTED
BRA
SP
São Paulo
06766140
Rua Virginia Polzato Pereira, 215
-23,163984
-46,934046
CLI-000506-01 - MAKRO ATACADISTA S A
UNRESTRICTED
BRA
SP
São Paulo
05688990
Rua do Makro, 2015
-23,674084
-46,571411
CD-01 - CD JUNDIAI
UNRESTRICTED
BRA
SP
Jundiai
35666458
Rua do cd jundiai, 200
-23,163984
-46,934046
CLI-056194-01 - SEGALA'S ALIMENTOS LTDA
UNRESTRICTED
BRA
SP
São Paulo
05647895
Rua do SEGALA, 200
-26,890883
-48,989389

Json

Bloco de código
languagejava
linenumberstrue
{
    "orders": [",
            "country":"BRA",
            "latitude":-23.674084,
            "longitude":-46.571411,
            "operation":"UNRESTRICTED"
         }{
      },
      {
         "identifier": "Pedido_002001",
            "weight":5600.0 226,
            "volume": 10.0,
            "pickupTimeWindowStart": "2021-0807-18T0801T08:00:00.0-03:00",
            "pickupTimeWindowEnd": "2021-0907-18T1801T18:00:00.0-03:00",
            "deliveryTimeWindowStart": "2021-0807-18T0801T08:00:00.0-03:00",
            "deliveryTimeWindowEnd": "2021-0907-20T1804T18:00:00.0-03:00",
            "serviceLoadDuration": 600000,
            "serviceUnloadDuration": 1800000,
         "origin":{
            "identifier"originIdentifier": "CD-01 - CD JUNDIAI",
            "countrydestinationIdentifier":"BRA",
            "latitude":-23.163984,
            "longitude":-46.934046,
            "operation":"UNRESTRICTED""CLI-000506-01 - MAKRO ATACADISTA S A"
         },
         "destination":{
            "identifier":"CLI-056194-01 - SEGALA'S ALIMENTOS LTDA",
            "country":"BRA""Pedido_002",
            "latitudeweight":-26.890883,
            "longitude":-48.989389 5600,
            "operationvolume":"UNRESTRICTED"
         } 10,
      }
   ],
   "vehiclespickupTimeWindowStart":[
      {
         "identifier":"Truck",
         "weightCapacity":14000.0,
         "volumeCapacity":100.0,
"2021-07-01T08:00:00.0-03:00",
            "quantitypickupTimeWindowEnd":1,
         "speed":30.0
      }
   ],
   "restrictions":{
      "maxLoadingStops":999"2021-07-01T18:00:00.0-03:00",
      "maxUnloadingStops":999
   },
   "routingOptions":{
      "capacityCriteria":"WEIGHT"
   }
}

Resposta

Bloco de código
languagejava
linenumberstrue
{
   "responseDate":deliveryTimeWindowStart": "2021-0807-18T1701T08:2900:42.670Z",
   "version":"",
   "success":true,
   "messages":[
      {00.0-03:00",
         "messageCode":"TPRRT0000",
         "message":"Sucesso."
      }
   ]
}

Callback

Bloco de código
languagejava
linenumberstrue
{
   "responseDate":"2021-08-18T13deliveryTimeWindowEnd": "2021-07-04T18:00:00.000Z0-03:00",
   "version":null,
   "summary":{
      "totalTripsserviceLoadDuration":1 600000,
      "totalDistance":706.0505969274221,
      "totalStopsserviceUnloadDuration":3 1800000,
      "totalVolume":20.0,
      "totalWeightoriginIdentifier":5826.0,
      "totalDuration":9.0126072E7 "CD-01 - CD JUNDIAI",
      "rejectedOrders":0,
      "rejectedWeightdestinationIdentifier":0.0,
      "rejectedVolume":0.0 "CLI-056194-01 - SEGALA'S ALIMENTOS LTDA"
   },
   "tripsResults":[
  }
    {],
         "distancelocalities":706.0505969274221, [
         "numberOfStops":3,{
         "volume":20.0,
         "weight"identifier":5826.0,
         "duration":90126072,
         "extraTrip":false,
"Casa antiga",
            "vehicleoperation": "TruckUNRESTRICTED",
            "stopsaddress":[
            {
                "stopSequencecountry":0 "BRA",
                "stopTypestate": "BOTHSP",
                "localitycity":{
 "São Paulo",
                "identifierzipCode":"CD-01 - CD JUNDIAI "06766140",
                  "countryaddress":"BR "Rua Virginia Polzato Pereira, 215",
                  "latitude": -23.163984,
                  "longitude": -46.934046,
            }
      "operation":"UNRESTRICTED"
  },
             },
   {
            "arrivalTimeidentifier": "2021-08-18T11:00:00.000ZCLI-000506-01 - MAKRO ATACADISTA S A",
               "departureTimeoperation":"2021-08-18T11:30:00.000Z "UNRESTRICTED",
               "loadedOrdersaddress":[
                  {
                     "identifiercountry": "Pedido_001BRA",
                    "state": "volumeSP":10.0,
                     "weightcity":226.0
                  },
   "São Paulo",
               {
                     "identifier":"Pedido_002"zipCode": "05688990",
                "address": "Rua do Makro,  "volume":10.02015",
                     "weightlatitude":5600.0
                  }
           -23.674084,
     ],
               "unloadedOrderslongitude":[
                   -46.571411
               ]}
            },
            {
            "identifier": "CD-01 - CD JUNDIAI"stopSequence":1,
               "stopTypeoperation": "BOTHUNRESTRICTED",
               "localityaddress": {
                  "identifiercountry":"CLI-000506-01 - MAKRO ATACADISTA S A "BRA",
                  "countrystate": "BRSP",
                  "latitudecity":-23.674084,
                  "longitude":-46.571411"Jundiai",
                  "operationzipCode": "UNRESTRICTED"
               }35666458",
               "arrivalTime":"2021-08-18T14:10:18.884Z",
               "departureTime":"2021-08-18T14:40:18.884Z",
               "loadedOrders":[
                  
               ],
               "unloadedOrders":[
  "address": "Rua do cd jundiai, 200",
                {
                     "identifier":"Pedido_001",
                     "volume":10.0,
   "latitude": -23.163984,
                  "weightlongitude":226 -46.0934046
                  }
               ]
            },
            {
               "stopSequence":2,
               "stopType":"BOTH",
               "locality":{
                  "identifier":""identifier": "CLI-056194-01 - SEGALA'S ALIMENTOS LTDA",
                  "country"operation": "BRUNRESTRICTED",
                  "latitudeaddress":-26.890883, {
                "country":  "longitudeBRA":-48.989389,
                  "operationstate": "UNRESTRICTEDSP"
            ,
   },
               "arrivalTimecity":"2021-08-19T11:32:06.072Z "São Paulo",
                "departureTimezipCode":"2021-08-19T12:02:06.072Z "05647895",
                "loadedOrdersaddress":[
 "Rua                 
               ],
               "unloadedOrders":[
   do SEGALA, 200",
               {
                     "identifier":"Pedido_002",
                     "volume":10.0,
  "latitude": -26.890883,
                   "weightlongitude":5600 -48.0989389
                  }
               ]
            }
         ]
      }
   ],
   "rejection":{
      "messages":[
         
      ],
      "orders":[
         
      ]
   },
   "messages":[
      
   ],
   "qualifiers":null
}}

Anexos

Anexos