O resultado da roteirização, também conhecido como o objeto version é o objeto que possui o resultado de roteirização. Quando se roteiriza na plataforma da RoutEasy, automaticamente o sistema gera a versão 0. Na medida que o cliente vai editando as rotas geradas, o sistema vai gerando novas versões. Mas somente uma delas é a versão oficial, ou como chamamos internamente, a starred version.
Retorno do Webhook
Com a roteirização finalizada, basta clicar no botão Finalizar para enviar o objeto Version para o endpoint que vocês devem fornecer na página de configurações.
Exemplo do Objeto Version
{
"summary":{
"total_vehicles":0,
"results_total_distance":33.568200000000004,
"results_total_vehicles":2,
"input_deliveries":7,
"results_total_loads":[
15.5,
3.5330000000000004,
0,
0,
0,
0
],
"results_total_cost":9.590914285714286,
"results_total_orphans":1,
"results_total_services":6,
"results_total_toll":0,
"runtime":0.217,
"total_distance_betwen_clients":7.137,
"total_distance_first_to_last":7.137,
"total_distance_optimized":16.224999999999998,
"total_distance_to_and_back_from_depot":9.088
},
"results":{
"routes":[
{
"loads":[
10.2,
2.233,
0,
0,
0,
0
],
"loads_pickup":[
0,
0,
0,
0,
0,
0
],
"loads_max":[
10.2,
2.233,
0,
0,
0,
0
],
"loads_delivery":[
10.2,
2.233,
0,
0,
0,
0
],
"occupancies_delivery":[
0.002914285714285714,
0.1015,
0,
0,
0,
0
],
"occupancies_pickup":[
0,
0,
0,
0,
0,
0
],
"occupancies_max":[
0.002914285714285714,
0.1015,
0,
0,
0,
0
],
"capacities":[
3500,
22,
0,
0,
0,
0
],
"occupancies":[
0.002914285714285714,
0.1015,
0,
0,
0,
0
],
"units":[
"Peso (kg)",
"Volume (m³)",
"Valor (R$)",
"Caixas",
"Carga 5",
"Carga 6"
],
"_id":"5efcb67faf2c3d6f7df46e00",
"name":"Rota 1",
"vehicle":"5e25bd69a3ee5155135f767d",
"distance":23.3645,
"wait":1.9927429876060003,
"delay":0,
"time":4.697977821265491,
"delivery_order":[
{
"_id":"5efcb67faf2c3d6f7df46e05",
"location":{
"constraints":{
"skills":[
],
"window_daily":[
{
"_id":"5e6fad76a512782f2ed66360",
"start_time":"1970-01-30T23:00:00.000Z",
"end_time":"1970-01-30T23:10:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.5631043,
"lng":-46.6543825
},
"route":"Av. Paulista - Brás, São Paulo - SP, Brazil"
},
"type":"depot",
"geocode_status":"found",
"loads":[
],
"service_type":"delivery",
"date":"2020-03-16T16:46:46.367Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"_id":"5efcb67faf2c3d6f7df46e05",
"name":"Origem - Avenida Paulista",
"customer_profile":null,
"code":"001",
"fullAddress":"Av. Paulista, 3500 - Bela Vista, São Paulo - SP, 01310-300, Brasill",
"id":"5efcb67faf2c3d6f7df46e05",
"formattedAddress":"Av. Paulista, 3500 - Bela Vista, São Paulo - SP, 01310-300, Brasil"
},
"departure_time":"1970-01-01T12:24:54.422Z",
"type":"depot"
},
{
"_id":"5efcb67faf2c3d6f7df46e04",
"location":{
"constraints":{
"skills":[
],
"window_daily":[
{
"_id":"60a3ccfe4f309731d8239cfa",
"end_time":"1970-01-01T17:00:00.000Z",
"start_time":"1970-01-01T02:30:00.000Z"
}
],
"region":""
},
"address":{
"geocode":{
"lat":-23.5967168,
"lng":-46.6489184
},
"route":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"neighborhood":"Moema",
"street_number":"789",
"additional_info":"",
"city":"São Paulo",
"state":"SP",
"postal_code":"04090-011",
"country":"Brasil"
},
"routing_prohibited_vehicles":[
],
"type":"service",
"geocode_status":"found",
"loads":[
0,
0,
0,
0,
0,
0
],
"service_type":"delivery",
"date":"2021-05-14T18:30:49.013Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"_id":"60a3ccfe4f309731d8239cf9",
"code":"",
"name":"Cliente 1",
"invoice_number":"",
"order_number":"",
"service_time":5,
"email":"[email protected]",
"phone":"(11)111111111",
"additional_info":"",
"additional_info_1":"",
"additional_info_2":"",
"depot":"",
"aggregation_code":"",
"_update":false,
"address_input":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"customer_profile":null,
"profile_name":null,
"formattedAddress":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil"
},
"arrival_time":"1970-01-01T13:00:00.000Z",
"departure_time":"1970-01-01T13:20:00.000Z",
"distance":8.0594,
"duration":0.5848825831702543,
"type":"service",
"order":1
},
{
"_id":"5efcb67faf2c3d6f7df46e03",
"location":{
"constraints":{
"skills":[
],
"window_daily":[
{
"_id":"60a3ccfe4f309731d8239cfa",
"end_time":"1970-01-01T17:00:00.000Z",
"start_time":"1970-01-01T02:30:00.000Z"
}
],
"region":""
},
"address":{
"geocode":{
"lat":-23.5967168,
"lng":-46.6489184
},
"route":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"neighborhood":"Moema",
"street_number":"789",
"additional_info":"",
"city":"São Paulo",
"state":"SP",
"postal_code":"04090-011",
"country":"Brasil"
},
"routing_prohibited_vehicles":[
],
"type":"service",
"geocode_status":"found",
"loads":[
0,
0,
0,
0,
0,
0
],
"service_type":"delivery",
"date":"2021-05-14T18:30:49.013Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"_id":"60a3ccfe4f309731d8239cf9",
"code":"",
"name":"Cliente 1",
"invoice_number":"",
"order_number":"",
"service_time":5,
"email":"[email protected]",
"phone":"(11)111111111",
"additional_info":"",
"additional_info_1":"",
"additional_info_2":"",
"depot":"",
"aggregation_code":"",
"_update":false,
"address_input":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"customer_profile":null,
"profile_name":null,
"formattedAddress":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil"
},
"arrival_time":"1970-01-01T15:30:00.000Z",
"departure_time":"1970-01-01T15:50:00.000Z",
"distance":2.4354,
"duration":0.17392367906066533,
"type":"service",
"order":2
},
{
"_id":"5efcb67faf2c3d6f7df46e02",
"location":{
"constraints":{
"skills":[
],
"window_daily":[
{
"_id":"60a3ccfe4f309731d8239cfa",
"end_time":"1970-01-01T17:00:00.000Z",
"start_time":"1970-01-01T02:30:00.000Z"
}
],
"region":""
},
"address":{
"geocode":{
"lat":-23.5967168,
"lng":-46.6489184
},
"route":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"neighborhood":"Moema",
"street_number":"789",
"additional_info":"",
"city":"São Paulo",
"state":"SP",
"postal_code":"04090-011",
"country":"Brasil"
},
"routing_prohibited_vehicles":[
],
"type":"service",
"geocode_status":"found",
"loads":[
0,
0,
0,
0,
0,
0
],
"service_type":"delivery",
"date":"2021-05-14T18:30:49.013Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"_id":"60a3ccfe4f309731d8239cf9",
"code":"",
"name":"Cliente 1",
"invoice_number":"",
"order_number":"",
"service_time":5,
"email":"[email protected]",
"phone":"(11)111111111",
"additional_info":"",
"additional_info_1":"",
"additional_info_2":"",
"depot":"",
"aggregation_code":"",
"_update":false,
"address_input":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"customer_profile":null,
"profile_name":null,
"formattedAddress":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil"
},
"arrival_time":"1970-01-01T16:07:45.557Z",
"departure_time":"1970-01-01T16:27:45.557Z",
"distance":3.7825,
"duration":0.2959882583170254,
"type":"service",
"order":3
},
{
"_id":"5efcb67faf2c3d6f7df46e01",
"location":{
"constraints":{
"skills":[
],
"window_daily":[
{
"_id":"60a3ccfe4f309731d8239cfa",
"end_time":"1970-01-01T17:00:00.000Z",
"start_time":"1970-01-01T02:30:00.000Z"
}
],
"region":""
},
"address":{
"geocode":{
"lat":-23.5967168,
"lng":-46.6489184
},
"route":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"neighborhood":"Moema",
"street_number":"789",
"additional_info":"",
"city":"São Paulo",
"state":"SP",
"postal_code":"04090-011",
"country":"Brasil"
},
"routing_prohibited_vehicles":[
],
"type":"service",
"geocode_status":"found",
"loads":[
0,
0,
0,
0,
0,
0
],
"service_type":"delivery",
"date":"2021-05-14T18:30:49.013Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"_id":"60a3ccfe4f309731d8239cf9",
"code":"",
"name":"Cliente 1",
"invoice_number":"",
"order_number":"",
"service_time":5,
"email":"[email protected]",
"phone":"(11)111111111",
"additional_info":"",
"additional_info_1":"",
"additional_info_2":"",
"depot":"",
"aggregation_code":"",
"_update":false,
"address_input":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil",
"customer_profile":null,
"profile_name":null,
"formattedAddress":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil"
},
"arrival_time":"1970-01-01T17:06:47.142Z",
"distance":9.0872,
"duration":0.6504403131115459,
"type":"depot"
}
],
"toll_info":[
{
"_id":"631a7fff3bb2283129e0323a",
"request":"631a7fff3bb2283129e03239",
"tolls_square":[
{
"_id":"631a7fff3bb2283129e0323b",
"id_api":"1613",
"id_sem_parar":"50",
"tolls_company":"AUTOBAN",
"tolls_name":"Valinhos - N",
"state":"SP",
"road":"SP-330",
"road_km":"82.000",
"price":10.5,
"lat":-23.012988,
"lng":-47.023083
},
{
"_id":"631a7fff3bb2283129e0323c",
"id_api":"1618",
"id_sem_parar":"55",
"tolls_company":"AUTOBAN",
"tolls_name":"Itupeva",
"state":"SP",
"road":"SP-348",
"road_km":"77.430",
"price":10.5,
"lat":-23.057552,
"lng":-47.044272
},
{
"_id":"631a7fff3bb2283129e0323d",
"id_api":"1616",
"id_sem_parar":"60",
"tolls_company":"AUTOBAN",
"tolls_name":"Caieiras",
"state":"SP",
"road":"SP-348",
"road_km":"36.200",
"price":10.6,
"lat":-23.347122,
"lng":-46.813321
},
{
"_id":"631a7fff3bb2283129e0323e",
"id_api":"1795",
"id_sem_parar":"244",
"tolls_company":"RODOANEL OESTE",
"tolls_name":"Castello Branco Externa",
"state":"SP",
"road":"SP-021",
"road_km":"14.290",
"price":2.5,
"lat":-23.508075,
"lng":-46.823248
}
]
}
],
"job":{
"operators":[
{
"_id":"6064c487e58f1507f3b7c662",
"operator_info":{
"shipping":{
"company":"Empresa"
},
"document_number":"123456789",
"third_player":false,
"vehicle_type":"Carro",
"alias_name":"Nome Completo",
"license_plate":"ABC1234"
},
"sites":[
"601307a2f7d01a577bbb5c2b"
],
"owner":false,
"hidden":false,
"company":"601307a2f7d01a577bbb5c1f",
"user":{
"_id":"6064c487e58f1507f3b7c635",
"status":{
"position":{
"lat":-23.4905034,
"lng":-46.6095309,
"date":"2021-07-29T14:21:46.966Z"
},
"last_login":{
"date":"2021-07-29T14:21:45.599Z"
}
},
"firstName":"Nome",
"lastName":"Completo",
"authentication_type":"email",
"phone":"123456789",
"email":"[email protected]",
"company_bound":"subordinate",
"username":"operadornovo"
}
}
],
"custom_rules":[
"show_window_daily"
],
"_id":"5efcb69f2e7d324f3e6f7ec8",
"routing":"5efcb67d9a6b934f1a43f296",
"route":"5efcb67faf2c3d6f7df46e00",
"user":"55f753f68b0eb0bd25abf98b",
"created":"2020-07-01T16:15:27.691Z",
"due_date":"2020-07-01T16:15:27.691Z",
"__v":0
},
"directions":[
{
"end":{
"delivery":{
"address":{
"geocode":{
"lat":-23.554644,
"lng":-46.6637513
},
"route":"Av. Paulista, 3500 - Bela Vista, São Paulo - SP, 01310-300, Brasil"
},
"type":"depot",
"transfer_depot":false,
"_id":"5b6843c64e571a33726d3b2b",
"constraints":{
"window_daily":[
{
"_id":"5efca35dfae7672354d40ce4",
"start_time":"1970-01-01T06:00:00.000Z",
"end_time":"1970-01-01T21:00:00.000Z"
}
]
},
"name":"Origem - Av. Paulista, 3500",
"user":"55f753f68b0eb0bd25abf98b",
"__v":0
}
}
},
{
"end":{
"delivery":{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5efcb67d9a6b934f1a43f2ba",
"end_time":"1970-01-01T22:00:00.000Z",
"start_time":"1970-01-01T13:00:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.6063285,
"lng":-46.65844550000001
},
"route":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
1.4,
0.333
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2b9",
"date":"2020-07-01T14:53:17.639Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 5",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855565",
"email":"[email protected]",
"invoice_number":"85149484",
"order_number":"1687",
"shipment_number":"14125481545"
}
}
},
{
"end":{
"delivery":{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5efcb67d9a6b934f1a43f2bc",
"end_time":"1970-01-01T22:30:00.000Z",
"start_time":"1970-01-01T15:30:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.6144391,
"lng":-46.6571258
},
"route":"Alameda Uapixana, 29 - Indianópolis, São Paulo - SP, 04085-030, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
3.6,
0.8
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2bb",
"date":"2020-07-01T14:53:17.644Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 4",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855564",
"email":"[email protected]",
"invoice_number":"1485148",
"order_number":"1984",
"shipment_number":"148415894"
}
}
},
{
"end":{
"delivery":{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
]
},
"address":{
"geocode":{
"lat":-23.6152379,
"lng":-46.628586
},
"route":"R. Lomas Valentinas, 273 - Vila da Saúde, São Paulo - SP, 04138-030, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
5.2,
1.1
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2b8",
"date":"2020-07-01T14:53:17.630Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 6",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855566",
"email":"[email protected]",
"additional_info":"Cuidado com o cão",
"additional_info_1":"Se estiver fechado, entregar no vizinho",
"additional_info_2":"Rua perigosa",
"invoice_number":"1451245",
"order_number":"14657",
"shipment_number":"564158445"
}
}
},
{
"end":{
"delivery":{
"address":{
"geocode":{
"lat":-23.554644,
"lng":-46.6637513
},
"route":"Av. Paulista, 3500 - Bela Vista, São Paulo - SP, 01310-300, Brasil"
},
"type":"depot",
"transfer_depot":false,
"_id":"5b6843c64e571a33726d3b2b",
"constraints":{
"window_daily":[
{
"_id":"5efca35dfae7672354d40ce4",
"start_time":"1970-01-01T06:00:00.000Z",
"end_time":"1970-01-01T21:00:00.000Z"
}
]
},
"name":"Origem - Av. Paulista, 3500",
"user":"55f753f68b0eb0bd25abf98b",
"__v":0
}
}
}
]
}
],
"orphans":[
{
"locations":[
"5efcb67d9a6b934f1a43f2b1"
],
"loads":[
1.5,
0.2
],
"_id":"5efcb67faf2c3d6f7df46e0c"
}
]
},
"tags":[
],
"date":"2020-07-01T16:14:53.074Z",
"directions":[
{
"_id":"5efcb67faf2c3d6f7df46e0e",
"route":"5efcb67faf2c3d6f7df46e06",
"polyline":"`pwnC~_y{GWZEDKFa@a@kEwDuBiBAG?CAC?C?C?C@C?A@C?C@C@Az@gAPSkBiBEEa@YOIiHsCOGqAi@aG_CWKQGg@S_C_Ag@SWKSIHS`BqFBEFWJY~AaFHYVWDi@pDqBbAm@HEJKJQe@eA_@y@MUa@{@q@uAMWk@kAYo@CKK]Oq@IY[sAk@gCRGlEmAlGgBRGBNh@~Bh@bCDPJf@BFjAnFDPKDgC`AqBv@qCxAQJa@{@q@uAMWk@kAYo@CKK]Oq@IY[sAk@gC[sAAGm@uCI_@Kc@YoAq@sC@O?CBEHE\\Md@Y|@iAPErFiAbAO|@K^ELEHC^IHC|A_@`Be@tAId@CvAIVAdCKJ?hIe@RALAbJe@`AGVAPAnDSTAjAG`CM?@b@DRFRTXXf@zABj@zHe@bCQhAQ\\GJHNLXTvB`BvAhAvAjAnA`AHDfDvBPJHDFDNHr@`@`A`@l@XTHNFPHHHf@b@\\Zn@l@B@b@b@NLRNvCbDOPwGlIMPKLaFnGgB|Bc@f@qAbBW\\IH}DdF[`@EDW\\?@BHBHDFJJXF\\Dd@DVDTDlAf@PJr@b@`A`AVVz@v@rApALLLLj@h@l@l@v@r@dCbCRPIHoDbEqEfFQRKJuA~AeAnAKJWXmD`EKJIJyChDKLMMiBkBWYq@u@KKGIAAi@i@_@a@kAmAe@g@KIIKkAoAoAsAIIKK_BeBEEo@q@CCIKKKwC}CGGKMcAgASWEC_AeAIIOOUWkBsBoAsAGIMMGIiBoBGIMN}BnCKNMNwBfCQRMNsBdCOPGf@HJf@n@dArAJLpAdBNRj@r@PTDFFHFFY\\m@r@g@n@u@x@"
},
{
"_id":"5efcb67faf2c3d6f7df46e0d",
"route":"5efcb67faf2c3d6f7df46e00",
"polyline":"`pwnC~_y{GWZEDKFIBIFCBEDCDADABAD?DAJ?D?D@DBBDBBBD?B@B?DAB?HCHCHCNSJIDCF?F?F@HBfAn@f@h@hB`Bf@d@t@x@RZz@vAHL`ApB`BxB\\f@z@rA|@|ALTt@`Bj@nA~@xBf@fAzBxEFLP`@HNxBpE|AzCNVDJ^t@Zl@T`@^j@HJnBtCJNJN|AtBZl@FPlArCBHN\\LVRd@h@nABFRd@nBpEPONKfE{FpAkBHKLJjCnB\\VLJLOxBeCLOJInByA`EiDNM~BkBbAu@jDqCjEmDvDwChDkCNKHIn@c@r@k@j@c@lAaAtAwARUNOHK`BcBLMPQ`BgBHKnBuBNOvBaCLMdBkBb@e@xBaCPQHItC_DDGHKJEzCiBCwAZeFbBLpAHdCRnF^`AHhCRrAF~BPjAJlEXbEXrF`@H@pDVr@D`BNvAHhABnACt@Gp@It@Ol@OjAe@^OXQz@m@ZUHGLILKFIHIFEJMtBuCv@aArAiB~CiEbDkEvC{DJOPUT[nAcBTYPUdCgDFKrBoCJMJHpCjC~CrChAfAdA~@JLHFfC`CJHJJNNd@`@LLJOrBqCHIq@m@UUGEHK~B_DhCiDfCkDhCiDvAmBFGzCrCpAz@|AbAVHfCbC|CtCdCzBXX|CrC~CrCzCvCVj@HFTRJH|@x@`AfA|@v@PBPKJ[Q]MSuAeAwAkAUQMGo@]}CuCyCuCw@u@gB_BJO~B}Ch@f@rBjBbAuAbAuAdAuAx@eAHMNQxByCfCkDhCiDxByCzBuC_DsCjBiCFYIOeAcEc@kB_@{AEOGUEQa@}A_@wACKEOcAcEQm@CEs@w@KIi@gAkA}C[u@k@uAIUTAr@CbAEI_D?IVoDBi@@}AAe@Bc@RiBd@_EBSD[x@eFBODQZoBV{Aj@cDF[Hc@DQrBy@XCwAsEIW_AuC_@kAOa@CIQi@So@wAmEK[i@_B_@oA{@eCWy@K]M_@o@uB_E|AIBwDtAaDfAwBDAYCQGMOOQOYI_@Ig@MMj@Ch@CLGHGHq@b@c@Z[VIHEPEZCd@Az@LxAHr@?DX|C?@x@jHG@EBGDCDAL@LeCdAIDu@ZSJMHOLKHS\\O^Cd@ATBt@FjBJrC@PyFVO?_DHSAOA{Eu@yB_@_C_@[CQCo@BO?{@FY@E?e@PYPw@IW?yEAK?UAgFAuA?gBAeDAQ?S?sA@eAAA?y@AC?S?cBA_CAe@?M?iBAiCAw@?oBAkHCW?a@?UA_@E]EWEWGo@Q_Ac@kCyB_@WWO]Qe@QkDmAME}@SWEe@EG?qCIW?e@Bk@FS@u@LWFcARk@RODWH]NmBlA_CrA_B`Ak@Zo@^kAp@IF{FbDEBMHSJKFeB`AsAv@CBGBm@\\_Af@iB`AeB`Ai@XmBdAoAr@}@f@QHGF}@\\k@Tk@FS?[AYLo@He@REBMFa@N{@\\_A\\gBn@_@L[LgA`@MDC@QFeC|@w@X{@ZmAb@YJYPc@Vg@r@{@nAGHgEHwABSTKPoGfI}BvCOPKN{AlBuDvEONWZyBnCoBdCuFdHeFpGWZmBbCgAtAQPIN_@`@eEhFuA~AEFQHMFy@ZmAPoAHoA@_AC{@E{@|A{@|AINKJkC~CKLMN}BnCKNMNwBfCQRMNsBdCOPGf@HJf@n@dArAJLpAdBNRj@r@PTDFFHFFY\\m@r@g@n@u@x@"
}
],
"routing":{
"_id":"5efcb67d9a6b934f1a43f296",
"transfer":{
"childs":[
]
},
"data":{
"routingProfile":{
"type":"shorten_distance",
"opts":{
"parameters_txt":"100 100 8 15 0.1 0.2 0.3 0.4 0.2 100 1 0 0 0 0 20 0 0 1000 0.2 0.2 0.2 0.2 0.1 0.2 150"
}
},
"opts":{
"traffic_type":"moderate",
"real_distances":true
},
"units":[
"Peso (kg)",
"Volume (m³)",
"Valor (R$)",
"Caixas",
"Carga 5",
"Carga 6"
],
"locations":[
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5efcb67d9a6b934f1a43f2bc",
"end_time":"1970-01-01T22:30:00.000Z",
"start_time":"1970-01-01T15:30:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.6144391,
"lng":-46.6571258
},
"route":"Alameda Uapixana, 29 - Indianópolis, São Paulo - SP, 04085-030, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
3.6,
0.8
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2bb",
"date":"2020-07-01T14:53:17.644Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 4",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855564",
"email":"[email protected]",
"invoice_number":"1485148",
"order_number":"1984",
"shipment_number":"148415894"
},
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5efcb67d9a6b934f1a43f2ba",
"end_time":"1970-01-01T22:00:00.000Z",
"start_time":"1970-01-01T13:00:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.6063285,
"lng":-46.65844550000001
},
"route":"Alameda dos Nhambiquaras, 789 - Moema, São Paulo - SP, 04090-011, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
1.4,
0.333
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2b9",
"date":"2020-07-01T14:53:17.639Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 5",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855565",
"email":"[email protected]",
"invoice_number":"85149484",
"order_number":"1687",
"shipment_number":"14125481545"
},
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
]
},
"address":{
"geocode":{
"lat":-23.6152379,
"lng":-46.628586
},
"route":"R. Lomas Valentinas, 273 - Vila da Saúde, São Paulo - SP, 04138-030, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
5.2,
1.1
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2b8",
"date":"2020-07-01T14:53:17.630Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 6",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855566",
"email":"[email protected]",
"additional_info":"Cuidado com o cão",
"additional_info_1":"Se estiver fechado, entregar no vizinho",
"additional_info_2":"Rua perigosa",
"invoice_number":"1451245",
"order_number":"14657",
"shipment_number":"564158445"
},
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5efcb67d9a6b934f1a43f2b7",
"end_time":"1970-01-01T11:30:00.000Z",
"start_time":"1970-01-01T08:00:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.5664475,
"lng":-46.658789
},
"route":"Av. Nove de Julho, 3000 - Jardim Paulista, São Paulo - SP, 01406-000, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
0,
0
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2b6",
"date":"2020-07-01T14:53:17.626Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 3",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null
},
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5efcb67d9a6b934f1a43f2b5",
"end_time":"1970-01-01T18:00:00.000Z",
"start_time":"1970-01-01T09:00:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.56346529999999,
"lng":-46.6459358
},
"route":"Av. Brigadeiro Luís Antônio - Bela Vista, São Paulo - SP, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
3.1,
0.9
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2b4",
"date":"2020-07-01T14:53:17.621Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 2",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855562",
"email":"[email protected]",
"additional_info_1":"Teste",
"invoice_number":"1548451489",
"order_number":"01644",
"shipment_number":"15154851151"
},
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5efcb67d9a6b934f1a43f2b3",
"end_time":"1970-01-01T17:00:00.000Z",
"start_time":"1970-01-01T08:00:00.000Z"
}
]
},
"address":{
"geocode":{
"lat":-23.5514372,
"lng":-46.650244
},
"route":"R. Augusta, 443 - Consolação, São Paulo - SP, 01305-000, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
2.2,
0.4
],
"service_type":"delivery",
"_id":"5efcb67d9a6b934f1a43f2b2",
"date":"2020-07-01T14:53:17.614Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 1",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"phone":"11999855561",
"email":"[email protected]",
"additional_info":"Teste",
"invoice_number":"05151457",
"order_number":"0145",
"shipment_number":"1564856151"
},
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
]
},
"address":{
"geocode":{
"lat":-23.5588649,
"lng":-46.62249879999999
},
"route":"R. Justo Azambuja, 79 - Cambuci, São Paulo - SP, 01518-000, Brasil"
},
"type":"service",
"geocode_status":"found",
"loads":[
1.5,
0.2
],
"service_type":"delivery",
"_id":"62474e0459e296f623f2db1e",
"date":"2020-07-01T14:53:17.610Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"name":"Cliente 11",
"weight":0,
"volume":0,
"customer_profile":null,
"service_time":20,
"profile_name":null,
"code":"007",
"phone":"11999855567",
"email":"[email protected]",
"additional_info":"Teste",
"invoice_number":"11222245",
"order_number":"1444",
"shipment_number":"148978941232123"
}
],
"vehicles":[
{
"capacity":{
"weight":0,
"volume":0
},
"constraints":{
"allowed_regions":{
"sp":true
},
"minimum_filling":60,
"maximum_filling":100,
"skills":[
],
"fleet_size":0,
"maximum_stops":99,
"maximum_travel_time":8,
"maximum_travel_distance":10000,
"maximum_distance_between_stops":10,
"breaks":[
]
},
"groups":[
],
"capacities":[
1500,
9,
0,
0,
0,
0
],
"leg_option":"roundtrip",
"fuel_consumption":7,
"fuel_cost":2,
"_id":"5e25bd6834e7a154f57a5843",
"average_speed":25,
"speed_factor":0.56,
"quantity_axle":2,
"type":"Van",
"name":"Van",
"vehicle_type_factor":1,
"input_pos":0
},
{
"capacity":{
"weight":0,
"volume":0
},
"constraints":{
"allowed_regions":{
"sp":true
},
"minimum_filling":60,
"maximum_filling":100,
"skills":[
],
"fleet_size":2,
"maximum_stops":3,
"maximum_travel_time":8,
"maximum_travel_distance":10000,
"maximum_distance_between_stops":10,
"breaks":[
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5e6801377d5ab5679bd8eb13",
"start_time":"1970-01-01T09:30:00.000Z",
"end_time":"1970-01-01T15:00:00.000Z"
}
]
},
"type":"break",
"geocode_status":"found",
"loads":[
],
"service_type":"delivery",
"_id":"5e6801377d5ab5679bd8eb12",
"service_time":60,
"name":"Parada Planejada",
"date":"2020-07-01T16:14:53.063Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"customer_profile":null
},
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5e6801377d5ab5679bd8eb11",
"start_time":"1970-01-01T15:30:00.000Z",
"end_time":"1970-01-02T00:00:00.000Z"
}
]
},
"type":"break",
"geocode_status":"found",
"loads":[
],
"service_type":"delivery",
"_id":"5e6801377d5ab5679bd8eb10",
"service_time":60,
"name":"Parada Planejada",
"date":"2020-07-01T16:14:53.063Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"customer_profile":null
}
]
},
"groups":[
],
"capacities":[
3500,
22,
0,
0,
0,
0
],
"leg_option":"roundtrip",
"fuel_consumption":7,
"fuel_cost":2,
"_id":"5e25bd69a3ee5155135f767d",
"average_speed":25,
"speed_factor":0.56,
"quantity_axle":2,
"type":"Vuc",
"name":"Vuc",
"vehicle_type_factor":0.73,
"input_pos":1
},
{
"capacity":{
"weight":13000,
"volume":50
},
"constraints":{
"allowed_regions":{
"sp":false
},
"minimum_filling":60,
"maximum_filling":100,
"skills":[
],
"fleet_size":0,
"maximum_stops":10,
"maximum_travel_time":8,
"maximum_travel_distance":10000,
"maximum_distance_between_stops":10,
"breaks":[
{
"constraints":{
"prohibited_vehicles":[
],
"skills":[
],
"window_daily":[
{
"_id":"5e4bf7f41530c6466f4662bc"
}
]
},
"type":"break",
"geocode_status":"found",
"loads":[
],
"service_type":"delivery",
"_id":"5e4bf7f41530c6466f4662bb",
"service_time":60,
"date":"2020-07-01T16:14:53.065Z",
"addresses_supplied":[
],
"variable_service_time":[
],
"customer_profile":null
}
]
},
"groups":[
],
"capacities":[
13000,
50,
0,
0,
0,
0
],
"leg_option":"roundtrip",
"fuel_consumption":5,
"fuel_cost":2,
"_id":"5e25bd6bb8f8ed54fb7d635e",
"average_speed":25,
"speed_factor":0.56,
"quantity_axle":3,
"type":"Truck",
"name":"Truck",
"vehicle_type_factor":0.73,
"input_pos":2
},
{
"capacity":{
"weight":0,
"volume":0
},
"constraints":{
"allowed_regions":{
"sp":false
},
"minimum_filling":60,
"maximum_filling":100,
"skills":[
],
"fleet_size":0,
"maximum_stops":1,
"maximum_travel_time":8,
"maximum_travel_distance":10000,
"maximum_distance_between_stops":10,
"breaks":[
]
},
"groups":[
],
"capacities":[
24000,
95,
0,
0,
0,
0
],
"leg_option":"roundtrip",
"fuel_consumption":3,
"fuel_cost":2,
"_id":"5e25bd6ca3ee5155135f769d",
"average_speed":25,
"speed_factor":0.56,
"quantity_axle":4,
"type":"Carreta",
"name":"Carreta",
"vehicle_type_factor":0.73,
"input_pos":3
}
],
"constraints":{
"delivery_window_daily":{
"enabled":true
},
"delivery_prohibited_vehicles":{
"enabled":false
},
"delivery_exclusive_vehicles":{
"enabled":false
},
"vehicle_breaks":{
"enabled":false
},
"vehicle_maximum_stops":{
"enabled":true
},
"vehicle_minimum_filling":{
"enabled":false
},
"vehicle_maximum_filling":{
"enabled":false
},
"vehicle_maximum_travel_time":{
"enabled":false
},
"vehicle_maximum_travel_distance":{
"enabled":false
},
"vehicle_allowed_region_sp":{
"enabled":false
},
"vehicle_fleet_size":{
"enabled":true
},
"delivery_region":{
"enabled":false
},
"skills":{
"enabled":false
},
"do_not_return_to_depot":{
"enabled":false
},
"consolidate_locations":{
"enabled":false
},
"regions":{
"enabled":true
},
"vehicle_maximum_distance_between_stops":{
"enabled":false
}
},
"depots":[
{
"address":{
"geocode":{
"lat":-23.554644,
"lng":-46.6637513
},
"route":"Av. Paulista, 3500 - Bela Vista, São Paulo - SP, 01310-300, Brasil"
},
"type":"depot",
"transfer_depot":false,
"_id":"5b6843c64e571a33726d3b2b",
"constraints":{
"window_daily":[
{
"_id":"5efca35dfae7672354d40ce4",
"start_time":"1970-01-01T06:00:00.000Z",
"end_time":"1970-01-01T21:00:00.000Z"
}
]
},
"name":"Origem - Av. Paulista, 3500",
"user":"55f753f68b0eb0bd25abf98b",
"__v":0
}
],
"breaks":[
],
"services":[
{
"loads":[
0,
5,
0,
1
],
"service_type":"delivery",
"_id":"62474e0459e296f623f2dd13",
"code":"007",
"name":"Cliente 11",
"location":"62474e0459e296f623f2db1e",
"date":"2021-12-28T15:17:46.582Z",
"address":{
"_id":"62474e0459e296f623f2db21",
"postal_code":"01518-000",
"city":"São Paulo",
"state":"SP",
"route":"R. Justo Azambuja",
"country":"Brasil",
"street_number":"79",
"neighborhood":"Cambuci",
"additional_info":"",
"geocode":{
"lat":-23.5588649,
"lng":-46.62249879999999
}
},
"invoice_number":"11222245",
"order_number":"1444",
"additional_info":"Teste",
"additional_info_1":"",
"additional_info_2":""
},
{
"loads":[
1,
0,
0,
1
],
"service_type":"delivery",
"_id":"62474e0459e296f623f2dd14",
"code":"007",
"name":"Cliente 11",
"location":"62474e0459e296f623f2db1e",
"date":"2021-12-28T15:17:46.582Z",
"address":{
"_id":"62474e0459e296f623f2db21",
"postal_code":"01518-000",
"city":"São Paulo",
"state":"SP",
"route":"R. Justo Azambuja",
"country":"Brasil",
"street_number":"79",
"neighborhood":"Cambuci",
"additional_info":"",
"geocode":{
"lat":-23.5588649,
"lng":-46.62249879999999
}
},
"invoice_number":"11222246",
"order_number":"1445",
"additional_info":"Teste",
"additional_info_1":"",
"additional_info_2":""
}
],
"locations_map":{
"5b6843c64e571a33726d3b2b":0,
"5efcb67d9a6b934f1a43f2bb":1,
"5efcb67d9a6b934f1a43f2b9":2,
"5efcb67d9a6b934f1a43f2b8":3,
"5efcb67d9a6b934f1a43f2b6":4,
"5efcb67d9a6b934f1a43f2b4":5,
"5efcb67d9a6b934f1a43f2b2":6,
"62474e0459e296f623f2db1e":7
},
"first_version":"5efcb67d9a6b934f1a43f2d7",
"distance_matrix":true,
"order":{
}
},
"archived":false,
"state":"created",
"company":"5f34589c02c3962193524663",
"site":"5f6bb9d3ba085c3a76dfa2ca",
"_id":"5efcb67d9a6b934f1a43f2d7",
"archived":false,
"name":"Roteirização Teste",
"member":"55f753f68b0eb0bd25abf98b",
"date":"2020-07-01T16:14:53.032Z",
"groups":[
],
"__v":0
}
}
Schema do Objeto Version
Campo | Tipo | Descrição |
---|---|---|
summary.input_deliveries | Integer | Qtd. de serviços no input |
summary.results_total_orphans | Integer | Quantidade total de serviços órfãos |
summary.results_total_distance | Float | Distância percorrida |
summary.results_total_vehicles | Integer | Qtd. de veículos utilizados |
summary.results_total_loads | Array | Total das cargas utilizadas na roteirização |
summary.results_total_cost | Float | Custo total da operação |
summary.results_total_toll | Float | Custo somente de pedágio |
summary.results_total_services | Integer | Total de serviços que estão em alguma rota da roteirização |
results.routes | Obj Array | Array das ROTAS geradas |
results.routes.loads | Array | Total da carga utilizada por rota/veículo |
results.routes.name | String | Nome da rota |
results.routes.vehicle | String/ID | ID do veículo |
results.routes.distance | Float | Distância planejada percorrida por esta rota |
results.routes.time | Float | Tempo de percurso |
results.routes.delivery_order | Array | Array dos pedidos em ordem |
results.routes.delivery_order.location | Object | Objeto contendo informações do ponto do serviço, como endereço, cargas, etc. |
results.routes.delivery_order.type | String | Tipo de serviço, pode ser depot (origem) ou service (cliente) |
results.routes.delivery_order.arrival_time | Date | Hora estimada de chegada [1] |
results.routes.delivery_order.departure_time | Date | Hora estimada de saída [1] |
results.routes.delivery_order.distance | Float | Distância percorrida até este ponto |
results.routes.delivery_order.duration | Float | Tempo estimado de percurso |
results.routes.delivery_order.order | Integer | Ordem do cliente dentro da rota |
results.routes.delivery_order.location | Object | Objeto contendo as informações |
results.routes.toll_info | Array | Informações de pedágio |
results.routes.toll_info.tolls_square | Array | Array de objetos que representam cada praça de pedágio |
results.routes.toll_info.tolls_square.id_sem_parar | String | Id da praça de pedágio na base de dados do Sem Parar® |
results.routes.toll_info.tolls_square.tolls_company | String | Nome da empresa que administra a praça de pedágio |
results.routes.toll_info.tolls_square.tolls_name | String | Nome da praça de pedágio |
results.routes.toll_info.tolls_square.state | String | Estado em que a praça de pedágio está localizada |
results.routes.toll_info.tolls_square.road | String | Nome da rodovia em que a praça de pedágio está localizada |
results.routes.toll_info.tolls_square.road | String | Quilometro da rodovia na qual a praça de pedágio está localizada |
results.routes.toll_info.tolls_square.price | Number | Valor a ser pago pelo veículo nesta praça de pedágio (valor calculado considerando o tipo de veículo da rota) |
results.routes.toll_info.tolls_square.lat | Number | Latitude da praça de pedágio |
results.routes.toll_info.tolls_square.lng | Number | Longitude da praça de pedágio |
results.routes.directions | Array | Array de objetos que contém um maior nível de detalhe dos serviços. Ordem da rota segue a ordem do index |
results.routes.directions.end | Object | Ponto final deste trecho. |
results.routes.directions.end.delivery | Object | Informações do serviço. |
results.routes.directions.end.delivery.address | Object | Objeto com as informações do endereço deste cliente específico. |
results.routes.job | Object | Quando o usuário atribui um motorista a uma rota, o objeto de job é preenchido com as informações |
results.routes.job.routing | String/ID | ID da routing a qual este job faz referência |
results.routes.job.route | String/ID | ID da route (rota) a qual este job faz referência |
results.routes.job.operators | Array of Objects | Array referente aos operadores (motoristas e ajudantes) que irão realizar as rotas |
results.routes.job.operators.operator_info.shipping | Object | Objeto com dados da transportadora (quando há) |
results.routes.job.operators.operator_info.shipping.code | String | Cód. da Transportadora |
results.routes.job.operators.operator_info.shipping.company | String | Nome da empresa que fará o transporte |
results.routes.job.operators.operator_info.documentNumber | String | Documento do motorista |
results.routes.job.operators.operator_info.third_player | Boolean | TRUE se o motorista for terceirizado |
results.routes.job.operators.operator_info.vehicle_type | String | Tipo do veículo cadastrado para esse motorista (diferente do tipo de veículo usado na rota) |
results.routes.job.operators.operator_info.alias_name | String | Nome de exibição do motorista |
results.routes.job.operators.operator_info.license_plate | String | Placa do veículo |
results.routes.job.operators.user.firstName | String | Primeiro nome do motorista |
results.routes.job.operators.user.lastName | String | Sobrenome do Motorista |
results.routes.job.operators.user.authentication_type | String | Forma de cadastro do motorista no sistema ("email" ou "phone") |
results.routes.job.operators.user.phone | String | Telefone do motorista |
results.routes.job.operators.user.email | String | E-mail do motorista |
results.routes.job.operators.user.company_bound | String | Motorista de gestão do motorista - Gerido pela Company ("subordinate") ou Gerido pelo Usuário ("none") |
results.routes.job.operators.user.username | String | Nome de usuário do motorista no APP |
results.routes.job.due_date | Date | Data para a qual a entrega foi agendada |
results.orphans | Array | Os pedidos órfãos são os que por algum motivo operacional não foram atendidos |
results.orphans.locations | Array | Array de IDs de clientes |
results.orphans.loads | Array | Carga total que não foi atendida |
routing.data.locations | Array | Array de serviços (clientes) |
routing.data.locations.address | Object | Objeto de endereço do cliente |
routing.data.locations.address.route | String | Logradouro |
routing.data.locations.address.street_number | String | Número |
routing.data.locations.address.city | String | Cidade |
routing.data.locations.address.postal_code | String | CEP |
routing.data.locations.address.country | String | País |
routing.data.locations.address.additional_info | String | Complemento |
routing.locations.address.geocode | Object | Objeto de geolocalização |
routing.data.locations.address.geocode.lat | Float | Latitude |
routing.locations.address.geocode.lng | Float | Longitude |
routing.locations.constraints | Object | Objeto de restrições operacionais |
routing.data.locations.constraints.window_daily | Object | Objeto de janela horária |
routing.data.locations.constraints.window_daily.start_time | Date | Hora de início |
routing.locations.constraints.window_daily.end_time | Date | Hora de término |
routing.data.locations.routing_prohibited_vehicles | Array | Array de IDs dos veículos proibidos (os veículos que não podem atender este cliente) |
routing.data.locations.constraints.skills | Array | Array de skills |
routing.data.locations.loads | Array | Array de volumes deste serviço em específico |
routing.data.locations.code | String | Cód. do cliente |
routing.data.locations.name | String | Nome do cliente |
routing.data.locations.invoice_number | String | Número da Nota Fiscal |
routing.data.locations.order_number | String | Número do Pedido |
routing.data.locations.email | String | E-mail do cliente |
routing.data.locations.phone | String | Telefone do cliente |
routing.data.locations.additional_info | String | Observações |
routing.data.services | Array Objects | Objeto contendo as informações de cada serviço consolidado, caso não haja nenhum o objeto será vazio |
routing.data.vehicles | Array Objects | Informações dos veículos utilizados na roteirização |
routing.name | String | Nome da roteirização |
routing.site | String | ID da filial |
routing.group | Array de String | Array contendo os IDs das routings, para o caso de agrupamento de Delivery groups |
[1] As datas de chegada e partida planejada estão no formato "1970-01-01T00:00.000Z", pois a data 1970-01-01 serve de referência para o sistema saber em qual dia será feita a entrega, primeiro dia (1970-01-01), segundo dia (1970-01-02), e assim por diante. O horário está em UTC, indicado pelo "Z" ao final.