+1 vote

How can we consult the details of an entity, for instance getting the dataset of all linked actions of a company?

I don't find any remote implementation of the consultDetail API, so far I always found a solution with a query, but that is quite stupid.

asked in Efficy Integrations by (7k points)

1 Answer

+1 vote
Best answer

If I use the SOAP syntax, in a consult context of a Company you can use <datacontainer operation="Acti"> to retrieve the dataset of linked actions.

Generally speaking, in a consult context, with an empty operation or operation="master" you get the main dataset of the consult, with operation="detail" you get the Detail dataset.

Mutatis mutandis for the JSON RPC.

Of course, this is exactly the same as running the query with the appropriate (master, detail) in the database.

answered by (1k points)
selected by
1,193 questions
1,459 answers
1,758 comments
327 users