API Reference

Inicialização da rota do serviço

Objeto com status on_transit para todos os serviços da rota é enviado quando o operador iniciar a a rota.

{ "current": { "_id": "5eab09eac9732214e9b4bddd", "entity": { "status": "on_transit", "id": "5eaae657c9732214e9b4b89b", "type": "task" }, "eventType": "action", "date": "2020-04-30T17:24:58.126Z", "action": "job_start", "sender": { "firstName": "Operador", "lastName": "ou Analista", "email": "operador_ou_analista@suaempresa.com.br", "phone": "91111-1111" }, "displayName": "Operador ou Analista", "id": "5e501d78be3cc67dfe61e8b6" }, "user": "5e5d5430cbfb7d851c23d2be", "values": { "lat": -23.5826083, "lng": -46.830209, "date": "2022-01-18T17:52:45.633Z", "manufacturer": "Xiaomi", "model": "2109119DG", "uuid": "31cc16dc2976ffae", "androidVersion": "11", "connection_type_on_queue": "wifi", "battery_on_queue": { "level": 64, "plugged": false }, "appVersion": "2.13.2", "permissions": { "storage": "GRANTED", "camera": "GRANTED", "location": "GRANTED" }, "battery": { "level": 64, "plugged": false }, "connection_type": "wifi", "description": { "_id": "61e6fe821952403ca3152cdc", "key": "description", "value": "Processo de Transporte já Iniciado", "label": "Descrição", "type": "info" }, "occurrence_code": { "_id": "61e6fe821952403ca3152cdd", "key": "occurrence_code", "value": "00", "label": "Código de Ocorrência", "type": "info" } }, "created": "2020-04-30T17:24:58.127Z", "__v": 0, "tracking": "http://company.routeasy.com.br/tracking?hash=7f97ba1e170600b2f174ad1bf40d22755a40cf0bc9982d90f912668a2cb171f6e631d6c9195b157eac556b49a02cd4bd965e3dc4a810f104ad8a0324af05731e63b8dce1f494208e5c7e65efd6a4dc55", "status": "on_transit", "services": [{ "id": "5eaae65dc9732214e9b4b8a5", "name": "Cliente 2", "invoice_number": "41140502834982004563550010000084111000132248", "order_number": "4456521", "shipment_number": "0000566", "email": "email@customer.com.br", "phone": "(19)982623331" }], "job": { "id": "5eaae67cc9732214e9b4b8b2", "due_date": "2020-04-30T14:53:48.323Z", "routing": "5eaae657c9732214e9b4b891", "route": { "id": "5eaae65dc9732214e9b4b8a2", "name": "Rota 1" }, "operator": { "displayName": "Motorista Despachado", "documentNumber": "12345667899", "license_plate": "ABC-1234", "phone": [ "119999-0909" ] } }, "company": { "id": "5e416e0e0c50b02c6183c777", "name": "Sua Empresa", "company_info": { "logo": "", "domain": "routeasy" } }, "site":{ "id": "5e416e0e0c50b02c6183c799", "code": "Código Filial", "name": "Nome Filial" } }, "previous": null }
English
Powered by Localize
Português (Brasil)