Help regarding user and device api

Ashok Chandraa year ago

I want view assigned users for selected device or assigned devices for users.

This functionality already there or not. If not exist so how can we make this.

Anton Tananaeva year ago

Assigned devices you should be able to get directly from the API. Check the official app.

Ashok Chandraa year ago

I have checked the docs, api/devices/ returns all the devices for current logged in user.

Supose I am admin or manager and created 3 users and all 3 users have 5 device so I want view for devices for user by just passing the userid perameter.

Anton Tananaeva year ago

Are you passing the parameter to /api/devices?

Ashok Chandraa year ago

No, I am using /api/devices/ or api/devices/{id}/

There is any document for api perameter please share link

Anton Tananaeva year ago

Wait. You haven't checked the official API documentation before asking?

Ashok Chandraa year ago

its my mistake, I wrongly passing the parameters. now its working, i can view the connected devices for user.

I want also view the connected users with device. this is possible with exiting api? or not.

Anton Tananaeva year ago

Not directly.

Ashok Chandraa year ago

ok thanks. One last question
this question is pending, please suggest.
https://www.traccar.org/forums/topic/help-regarding-apimedia/