Manage sources of reference data - only manually maintained data sources can be updated via this endpoint
Elevate Reference Data API (1.12)
Where possible, Elevate will manage reference data internally via incoming feeds of reliable dialstring and charge group information However, for data sources where this is not possible (e.g. for proprietary/internal data) this can be managed externally via this API
Where a usage product cannot be rated using the dialstring look up method to identify the dialled number, Elevate will rely on call-class to do this instead
- One or many dialstrings map to one reference-data-source-charge-group
- One or many call-classes map to one reference-data-source-charge-group
- One or many reference-data-source-charge-groups map to one charge-group and one reference-data-source
- One or many charge-groups map to one charge-group-category
Results to return per page
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Comma-delimited list of the field(s) to return if only a subset is required
Filter by start date
- https://rest.elevatebilling.com/v1/currency-rates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/currency-rates?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&sourceCurrencyId=0&targetCurrencyId=0&startDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&endDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'[ { "id": 1, "sourceCurrencyId": 1, "targetCurrencyId": 1, "exchangeRate": 446.2497, "startDate": "2019-08-24", "endDate": "2019-08-24" } ]
- https://rest.elevatebilling.com/v1/currency-rates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/currency-rates?sourceCurrencyId=0&targetCurrencyId=0&startDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&endDate=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'New currency rate
Identifier of currency that is being converted from
Exchange rate from source currency to target currency in major currency (e.g pounds/dollars/euros) unit. For example, from Argentina Peso to GBP is 446.2497
- https://rest.elevatebilling.com/v1/currency-rates
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/currency-rates \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"sourceCurrencyId": 1,
"targetCurrencyId": 1,
"exchangeRate": 446.2497,
"startDate": "2019-08-24",
"endDate": "2019-08-24"
}'{ "id": 1, "sourceCurrencyId": 1, "targetCurrencyId": 1, "exchangeRate": 446.2497, "startDate": "2019-08-24", "endDate": "2019-08-24" }
A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v1/currency-rates/{currencyRateId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/currency-rates/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/exchangeRate",
"value": 416.1234
}
]'{ "id": 1, "sourceCurrencyId": 1, "targetCurrencyId": 1, "exchangeRate": 446.2497, "startDate": "2019-08-24", "endDate": "2019-08-24" }
- https://rest.elevatebilling.com/v1/currency-rates/{currencyRateId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/currency-rates/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": 1, "sourceCurrencyId": 1, "targetCurrencyId": 1, "exchangeRate": 446.2497, "startDate": "2019-08-24", "endDate": "2019-08-24" }
- https://rest.elevatebilling.com/v1/currency-rates/{currencyRateId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://rest.elevatebilling.com/v1/currency-rates/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'