Skip to Content
1
Former Member
Apr 15, 2014 at 10:24 PM

How to get entity set with input parameters?

4421 Views

Hello gurus!

I know this may be a newbie question, but I've looked around first and found no solution yet.

I need to get table of entities by some criteria. I need the result to be selected by this criteria, not filtered after selection so $filter is not the answer as far as I can see.

I want to get some objects hierarchy. There are lots of objects and a root object ID. So I want to pass that root ID and get all the hierarchy from that ID and not the whole objects set. I've created Z Function Module, it imports the RootID and exports the hierarchy table (table of object entities). But I found no possibility to pass the import param and get the whole table.

If I pass param to URL it fires the GetEntity(Read) and returns only 1 root object. If I pass no params it fires the GetEntitySet(Query) and tries to give me all the objects presented in my system.

Any help's appreciated!

Best regards,

Anton.