Latest data URL

{ApiServerUrl}/namespace/Entity/latest?...

For example, to get the latest ${entity} data:

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

Filter on a lookup field like ${lookup_fields} to ensure that the response size is manageable. For example:

{ApiServerUrl}/${namespace}/${entity}/latest?${lookup_field}=ID1,ID2,ID...

Tip: You should also limit response size by adding a limit parameter, which caps the number of records the server returns to the client. To request the next "page" of results, supply the limit and after parameters, where after is set to the id of the last record returned in the previous request. The value to provide for the after parameter can also be obtained by setting the envelope=true parameter, in which case the response is returned in an envelope containing the after value.

If you wish to filter on a range of values, you can use <= and >= operators in your request URL:

{ApiServerUrl}/namespace/ExampleEntity/latest?myField>=2017-03-04+02:00Z...

Not all lookup fields can be used for range filtering.

Note: When filtering /latest data by a date range, remember the /latest service only provides the most recent record. If the most recent record does not fall in the specified time range, then nothing is returned.

Back to help overview