Get Attributes from FM3001

Primtek4 years ago

when connect to FM3001, we see some new attributes like: Trip Odometer, Odometer etc.

Position and events are forwarded to our API for some process..we receive below in our API:

{"position":{"id":0,"attributes":{"priority":1,"sat":18,"event":247,"io247":5,"axisX":-1660,"axisY":473,"axisZ":-634,"distance":14778.05,"totalDistance":14835.74,"motion":false},"deviceId":23,"type":null,"protocol":"teltonika","serverTime":"2020-08-03T08:09:19.233+0000","deviceTime":"2018-12-13T10:37:12.450+0000","fixTime":"2018-12-13T10:37:12.450+0000","outdated":false,"valid":true,"latitude":-6.173565,"longitude":106.682835,"altitude":39.0,"speed":0.0,"course":10.0,"address":null,"accuracy":0.0,"network":null},"device":{"id":23,"attributes":{},"groupId":0,"name":"B1834COQ","uniqueId":"867060033461332","status":"online","lastUpdate":"2020-08-03T08:09:19.234+0000","positionId":11985,"geofenceIds":[],"phone":"","model":"","contact":"","category":null,"disabled":false}}
Primtek4 years ago

How do we add some attributes that comes from Teltonika FM3001 into url.forward & event.forward

Anton Tananaev4 years ago

All attributes are included by default.