Usage products represent products that are billed based on usage
Elevate Products API (2.13)
- Rental Product - a product or service that is billed on a fixed charge; for example, a broadband service, connection or site visit
- Usage Product - a product that is billed based on it's usage, such as calls or data; these typically fall into one of the following categories within Elevate; outbound such as CPS/IDA, Mobile or VoIP; and Inbound
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 product type
Filter by available from date
Filter by available to date
Filter by nominal code
- https://rest.elevatebilling.com/v2/rental-products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v2/rental-products?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&productType=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&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&nominalCode=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&supplierId=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'OK
Product name
Invoice Presentation name
Nominal code
Default value for alignedToStart when creating rental product inventories
Default value for alignedToBillPeriod when creating rental product inventories
Default value for billInitialChargesImmediately when creating rental product inventories
Default value for forceBillPeriods when creating rental product inventories. When this is 0, forceBilling on the rental product inventories will be set to false
Additional product reference is required on rental product inventories
Regular expression (regex) used to validate the additional product reference on rental product inventories
Regular expression (regex) used to validate the product reference on rental product inventories
Product reference may be a DDI range on rental product
Generate a FEATURE or EVENT RPI for this product when the parentRentalProduct is assigned to a new RPI. Will skip generation for products whose availableTo is in the past
[ { "id": 1, "rentalProductCategoryId": 1, "productType": "PRODUCT", "name": "string", "invoicePresentationName": "string", "parentRentalProductId": 1, "supplierId": 0, "supplierProductNames": [ … ], "taxBandId": 1, "availableFrom": "2019-08-24", "nominalCode": "SALES-01QTR2", "availableTo": "2019-08-24", "doNotProRate": false, "alignedToStart": false, "alignedToBillPeriod": false, "billInitialChargesImmediately": false, "forceBillPeriods": 1, "additionalProductReferenceRequired": false, "additionalProductReferenceFormat": "[a-zA-Z0-9]{4,15}", "linkedUsageProductId": 1, "productReferenceRequired": false, "productReferenceFormat": ".*", "productReferenceMayBeDDIRange": false, "generateWhenParentCreated": false, "customFields": [ … ] } ]
New rental product
Product name
Invoice Presentation name
Nominal code
Default value for alignedToStart when creating rental product inventories
Default value for alignedToBillPeriod when creating rental product inventories
Default value for billInitialChargesImmediately when creating rental product inventories
Default value for forceBillPeriods when creating rental product inventories. When this is 0, forceBilling on the rental product inventories will be set to false
Additional product reference is required on rental product inventories
Regular expression (regex) used to validate the additional product reference on rental product inventories
Regular expression (regex) used to validate the product reference on rental product inventories
Product reference may be a DDI range on rental product
Generate a FEATURE or EVENT RPI for this product when the parentRentalProduct is assigned to a new RPI. Will skip generation for products whose availableTo is in the past
- https://rest.elevatebilling.com/v2/rental-products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://rest.elevatebilling.com/v2/rental-products \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"rentalProductCategoryId": 1,
"productType": "PRODUCT",
"name": "string",
"invoicePresentationName": "string",
"parentRentalProductId": 1,
"supplierId": 0,
"supplierProductNames": [
"string"
],
"taxBandId": 1,
"availableFrom": "2019-08-24",
"nominalCode": "SALES-01QTR2",
"availableTo": "2019-08-24",
"doNotProRate": false,
"alignedToStart": false,
"alignedToBillPeriod": false,
"billInitialChargesImmediately": false,
"forceBillPeriods": 1,
"additionalProductReferenceRequired": false,
"additionalProductReferenceFormat": "[a-zA-Z0-9]{4,15}",
"linkedUsageProductId": 1,
"productReferenceRequired": false,
"productReferenceFormat": ".*",
"productReferenceMayBeDDIRange": false,
"generateWhenParentCreated": false,
"customFields": [
{
"label": "string",
"value": "string"
}
]
}'OK
Product name
Invoice Presentation name
Nominal code
Default value for alignedToStart when creating rental product inventories
Default value for alignedToBillPeriod when creating rental product inventories
Default value for billInitialChargesImmediately when creating rental product inventories
Default value for forceBillPeriods when creating rental product inventories. When this is 0, forceBilling on the rental product inventories will be set to false
Additional product reference is required on rental product inventories
Regular expression (regex) used to validate the additional product reference on rental product inventories
Regular expression (regex) used to validate the product reference on rental product inventories
Product reference may be a DDI range on rental product
Generate a FEATURE or EVENT RPI for this product when the parentRentalProduct is assigned to a new RPI. Will skip generation for products whose availableTo is in the past
{ "id": 1, "rentalProductCategoryId": 1, "productType": "PRODUCT", "name": "string", "invoicePresentationName": "string", "parentRentalProductId": 1, "supplierId": 0, "supplierProductNames": [ "string" ], "taxBandId": 1, "availableFrom": "2019-08-24", "nominalCode": "SALES-01QTR2", "availableTo": "2019-08-24", "doNotProRate": false, "alignedToStart": false, "alignedToBillPeriod": false, "billInitialChargesImmediately": false, "forceBillPeriods": 1, "additionalProductReferenceRequired": false, "additionalProductReferenceFormat": "[a-zA-Z0-9]{4,15}", "linkedUsageProductId": 1, "productReferenceRequired": false, "productReferenceFormat": ".*", "productReferenceMayBeDDIRange": false, "generateWhenParentCreated": false, "customFields": [ { … } ] }
Filter by product type
Filter by available from date
Filter by available to date
Filter by nominal code
- https://rest.elevatebilling.com/v2/rental-products
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X HEAD \
'https://rest.elevatebilling.com/v2/rental-products?productType=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&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&nominalCode=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&supplierId=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'- https://rest.elevatebilling.com/v2/rental-products/{rental_product_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://rest.elevatebilling.com/v2/rental-products/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Rental product found
Product name
Invoice Presentation name
Nominal code
Default value for alignedToStart when creating rental product inventories
Default value for alignedToBillPeriod when creating rental product inventories
Default value for billInitialChargesImmediately when creating rental product inventories
Default value for forceBillPeriods when creating rental product inventories. When this is 0, forceBilling on the rental product inventories will be set to false
Additional product reference is required on rental product inventories
Regular expression (regex) used to validate the additional product reference on rental product inventories
Regular expression (regex) used to validate the product reference on rental product inventories
Product reference may be a DDI range on rental product
Generate a FEATURE or EVENT RPI for this product when the parentRentalProduct is assigned to a new RPI. Will skip generation for products whose availableTo is in the past
{ "id": 1, "rentalProductCategoryId": 1, "productType": "PRODUCT", "name": "string", "invoicePresentationName": "string", "parentRentalProductId": 1, "supplierId": 0, "supplierProductNames": [ "string" ], "taxBandId": 1, "availableFrom": "2019-08-24", "nominalCode": "SALES-01QTR2", "availableTo": "2019-08-24", "doNotProRate": false, "alignedToStart": false, "alignedToBillPeriod": false, "billInitialChargesImmediately": false, "forceBillPeriods": 1, "additionalProductReferenceRequired": false, "additionalProductReferenceFormat": "[a-zA-Z0-9]{4,15}", "linkedUsageProductId": 1, "productReferenceRequired": false, "productReferenceFormat": ".*", "productReferenceMayBeDDIRange": false, "generateWhenParentCreated": false, "customFields": [ { … } ] }
A set of JSONPatch operations to be performed
The JSON Patch operation to be performed
- https://rest.elevatebilling.com/v2/rental-products/{rental_product_id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://rest.elevatebilling.com/v2/rental-products/1 \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json-patch+json' \
-d '[
{
"op": "replace",
"path": "/name",
"value": "My RPI"
}
]'Success
Product name
Invoice Presentation name
Nominal code
Default value for alignedToStart when creating rental product inventories
Default value for alignedToBillPeriod when creating rental product inventories
Default value for billInitialChargesImmediately when creating rental product inventories
Default value for forceBillPeriods when creating rental product inventories. When this is 0, forceBilling on the rental product inventories will be set to false
Additional product reference is required on rental product inventories
Regular expression (regex) used to validate the additional product reference on rental product inventories
Regular expression (regex) used to validate the product reference on rental product inventories
Product reference may be a DDI range on rental product
Generate a FEATURE or EVENT RPI for this product when the parentRentalProduct is assigned to a new RPI. Will skip generation for products whose availableTo is in the past
{ "id": 1, "rentalProductCategoryId": 1, "productType": "PRODUCT", "name": "string", "invoicePresentationName": "string", "parentRentalProductId": 1, "supplierId": 0, "supplierProductNames": [ "string" ], "taxBandId": 1, "availableFrom": "2019-08-24", "nominalCode": "SALES-01QTR2", "availableTo": "2019-08-24", "doNotProRate": false, "alignedToStart": false, "alignedToBillPeriod": false, "billInitialChargesImmediately": false, "forceBillPeriods": 1, "additionalProductReferenceRequired": false, "additionalProductReferenceFormat": "[a-zA-Z0-9]{4,15}", "linkedUsageProductId": 1, "productReferenceRequired": false, "productReferenceFormat": ".*", "productReferenceMayBeDDIRange": false, "generateWhenParentCreated": false, "customFields": [ { … } ] }