Discussions

Ask a Question
Back to All

How to Query in a GenericPropertyDataCollection REST API

Hello, when I have multiple values in a json result, but I want to query just those that have one "Name" with value "AB", how can I build the query for this ?

For example: for the link, I'm filtering with the condition pointing to field GroupId https://{{URL}}/api/GroupSummary?GroupId=Startswith:COMMITTEE/NA&Limit=10

But in the case that one committee has many Generic Properties (Asi.Soa.Core.DataContracts.GenericPropertyDataCollection), I'd like to filter by one of those properties.

How to do it ?

Thank you!

Admin

Hi Leonardo,

I'm not sure I 100% follow what you are asking. When a do a GET on the GroupSummary endpoint on a demo database, I am not seeing any GenericPropertyDataCollections in the returned results. What I see in iMIS Cloud Enterprise is a List of Items of type GroupSummaryData returned. What version of iMIS are you using?

I was able to add a filter on the Name value as follows:

https://{{URL}}/api/GroupSummary?GroupId=Startswith:COMMITTEE/NA&Name=AB&Limit=10

Does this help?

Courtney

Yes, thank you !

Marked as answered by Courtney Weatherton



Contact us
Copyright © Advanced Solutions International, All rights reserved.