Usage rate cards represent the pricing structure for usage products that can be sold to Customers
- Check if an inclusive usage plan exists
Elevate Pricing API (2.21)
Provides read & write access to usage and rental rate cards and inclusive usage plans
- Usage Rate Card - a representation of the pricing structure for usage that can be sold to Customers, for example 5 pence per minute for UK National calls
- Rental Rate Card - a representation of the pricing structure for rental product that can be sold to Customers, for example £10 per month for line rental
- Inclusive Usage Plan - a representation of an inclusive bundle that can be sold to a Customer, for example you can allocate 500 free minutes to UK National or Local calls
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 available from date
Filter by available to date
- https://rest.elevatebilling.com/v2/inclusive-usage-plans
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v2/inclusive-usage-plans?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&contractOwnerId=0&name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&availableFrom=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&availableTo=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&usageProductId=0&taxBandId=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'summary: true | false'OK
Inclusive usage plan name
Nominal code
The first qualifying inclusive usage event will trigger a charge using the selected rental product (an RPI will be created). If the allowance is used up, the next qualifying event will trigger another charge
The supplier account associated with the triggered rental product based on the rental product's supplier (required when trigger charge is set)
Frequency or period for the inclusive usage plan. This can be daily, weekly or monthly (required when trigger charge is set)
If required, specify the minimum quantity required for an event to qualify for deduction from the inclusive usage allowance. E.g. rate events as normal if the qty is less than this value but deduct from the allowance if equal to or greater than this value. Only applicable for inclusive usage components that are quantity based (duration/megabyte/one-off)
Events over this quantity will be split such that the first part of the event is deducted from the inclusive usage allowance while the latter part is rated as normal. Leave this value as "0" to ignore this functionality and qualify the whole event for inclusive usage rating
[ { "id": 1, "contractOwnerId": 1, "name": "string", "usageProductId": 1, "availableFrom": "2019-08-24", "availableTo": "2019-08-24", "boltOn": false, "taxBandId": 0, "nominalCode": "SALES-01QTR2", "inclusiveUsageComponents": [ … ], "boltOnCharges": [ … ], "rolloverPeriods": 0, "triggerChargeId": 1, "supplierAccountId": 1, "frequency": "MONTHLY", "minQualifyingQuantity": 0, "maxPerEventQuantity": 0 } ]
- https://rest.elevatebilling.com/v2/inclusive-usage-plans
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v2/inclusive-usage-plans?id=0&contractOwnerId=0&name=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&availableFrom=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&availableTo=yyyy-MM-dd+%2C+lt%3Ayyyy-MM-dd+%2C+gt%3Ayyyy-MM-dd+%2C+gtn%3Ayyyy-MM-dd&usageProductId=0&taxBandId=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'New Inclusive Usage Plan
Inclusive usage plan name
Nominal code
The first qualifying inclusive usage event will trigger a charge using the selected rental product (an RPI will be created). If the allowance is used up, the next qualifying event will trigger another charge
The supplier account associated with the triggered rental product based on the rental product's supplier (required when trigger charge is set)
Frequency or period for the inclusive usage plan. This can be daily, weekly or monthly (required when trigger charge is set)
If required, specify the minimum quantity required for an event to qualify for deduction from the inclusive usage allowance. E.g. rate events as normal if the qty is less than this value but deduct from the allowance if equal to or greater than this value. Only applicable for inclusive usage components that are quantity based (duration/megabyte/one-off)
- https://rest.elevatebilling.com/v2/inclusive-usage-plans
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v2/inclusive-usage-plans \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"contractOwnerId": 1,
"name": "string",
"usageProductId": 1,
"availableFrom": "2019-08-24",
"availableTo": "2019-08-24",
"boltOn": false,
"taxBandId": 0,
"nominalCode": "SALES-01QTR2",
"inclusiveUsageComponents": [
{
"description": "string",
"componentType": "VALUE",
"chargingType": "DURATION",
"quantity": 0,
"valueInPence": 0,
"timebands": [
{
"timeband": "PEAK"
}
],
"chargeGroups": [
{
"chargeGroupId": 0
}
],
"chargeGroupCategories": [
{
"chargeGroupCategoryId": 0
}
],
"dialStrings": [
{
"dialString": "string",
"isWholeNumber": true
}
]
}
],
"boltOnCharges": [
{
"price": 0,
"rentalRateType": "ADVANCE",
"periodsInAdvance": "STANDARD",
"rentalRateFrequency": "DAILY",
"showOnInvoice": true,
"startDate": "2019-08-24",
"endDate": "2019-08-24"
}
],
"rolloverPeriods": 0,
"triggerChargeId": 1,
"supplierAccountId": 1,
"frequency": "MONTHLY",
"minQualifyingQuantity": 0,
"maxPerEventQuantity": 0
}'OK
Inclusive usage plan name
Nominal code
The first qualifying inclusive usage event will trigger a charge using the selected rental product (an RPI will be created). If the allowance is used up, the next qualifying event will trigger another charge
The supplier account associated with the triggered rental product based on the rental product's supplier (required when trigger charge is set)
Frequency or period for the inclusive usage plan. This can be daily, weekly or monthly (required when trigger charge is set)
If required, specify the minimum quantity required for an event to qualify for deduction from the inclusive usage allowance. E.g. rate events as normal if the qty is less than this value but deduct from the allowance if equal to or greater than this value. Only applicable for inclusive usage components that are quantity based (duration/megabyte/one-off)
{ "id": 1, "contractOwnerId": 1, "name": "string", "usageProductId": 1, "availableFrom": "2019-08-24", "availableTo": "2019-08-24", "boltOn": false, "taxBandId": 0, "nominalCode": "SALES-01QTR2", "inclusiveUsageComponents": [ { … } ], "boltOnCharges": [ { … } ], "rolloverPeriods": 0, "triggerChargeId": 1, "supplierAccountId": 1, "frequency": "MONTHLY", "minQualifyingQuantity": 0, "maxPerEventQuantity": 0 }
- https://rest.elevatebilling.com/v2/inclusive-usage-plans/{inclusive_usage_plan_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v2/inclusive-usage-plans/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Inclusive usage plan found
Inclusive usage plan name
Nominal code
The first qualifying inclusive usage event will trigger a charge using the selected rental product (an RPI will be created). If the allowance is used up, the next qualifying event will trigger another charge
The supplier account associated with the triggered rental product based on the rental product's supplier (required when trigger charge is set)
Frequency or period for the inclusive usage plan. This can be daily, weekly or monthly (required when trigger charge is set)
If required, specify the minimum quantity required for an event to qualify for deduction from the inclusive usage allowance. E.g. rate events as normal if the qty is less than this value but deduct from the allowance if equal to or greater than this value. Only applicable for inclusive usage components that are quantity based (duration/megabyte/one-off)
{ "id": 1, "contractOwnerId": 1, "name": "string", "usageProductId": 1, "availableFrom": "2019-08-24", "availableTo": "2019-08-24", "boltOn": false, "taxBandId": 0, "nominalCode": "SALES-01QTR2", "inclusiveUsageComponents": [ { … } ], "boltOnCharges": [ { … } ], "rolloverPeriods": 0, "triggerChargeId": 1, "supplierAccountId": 1, "frequency": "MONTHLY", "minQualifyingQuantity": 0, "maxPerEventQuantity": 0 }
A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v2/inclusive-usage-plans/{inclusive_usage_plan_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v2/inclusive-usage-plans/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-H 'summary: true | false' \
-d '[
{
"op": "replace",
"path": "/name",
"value": "My Plan"
}
]'OK
Inclusive usage plan name
Nominal code
The first qualifying inclusive usage event will trigger a charge using the selected rental product (an RPI will be created). If the allowance is used up, the next qualifying event will trigger another charge
The supplier account associated with the triggered rental product based on the rental product's supplier (required when trigger charge is set)
Frequency or period for the inclusive usage plan. This can be daily, weekly or monthly (required when trigger charge is set)
If required, specify the minimum quantity required for an event to qualify for deduction from the inclusive usage allowance. E.g. rate events as normal if the qty is less than this value but deduct from the allowance if equal to or greater than this value. Only applicable for inclusive usage components that are quantity based (duration/megabyte/one-off)
{ "id": 1, "contractOwnerId": 1, "name": "string", "usageProductId": 1, "availableFrom": "2019-08-24", "availableTo": "2019-08-24", "boltOn": false, "taxBandId": 0, "nominalCode": "SALES-01QTR2", "inclusiveUsageComponents": [ { … } ], "boltOnCharges": [ { … } ], "rolloverPeriods": 0, "triggerChargeId": 1, "supplierAccountId": 1, "frequency": "MONTHLY", "minQualifyingQuantity": 0, "maxPerEventQuantity": 0 }