Org settings, dashboards & reporting
Preview Oracle Exchange Rates
Fetches exchange rates for currency pairs from the org's Oracle ERP without persisting them.
POSThttps://api.toku.com/tga/preview-oracle-exchange-rates
Not available to API keys yet. It will need integrations:write.
curl --request POST \
--url 'https://api.toku.com/tga/preview-oracle-exchange-rates' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"currencyPairs": [
{
"from": "string",
"to": "string"
}
],
"includeDebugData": true
}'200 response
{
"exchangeRates": [
{
"from": "string",
"to": "string",
"exchangeRate": "string",
"exchangeRateDate": "string",
"error": "string",
"debugData": {
"rawCsv": "string"
}
}
]
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Body
application/json
currencyPairsobject[]requiredShow child attributes
fromstringrequiredtostringrequiredincludeDebugDatabooleanResponse
200Successful response
exchangeRatesobject[]requiredShow child attributes
fromstringrequiredtostringrequiredexchangeRatestringrequiredAllowed: matches ^-?\d+(\.\d+)?([eE][+-]?\d+)?$
exchangeRateDatestring | anyerrorstringdebugDataobjectShow child attributes
rawCsvstring400Bad request
401Unauthorized
403Forbidden
404Not found
409Conflict
429Response 429
Was this page helpful? Suggest edits