The following are examples of the API calls available in the User API PortalAPI Advanced package.
All calls included in the basic package are also included in the advanced package. Only the additional calls available in the Advanced packs are listed below.
You can find the call examples for the Basic package here: User Portal API - Basic package - Example calls
Table of Contents | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
Expand | ||
---|---|---|
| ||
|
...
GET /administration/fleet/{fleetId}
Call
{{baseURL}}/api/v1/{{portal}}/administration/fleet/{{fleet}}
Parameter
GET https://api.enerest.world/api/v1/solarCompanyXYZ/administration/fleet/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
baseURL =
https://api.enerest.world
Do NOT change that! It is always the same for every user
portal =
solarCompanyXYZ
Here you should add the first part of the portal domain
Without
.enerest.world
plant = i.e.
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Add your plants ID here
This ID can be found in
the
administration/plants
call orin the last part of the URL when you select the plant in the portal
i.e.
https://solarCompanyXYZ.enerest.world/administration/plants/detail/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Result
Expand | ||
---|---|---|
| ||
|
...
GET /administration/fleet/{fleetId}/plants
Call
{{baseURL}}/api/v1/{{portal}}/administration/fleet/{{fleet}}/plants
Parameter
GET https://api.enerest.world/api/v1/solarCompanyXYZ/administration/fleet/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/plants
baseURL =
https://api.enerest.world
Do NOT change that! It is always the same for every user
portal =
solarCompanyXYZ
Here you should add the first part of the portal domain
Without
.enerest.world
plant = i.e.
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Add your plants ID here
This ID can be found in
the
administration/plants
call orin the last part of the URL when you select the plant in the portal
i.e.
https://solarCompanyXYZ.enerest.world/administration/plants/detail/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Result
Expand | ||
---|---|---|
| ||
|
...
GET /datasource/plant/{plant}/inverters
Call
{{baseURL}}/api/v1/{{portal}}/datasource/plant/{{plant}}/inverters
Parameter
GET https://api.enerest.world/api/v1/solarCompanyXYZ/datasource/plant/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/inverters
baseURL =
https://api.enerest.world
Do NOT change that! It is always the same for every user
portal =
solarCompanyXYZ
Here you should add the first part of the portal domain
Without
.enerest.world
plant = i.e.
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Add your plants ID here
This ID can be found in
the
administration/plants
call orin the last part of the URL when you select the plant in the portal
i.e.
https://solarCompanyXYZ.enerest.world/administration/plants/detail/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Result
Expand | ||
---|---|---|
| ||
|
...
GET /visualization/kpi/{plantId}
Call
{{baseURL}}/api/v1/{{portal}}/visualization/kpi/{{plant}}
Parameter
GET https://api.enerest.world/api/v1/solarCompanyXYZ/visualization/kpi/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
baseURL =
https://api.enerest.world
Do NOT change that! It is always the same for every user
portal =
solarCompanyXYZ
Here you should add the first part of the portal domain
Without
.enerest.world
plant = i.e.
XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Add your plants ID here
This ID can be found in
the
administration/plants
call orin the last part of the URL when you select the plant in the portal
i.e.
https://solarCompanyXYZ.enerest.world/administration/plants/detail/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Result
Expand | ||
---|---|---|
| ||