List Profiles
const url = 'https://api.exolink.cloud/tenant/example/profile';const options = { method: 'GET', headers: { 'x-exo-fields': '["id","displayName"]', 'x-exo-filter': '["eq","profileId",3]', 'x-exo-sort': '["asc","displayName"]', 'x-exo-charger-counts': 'true', Authorization: 'Bearer <token>' }};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.exolink.cloud/tenant/example/profile \ --header 'Authorization: Bearer <token>' \ --header 'x-exo-charger-counts: true' \ --header 'x-exo-fields: ["id","displayName"]' \ --header 'x-exo-filter: ["eq","profileId",3]' \ --header 'x-exo-sort: ["asc","displayName"]'Get list of charger profiles. Send Content-Type: text/csv to receive CSV.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Tenant domain prefix
Header Parameters
Section titled “Header Parameters”JSON array of the fields to return
Example
["id","displayName"]JSON filter expression [operator, field, value]. Operators: eq, ne, gt, gte, lt, lte, in, nin,
like, ilike, nlike, nilike, null, nnull, and eqc, nec, gtc, gtec, ltc, ltec to compare two fields.
Combine expressions with ["and", ...] or ["or", ...].
Example
["eq","profileId",3]Page number, starting at 1. Applies together with x-exo-size.
Page size. Every returned row then carries __total, the number of matching rows.
JSON sort [direction, field] with direction asc or desc, or a list of them
Example
["asc","displayName"]Set to any value but false, 0 or empty to add the chargers counts to every profile
Example
trueResponses
Section titled “Responses”List of profiles
Charger configuration profile
object
Profile ID
Tenant ID
Profile display name
Whether this is a dynamically generated profile
First associated CPMS backend ID
Associated CPMS backend IDs
Associated lab environment ID (if applicable)
Charger counts, only with the x-exo-charger-counts header
object
Chargers connected to the platform
Chargers connected to their CPMS
Example
[ { "id": 1, "displayName": "Default Profile", "dynamic": false }]Missing, invalid or expired credentials
Error response. Some rejections carry only message.
object
Error message
Error code
Failed validations, for requests checked against a schema
object
Path of the invalid field
Example
{ "message": "Not authorized", "errorCode": "ERR_API_NOT_AUTHORIZED"}The caller may not perform this action
Error response. Some rejections carry only message.
object
Error message
Error code
Failed validations, for requests checked against a schema
object
Path of the invalid field
Example
{ "message": "Forbidden", "errorCode": "ERR_API_FORBIDDEN"}