/providers/{namespaceID}/{providerID}/{limiter}___Distinct
You can limit the output of the currency table endpoint to select specific fields.
To achieve this, replace the "CurrencyTable" entity set name with "toCurr___Distinct". This will return only "toCurr" distinct column values.
You can add additional limits by separating them with "___" (three underscore characters). For example, "toCurr___fromCurr___Distinct" only returns "toCurr" and "fromCurr" distinct values.
API Request Details
|
URL |
{BaseURL}/providers/{namespaceID}/{providerID}/{limiter}___Distinct |
|
Request Type |
GET |
|
Content Type |
application/json |
Sample Request
https://your-sac-tenant-url.cloud/api/v1/dataexport/providers/sac_currency_tables/myProviderID/toCurr___fromCurr___Distinct
Sample Response
{
"@odata.context": "$metadata#CurrencyTable",
"value": [
{
"rate": "t.4:CPL_CURRENCY_RATES",
"fromCurr": "EUR",
"toCurr": "USD"
},
{
"rate": "t.4:CPL_CURRENCY_RATES",
"fromCurr": "ZAR",
"toCurr": "USD"
}
}