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 charge group categories based on start date
- https://rest.elevatebilling.com/v1/charge-group-categories
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/charge-group-categories?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&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, "name": "string", "chargingUnitType": "DURATION", "startDate": "2019-08-24", "endDate": "2019-08-24" } ]
- https://rest.elevatebilling.com/v1/charge-group-categories/{charge_group_category_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/charge-group-categories/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'{ "id": 1, "name": "string", "chargingUnitType": "DURATION", "startDate": "2019-08-24", "endDate": "2019-08-24" }
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 charge group category id
Filter charge groups based on start date
- https://rest.elevatebilling.com/v1/charge-groups
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/charge-groups?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&chargeGroupCategoryId=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>'OK
Charge group name
Identifier of category that this charge group belongs to
Type of charge group i.e. NATIONAL, LOCAL or GENERAL
Indicator to control charges from this charge group showing on itemisation or not
Indicates that charges in this charge group are applicable for VAT DRC (Domestic Reverse Charge)
[ { "id": 1, "name": "string", "chargeGroupCategoryId": 1, "type": "NATIONAL", "startDate": "2019-08-24", "endDate": "2019-08-24", "requiresAccessCharge": false, "dontShowOnItemisation": false, "applicableForDrcVat": false, "applyUsageCap": false, "taxBandId": 1 } ]
New Charge Group
Charge group name
Identifier of category that this charge group belongs to
Type of charge group i.e. NATIONAL, LOCAL or GENERAL
Indicator to control charges from this charge group showing on itemisation or not
Indicates that charges in this charge group are applicable for VAT DRC (Domestic Reverse Charge)
- https://rest.elevatebilling.com/v1/charge-groups
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v1/charge-groups \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"chargeGroupCategoryId": 1,
"type": "NATIONAL",
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"requiresAccessCharge": false,
"dontShowOnItemisation": false,
"applicableForDrcVat": false,
"applyUsageCap": false,
"taxBandId": 1
}'OK
Charge group name
Identifier of category that this charge group belongs to
Type of charge group i.e. NATIONAL, LOCAL or GENERAL
Indicator to control charges from this charge group showing on itemisation or not
Indicates that charges in this charge group are applicable for VAT DRC (Domestic Reverse Charge)
{ "id": 1, "name": "string", "chargeGroupCategoryId": 1, "type": "NATIONAL", "startDate": "2019-08-24", "endDate": "2019-08-24", "requiresAccessCharge": false, "dontShowOnItemisation": false, "applicableForDrcVat": false, "applyUsageCap": false, "taxBandId": 1 }
- https://rest.elevatebilling.com/v1/charge-groups
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v1/charge-groups?name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&chargeGroupCategoryId=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/charge-groups/{charge_group_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v1/charge-groups/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Charge Group found
Charge group name
Identifier of category that this charge group belongs to
Type of charge group i.e. NATIONAL, LOCAL or GENERAL
Indicator to control charges from this charge group showing on itemisation or not
Indicates that charges in this charge group are applicable for VAT DRC (Domestic Reverse Charge)
{ "id": 1, "name": "string", "chargeGroupCategoryId": 1, "type": "NATIONAL", "startDate": "2019-08-24", "endDate": "2019-08-24", "requiresAccessCharge": false, "dontShowOnItemisation": false, "applicableForDrcVat": false, "applyUsageCap": false, "taxBandId": 1 }
Updated Charge Group
Charge group name
Identifier of category that this charge group belongs to
Type of charge group i.e. NATIONAL, LOCAL or GENERAL
Indicator to control charges from this charge group showing on itemisation or not
Indicates that charges in this charge group are applicable for VAT DRC (Domestic Reverse Charge)
- https://rest.elevatebilling.com/v1/charge-groups/{charge_group_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://rest.elevatebilling.com/v1/charge-groups/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"chargeGroupCategoryId": 1,
"type": "NATIONAL",
"startDate": "2019-08-24",
"endDate": "2019-08-24",
"requiresAccessCharge": false,
"dontShowOnItemisation": false,
"applicableForDrcVat": false,
"applyUsageCap": false,
"taxBandId": 1
}'OK
Charge group name
Identifier of category that this charge group belongs to
Type of charge group i.e. NATIONAL, LOCAL or GENERAL
Indicator to control charges from this charge group showing on itemisation or not
Indicates that charges in this charge group are applicable for VAT DRC (Domestic Reverse Charge)
{ "id": 1, "name": "string", "chargeGroupCategoryId": 1, "type": "NATIONAL", "startDate": "2019-08-24", "endDate": "2019-08-24", "requiresAccessCharge": false, "dontShowOnItemisation": false, "applicableForDrcVat": false, "applyUsageCap": false, "taxBandId": 1 }
- https://rest.elevatebilling.com/v1/charge-groups/{charge_group_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://rest.elevatebilling.com/v1/charge-groups/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/charge-groups/{charge_group_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v1/charge-groups/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/name",
"value": "My Group"
}
]'Success
Charge group name
Identifier of category that this charge group belongs to
Type of charge group i.e. NATIONAL, LOCAL or GENERAL
Indicator to control charges from this charge group showing on itemisation or not
Indicates that charges in this charge group are applicable for VAT DRC (Domestic Reverse Charge)
{ "id": 1, "name": "string", "chargeGroupCategoryId": 1, "type": "NATIONAL", "startDate": "2019-08-24", "endDate": "2019-08-24", "requiresAccessCharge": false, "dontShowOnItemisation": false, "applicableForDrcVat": false, "applyUsageCap": false, "taxBandId": 1 }