Skip to content

Elevate Reference Data API (1.12)

Reference Data Management

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

Entity model

  • 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
Languages
Servers
https://rest.elevatebilling.com/v1

reference-data-sources

Manage sources of reference data - only manually maintained data sources can be updated via this endpoint

Operations

charge-groups

Management of charge groups and charge group categories

Operations

reference-data-source-charge-groups

Charge group and charge group category management by reference data source

Operations

call-classes

Management of manually maintained call-class information

Operations

ignored-call-classes

Management of manually maintained ignored-call-class information

Operations

ignored-service-ids

Management of manually maintained ignored-service-ids information

Operations

dialstrings

Management of manually maintained dialstrings information

Operations

Get a list of Dialstrings

Request

Security
bearerAuth
Query
pageinteger(int32)(PageParam)>= 1required

Page of results to show

Example: page=1
pageSizeinteger(int32)(ResultsPerPageParam)[ 1 .. 1000 ]required

Results to return per page

Example: pageSize=100
sortstring(SortParam)

Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change

Example: sort=id,name | name:desc
fieldsstring(FieldsParam)

Comma-delimited list of the field(s) to return if only a subset is required

Example: fields=id,name
dialstringstring(StringFilterParam)

Filter by dialstring

Example: dialstring=xyz | in:x,y | like:xyz
referenceDataSourceChargeGroupIdstring(IdFilterParam)

Filter by a particular reference data source charge group id

Example: referenceDataSourceChargeGroupId=0
startDatestring(DateFilterParam)

Filter dialstrings based on start date

Example: startDate=yyyy-MM-dd | lt:yyyy-MM-dd | gt:yyyy-MM-dd | gtn:yyyy-MM-dd
endDatestring(DateFilterParam)

Filter dialstrings based on end date

Example: endDate=yyyy-MM-dd | lt:yyyy-MM-dd | gt:yyyy-MM-dd | gtn:yyyy-MM-dd
curl -i -X GET \
  'https://rest.elevatebilling.com/v1/dialstrings?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&dialstring=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>'

Responses

OK

Bodyapplication/jsonArray [
idinteger(int64)read-only

Internal identifier for dialstring

Example: 1
dialstringstring[ 2 .. 15 ] characters[0-9]+required

Dialstring prefix

referenceDataSourceChargeGroupIdinteger(int64)required

Identifier of the linked reference data source charge group

Example: 1
startDatestring(date)required

Date this dialstring applies from

endDatestring(date)

Date this dialstring applies to

]
Response
application/json
[ { "id": 1, "dialstring": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" } ]

Create a new Dialstring

Request

Security
bearerAuth
Bodyapplication/jsonrequired

New Dialstring

dialstringstring[ 2 .. 15 ] characters[0-9]+required

Dialstring prefix

referenceDataSourceChargeGroupIdinteger(int64)required

Identifier of the linked reference data source charge group

Example: 1
startDatestring(date)required

Date this dialstring applies from

endDatestring(date)

Date this dialstring applies to

curl -i -X POST \
  https://rest.elevatebilling.com/v1/dialstrings \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "dialstring": "string",
    "referenceDataSourceChargeGroupId": 1,
    "startDate": "2019-08-24",
    "endDate": "2019-08-24"
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)read-only

Internal identifier for dialstring

Example: 1
dialstringstring[ 2 .. 15 ] characters[0-9]+required

Dialstring prefix

referenceDataSourceChargeGroupIdinteger(int64)required

Identifier of the linked reference data source charge group

Example: 1
startDatestring(date)required

Date this dialstring applies from

endDatestring(date)

Date this dialstring applies to

Response
application/json
{ "id": 1, "dialstring": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }

Check if Dialstring exists

Request

Security
bearerAuth
Query
dialstringstring(StringFilterParam)

Check by dialstring

Example: dialstring=xyz | in:x,y | like:xyz
referenceDataSourceChargeGroupIdstring(IdFilterParam)

Check by a particular reference data source charge group id

Example: referenceDataSourceChargeGroupId=0
startDatestring(DateFilterParam)

Check for dialstring based on start date

Example: startDate=yyyy-MM-dd | lt:yyyy-MM-dd | gt:yyyy-MM-dd | gtn:yyyy-MM-dd
endDatestring(DateFilterParam)

Check for dialstring based on end date

Example: endDate=yyyy-MM-dd | lt:yyyy-MM-dd | gt:yyyy-MM-dd | gtn:yyyy-MM-dd
curl -i -X HEAD \
  'https://rest.elevatebilling.com/v1/dialstrings?dialstring=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>'

Responses

Exists

Body

Get a specific dialstring

Request

Security
bearerAuth
Path
dialstring_idinteger(int64)(IdParam)>= 1required

Dial string identifier

Example: 1
curl -i -X GET \
  https://rest.elevatebilling.com/v1/dialstrings/1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Dial string found

Bodyapplication/json
idinteger(int64)read-only

Internal identifier for dialstring

Example: 1
dialstringstring[ 2 .. 15 ] characters[0-9]+required

Dialstring prefix

referenceDataSourceChargeGroupIdinteger(int64)required

Identifier of the linked reference data source charge group

Example: 1
startDatestring(date)required

Date this dialstring applies from

endDatestring(date)

Date this dialstring applies to

Response
application/json
{ "id": 1, "dialstring": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }

Update a dialstring

Request

Security
bearerAuth
Path
dialstring_idinteger(int64)(IdParam)>= 1required

Dial string identifier

Example: 1
Bodyapplication/jsonrequired

Updated dialstring

dialstringstring[ 2 .. 15 ] characters[0-9]+required

Dialstring prefix

referenceDataSourceChargeGroupIdinteger(int64)required

Identifier of the linked reference data source charge group

Example: 1
startDatestring(date)required

Date this dialstring applies from

endDatestring(date)

Date this dialstring applies to

curl -i -X PUT \
  https://rest.elevatebilling.com/v1/dialstrings/1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "dialstring": "string",
    "referenceDataSourceChargeGroupId": 1,
    "startDate": "2019-08-24",
    "endDate": "2019-08-24"
  }'

Responses

OK

Bodyapplication/json
idinteger(int64)read-only

Internal identifier for dialstring

Example: 1
dialstringstring[ 2 .. 15 ] characters[0-9]+required

Dialstring prefix

referenceDataSourceChargeGroupIdinteger(int64)required

Identifier of the linked reference data source charge group

Example: 1
startDatestring(date)required

Date this dialstring applies from

endDatestring(date)

Date this dialstring applies to

Response
application/json
{ "id": 1, "dialstring": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }

Delete Dialstring

Request

Security
bearerAuth
Path
dialstring_idinteger(int64)(IdParam)>= 1required

Dial string identifier

Example: 1
curl -i -X DELETE \
  https://rest.elevatebilling.com/v1/dialstrings/1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'

Responses

Success

Body

Patch update Dialstring

Request

Security
bearerAuth
Path
dialstring_idinteger(int64)(IdParam)>= 1required

Dial string identifier

Example: 1
Bodyapplication/json-patch+jsonrequired

A set of JSONPatch operations to be performed

Array [
opstringrequired

The JSON Patch operation to be performed

Enum"add""remove""replace""move""copy""test"
pathstringrequired

A JSON-Pointer

valueobject

The value to be used within the operations

fromstring

A string containing a JSON Pointer value

]
curl -i -X PATCH \
  https://rest.elevatebilling.com/v1/dialstrings/1 \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json-patch+json' \
  -d '[
    {
      "op": "add",
      "path": "string",
      "value": {},
      "from": "string"
    }
  ]'

Responses

Success

Bodyapplication/json
idinteger(int64)read-only

Internal identifier for dialstring

Example: 1
dialstringstring[ 2 .. 15 ] characters[0-9]+required

Dialstring prefix

referenceDataSourceChargeGroupIdinteger(int64)required

Identifier of the linked reference data source charge group

Example: 1
startDatestring(date)required

Date this dialstring applies from

endDatestring(date)

Date this dialstring applies to

Response
application/json
{ "id": 1, "dialstring": "string", "referenceDataSourceChargeGroupId": 1, "startDate": "2019-08-24", "endDate": "2019-08-24" }

tax-bands

Tax-band management

Operations

currencies

Currencies supported by the system

Operations

locales

Locales supported by the system

Operations

currency-rates

Management of the exchange rates between currencies

Operations

reference-data-summaries

Operations