There are no report tables.
sorry is REPORTS
There is no such table.
I have this query by method get "reports/events?deviceId= 5" returns an answer like this
[
{
"id": 3761288,
"attributes": {},
"deviceId": 5,
"type": "geofenceEnter",
"serverTime": "2019-01-10T00: 59: 18,000 + 0000",
"positionId": 8270765, <-------- this is an id of the table position quier a query that brings this relation
"geofenceId": 6
}
]
What is your question?
It is simply to bring the related data between report and position in a single query
Use positions API endpoint.
thank you very much for answering friend I will try any questions I will write here THANK YOU
although seeing the situation well if I make a query to position only brings me the positions but not em brings the events :(
Have you included id
in the request?
I think I do not understand, I can pass the id of the perfect position but it would be two separate queries when I think they can be done in one instead of two, eg consult reports/events and position then <- no, if not to consult reports and bring me the information of both
It's not possible to get all information with a single request.
thank you!
I need to know how to bring data that relate the tables of reports with the position table, normally we consult a url in method get for example the report/stops but only bring the data from that table, having a relationship between the tables of reports and the position table