Quick Overview

OData functions are predefined operations you can call directly from the URL to get specific data — often filtered, calculated, or tailored in some useful way.

Think of them like built-in “shortcuts” that help you request complex filtered datasets without needing to know all the query syntax.

They are invoked using standard HTTP GET requests.


How to Use OData Functions

To use an OData function, you simply make a request to a URL like this:

GET https://api.wealthtechs.com/v2/odata/fxrates/GetByGenericDate(date='last')

This tells the system:

🔍 “Give me the most recent foreign exchange rate data available for my organization.”

General Syntax

GET {baseURL}/{resource}/{FunctionName}(parameters)
  • {baseURL} is the entry point to the API.
  • {resource} is the api resource you’re querying (e.g., fxrates, positions, transactions).
  • {FunctionName} is the special function you’re calling.
  • (parameters) contains any required inputs, if any (e.g., date=first).

Function Results

The function responds with filtered data, just as if you had run a complex query — but with a much simpler querying.


Why We Use OData Functions at WealthTechs

We’ve implemented OData functions to help you get exactly the data you need — faster, more intuitively, and in fewer steps.