POST /system/open-adr
FROM API REVISION 6.0
This request will be used to enable/disable Open ADR.
If this parameter is not in the request, the Application/Json will be chosen by default.
There are multiple possible values (according the resource):
The first two are the most often used.
There are multiple possible values according the resource:
If this parameter is not present during the request, and error 415 Unsupported Media Type will be thrown.
The Content-Length entity-header field indicates the size of the entity-body.
Object Name: OpenADR
Property Name | Type | Description | Method |
---|---|---|---|
Enabled | Boolean | If true, Open ADR is enabled ; false otherwise. | GET POST |
TestEventStarted | Boolean | This property is used to indicate if the Event test is started. | GET |
UpdateStarted | Boolean | This property is used to indicate if an update is started. True if started, false otherwise. |
GET |
CurrentEventJson | String | This is the current JSON event. This property represent a JSON object in a string format. | GET |
Server | Object | The server to establish the connection. | GET |
Credential | Object | This is the credential object that contain the VEN Name known by the server. | GET |
URL Example: https://0.0.0.0/api/rest/v1/system/open-adr
{
"enabled": true
}
URL Example: https://0.0.0.0/api/rest/v1/system/open-adr
<?xml version="1.0" encoding="utf-8"?>
<OpenADR>
<Enabled>true</Enabled>
</OpenADR>