Elevate REST APIs are developed to the OpenAPI specification. The current API conforms to OpenAPI version 3.
If you are familiar with the OpenAPI specification (Swagger), then the API reference is a great place to start familiarising yourself with the Elevate APIs.
Elevate software is an API first application. Everything available on the UI is potentially available via the API.
If you are already using legacy Elevate APIs, it is recommended you switch to the REST APIs as soon as possible.
If you are not sure how to use the APIs, please read the how-to guides.
Elevate REST API use standard HTML response codes.
For details, see How-to guides or the API reference.
All GET methods allow search parameters; these are documented on the API reference.
Pagination is supported as defined by the API reference. Refer to the How-to guides for more details.
Elevate REST APIs are developed to the OpenAPI standards. The current API specification conforms to OpenAPI version 3. This section gives some step by step guides on common integration operations.
An API user account is required to access the APIs - this can be setup on Elevate in the manage users/roles sections. Elevate API uses Bearer authentication (also called token authentication) - this is an HTTP authentication scheme that uses security tokens called bearer tokens.
The permissions set up on Elevate UI will stand for the API calls as well. For example, if a user can only access customers belonging to a single contract owner on the UI, that user will have the same restriction when calling via the APIs.
When using GET methods, the page and pageSize query parameters are required to set which page is returned and the maximum number of results per page. For example, GET /customers?page=1&pageSize=10
returns the first 10 records. The maximum pageSize supported is 1000 for performance reasons.
Almost all scenarios start by creating a Customer with a Site using the POST /customers
endpoint. If there are additional sites, you can use POST /sites
to create them.
Next, the products and services sold to this customer would be added as inventory items using the POST /usage-product-inventories
endpoint to create Usage Product Inventories and the POST /rental-product-inventories
endpoint to create Rental Product Inventories.
Within Usage Product Inventories, there can be one or more usage product references. These could be a telephone number or other identifier depending on the Usage Product. When creating a Usage Product Inventory, you can specify these as a list. To add additional usage product references, you can use the add operation on PATCH /usage-product-inventories
endpoint. Read more on JSON patching.
The next step is to assign Usage and Rental Rate Cards which are necessary to make sure the customer will be billed accordingly. Usually, these are done by the POST /usage-rate-card-assignments
and POST /rental-rate-card-assignments
endpoints.
At this stage, you should have enough set up for the customer to produce a bill on Elevate.
Within Usage Product Inventories, there can be one or more usage product references. Where you need to update an individual usage product reference, you can use the add or replace operation on the PATCH /usage-product-references
endpoint. Read more on JSON patching.
Elevate REST APIs use standard HTML response codes. Here are the most common codes you may encounter
OK. The request has succeeded.
Created. The request has been accepted and resulted in a new resource being created. The newly created resource will be returned with a unique ID
No Content. The request was successful, but no body was returned.
Bad Request. The request could not be processed by the server, usually due to malformed syntax or server error. The response body will contain error details.
Unauthorized. The client has not provided a valid Authentication information or the user account making the request has been disabled. The response body will contain error details
Forbidden. The client has provided valid Authentication information, but does not have sufficient permission to access this resource.
Not Found. The requested resource was not found. The response body will contain error details.
Not Allowed.
Not Acceptable. The content type specified was not acceptable.
Conflict. The resource requested to be created already exists.
Unsupported Media/MIME Type.
Internal Server Error. The server encountered an error while processing your request and failed. Please contact Elevate support.
Here you can find the latest changes to our awesome APIs. We also send notifications via our status pages prior to any changes in the APIs.