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
limitparameter, which caps the number of records the server returns to the client. To request the next "page" of results, supply thelimitandafterparameters, whereafteris set to theidof the last record returned in the previous request. The value to provide for theafterparameter can also be obtained by setting theenvelope=trueparameter, in which case the response is returned in an envelope containing theaftervalue.
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.