Combining entities in one request

{ApiServerUrl}/${namespace}/${entity}/latest?...
{ApiServerUrl}/${namespace}/${entity2}/latest?...

If you need to combine data for different entities, you can request both sets of data and then correlate the records by the references in each entity.

Alternately, you can add the inline query string parameter to nest the referenced entity inside the requested record. inline has the effect of expanding the reference field so that it has all the fields of the referenced entity, instead of only containing the id field. The new URL would look like this:

{ApiServerUrl}/${namespace}/${entity}/latest?inline=${entity2}...

Note: inline is only supported for the /latest URL.

You can supply a comma-separated list of entities to inline as follows:

{ApiServerUrl}/${namespace}/${entity}/latest?inline=${entity2},${entity3}...

Tip: Inlining data can be a convenient option for small data requests, but when requesting larger volumes of data it is more efficient to request each entity separately and combine on the client side.

Back to help overview