How can i know the station group inside app, like i want to know the station group of logged in user, Using this feature we can manage user persona instead of using user group
Hi @shivam.sharma ,
I’ve implemented a similar use case and can share the details:
-
Retrieve Station ID
You can find the station ID from the App Info section. -
Get Station Group ID
Use the Station ID with the Next Gen API:
GET /api/stations/v1/stations/{stationId}
url :- /api/stations/v1/stations/{stationId} -
Fetch Station Group Name
With the Station Group ID, call:
GET /api/stations/v1/station-groups/{stationGroupId}
url : /api/stations/v1/station-groups/{stationGroupId}
I’m using this approach in my app for complete user management, station management, and interface control directly through Tulip App.
If anyone has a simpler workaround or alternative method, please feel free to share!
