Customers represent the person or company contracted to receive products or services
Elevate Customer and Sites API (1.49)
- Customer - the primary entity within Elevate to represent the person or company who is contracted with a Contract Owner for the provision of products or services
- Site - within each Customer, there are one or more Sites to represent the physical locations of the Customer
Products and services are associated to the Sites as inventory items. Sites can be setup to receive invoices individually or to consolidate invoices to a particular site or sites
Download OpenAPI description
Languages
Servers
https://rest.elevatebilling.com/v1
Query
Results to return per page
Example: pageSize=100
Comma-delimited list of the fields to sort by - defaults to ascending order, suffix :desc to change
Example: sort=id,name | name:desc
Comma-delimited list of the field(s) to return if only a subset is required
Example: fields=id,name
Filter by product reference
Example: productReference=xyz | in:x,y | like:xyz
Filter based on events from this date
Example: eventDateFrom=yyyy-MM-ddTHH:mm:ssZ | lt:yyyy-MM-ddTHH:mm:ssZ | gt:yyyy-MM-ddTHH:mm:ssZ
Filter based on events until this date
Example: eventDateTo=yyyy-MM-ddTHH:mm:ssZ | lt:yyyy-MM-ddTHH:mm:ssZ | gt:yyyy-MM-ddTHH:mm:ssZ
Filter by destination/origin
Example: destination=xyz | in:x,y | like:xyz
Filter out zero value entries
Example: excludeZeroValueRecords=true | false
Filter by usage record description
Example: description=xyz | in:x,y | like:xyz
Filter by charging unit type (ONE_OFF, MB, DURATION)
Example: type=xyz | in:x,y | like:xyz
Filter by whether the record is derived from a bundle
Example: inBundle=true | false
- https://rest.elevatebilling.com/v1/customer-usage-data
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://rest.elevatebilling.com/v1/customer-usage-data?page=1&pageSize=100&sort=id%2Cname+%7C+name%3Adesc&fields=id%2Cname&customerId=0&siteId=0&billRunId=0&productReference=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&serviceId=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&eventDateFrom=yyyy-MM-ddTHH%3Amm%3AssZ+%2C+lt%3Ayyyy-MM-ddTHH%3Amm%3AssZ+%2C+gt%3Ayyyy-MM-ddTHH%3Amm%3AssZ&eventDateTo=yyyy-MM-ddTHH%3Amm%3AssZ+%2C+lt%3Ayyyy-MM-ddTHH%3Amm%3AssZ+%2C+gt%3Ayyyy-MM-ddTHH%3Amm%3AssZ&destination=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&excludeZeroValueRecords=true+%2C+false&siteName=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&description=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&type=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz&inBundle=true+%2C+false&logic=xyz+%7C+in%3Ax%2Cy+%7C+like%3Axyz' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Response
application/json
[ { "id": 1, "customerId": 0, "siteId": 0, "siteName": "string", "billRunId": 0, "eventDate": "2019-08-24T14:15:22Z", "productReference": 0, "serviceId": "string", "destination": "string", "chargeGroupId": 1, "callClass": "string", "oneOffQuantity": 0, "dataQuantity": 0, "durationQuantity": 0, "sellPrice": 0, "preDiscountedSellPrice": 0, "buyPrice": 0, "ratedBuyPrice": 0, "profit": 0, "profitPercentage": 0, "marginPercentage": 0, "timeBand": "OFFPEAK", "usageProductId": 1, "usageDirection": "OUTBOUND", "isdn": false, "additionalInfoGeneral": "string", "additionalInfoElectronic": "string", "supplierAccountId": 1, "fileName": "string", "loadedDate": "2019-08-24", "parserName": "string", "fileType": "string", "description": "string", "type": "DURATION", "inBundle": false } ]