API Reference

Inicialização do serviço

Objeto com status on_route é enviado quando o operador iniciar o serviço.

{ "current": { "_id": "5eab09eac9732214e9b4bddd", "entity": { "status": "on_route", "id": "5eaae657c9732214e9b4b89b", "type": "task" }, "eventType": "action", "date": "2020-04-30T17:24:58.126Z", "action": "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": {}, "created": "2020-04-30T17:24:58.127Z", "__v": 0, "tracking": "http://company.routeasy.com.br/tracking?hash=7f97ba1e170600b2f174ad1bf40d22755a40cf0bc9982d90f912668a2cb171f6e631d6c9195b157eac556b49a02cd4bd965e3dc4a810f104ad8a0324af05731e63b8dce1f494208e5c7e65efd6a4dc55", "status": "on_route", "services": [{ "id": "5eaae65dc9732214e9b4b8a5", "name": "Cliente 2", "invoice_number": "41140502834982004563550010000084111000132248", "order_number": "4456521", "shipment_number": "0000566", "email": "email@customer.com.br", "phone": null }], "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)