Skip to content

Query concept reference

These examples use a fictional collection. They demonstrate query concepts, not actual IFS endpoints. Confirm service support and property types in the API contract.

Option Purpose Fictional example
$select Choose returned properties $select=Id,Amount
$filter Restrict matching records $filter=Status eq 'Open'
$orderby Establish result order $orderby=Amount,Id
$top Limit returned records $top=2
/FictionalHandovers?$select=Id,Amount&$filter=Status eq 'Open'&$orderby=Id&$top=2

The expression requests Id and Amount from at most two Open records ordered by Id. The readable example is shown before URL encoding.

  • Confirm property names and types in the contract.
  • Use the service’s documented authentication and permissions.
  • Follow continuation links when the response is paginated.
  • Do not assume that a filter grants access or that the first page is complete.
  • Avoid constructing queries by concatenating untrusted input.

Try the query lab or read the OData tutorial.