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 a particular reference data source charge group id
Filter call classes based on start date
- https://rest.elevatebilling.com/v1/call-classes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/call-classes?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&callClass=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&referenceDataSourceChargeGroupId=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, "callClass": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" } ]
New Call Class
Call class
Identifier of reference data source charge group that this call class relates to
- https://rest.elevatebilling.com/v1/call-classes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/call-classes \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callClass": "string",
"referenceDataSourceChargeGroupId": 1,
"startDate": "2019-08-24",
"endDate": "2019-08-24"
}'{ "id": 1, "callClass": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }
- https://rest.elevatebilling.com/v1/call-classes
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/call-classes?callClass=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&referenceDataSourceChargeGroupId=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>'- https://rest.elevatebilling.com/v1/call-classes/{call_class_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/call-classes/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": 1, "callClass": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }
Updated Call Class
Call class
Identifier of reference data source charge group that this call class relates to
- https://rest.elevatebilling.com/v1/call-classes/{call_class_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://rest.elevatebilling.com/v1/call-classes/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"callClass": "string",
"referenceDataSourceChargeGroupId": 1,
"startDate": "2019-08-24",
"endDate": "2019-08-24"
}'{ "id": 1, "callClass": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }
- https://rest.elevatebilling.com/v1/call-classes/{call_class_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://rest.elevatebilling.com/v1/call-classes/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v1/call-classes/{call_class_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/call-classes/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "add",
"path": "string",
"value": {},
"from": "string"
}
]'{ "id": 1, "callClass": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }