Um objeto com o status servicing é enviado quando o operador inicia o serviço, seja ele a descarga do veículo, realização da entrega, retirada de objeto, etc.
{
"current": {
"_id": "5c63133b99c38427c2978c18",
"entity": {
"status": "servicing",
"id": "5c61e41c73921910e1a2680f",
"type": "task"
},
"eventType": "action",
"date": "2019-02-12T18:40:59.542Z",
"action": "start_service",
"sender": {
"firstName": "Operador",
"lastName": "ou Analista",
"username": "operador",
"updated": "2020-02-21T18:12:08.340Z",
"created": "2020-02-21T18:12:08.340Z",
"authentication_type": "email",
"email": "[email protected]",
"phone": "91111-1111",
"status": {
"position": {
"date": "2020-02-21T18:12:08.340Z",
"lat":-23.6179656,
"lng":-46.6378011,
},
"last_login": {
"date": "2021-05-17T19:45:12.289Z",
"device": {
"_id": "60a2c7c88366d12584f50dce"
}
}
},
"company_bound": "none",
"_id": "5e501d78be3cc67dfe61e8b6",
"displayName": "Operador ou Analista",
"__v": 0,
"id": "5e501d78be3cc67dfe61e8b6"
},
"user": "5b23d1d2614e781179e54c7e",
"values": {
"lat": -23.6179656,
"lng": -46.6378011,
"device": "39895e3dd0d49dc5"
},
"created": "2019-02-12T18:40:59.751Z",
"__v": 0,
"tracking": "http://company.routeasy.com.br/tracking?hash=9976d5ab2db8744fa6c459c8b635c5381180525d88abc1e7d77c3b950b158337351b26e4f407ff4214aa23a0f0d64ee9f041f42feb85fd2e69ad2a08c065bc5b274eebdb05143ab11dfce03c63df46b4",
"status": "servicing",
"services": [{
"id": "5c61e43873921910e1a26921",
"code": "19337462000127",
"name": "SUPERMERCADO NOVA ESPERANCA LTDA ME LTDA",
"invoice_number": "41140502834982004563550010000084111000132252",
"order_number": "44070",
"shipment_number": "0000566",
"email": "[email protected]",
"phone": "(19)982623331"
}],
"job": {
"id": "5eaae67cc9732214e9b4b8b2",
"due_date": "2020-04-30T14:53:48.323Z",
"routing": "5eaae657c9732214e9b4b891",
"route": {
"id": "5eaae65dc9732214e9b4b8a2",
"name": "Rota 1"
},
"operator": {
"displayName": "Josué da Silva",
"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
}