GroupId in GetUnit response

Solved!
Posted in General by Michael Falk Thu Jun 08 2017 09:57:47 GMT+0000 (Coordinated Universal Time)·3·Viewed 1,212 times

We are building some BI on top of your API. According to the API documentation the GroupId can be used as a filter on the GetUnit call. Is it possible to have it returned as a property when calling GetUnit. If not our only alternative is to loop the GetGroup result, and make a call pr. Group, but I would like to avoid that 8Since we only have about 60 units in total. Can this be fixed
Trackunit API Team
June 14, 2017

Hi Michael,

You would like the GetUnit response to include a list of all groups that contains the unit, and that are visible to the users token?

Michael Falk
June 14, 2017

Yes :-)

Trackunit API Team
Sep 18, 2017

Hi Michael

Thank you for this feedback, it is highly appreciated.
However, the GetUnit API call, will not be updated with group info for the time being.
Only way to have a group overview are still by using the group call:
https://api.trackunit.com/public/Group?token=xxxxxxxxxxxxxxxxxxxxxxx

Thanks.


Trackunit API Team marked this as solved
Markdown is allowed