Cancels the currently running Demand Response (DR) or a scheduled DR.
Request
POST https://{em_ip_address_or_hostname}/ems/api/org/dr/canceldr
{ "dridentifier": "DR16", } |
Parameters
Request | |
em_ip_address or hostname: | The Enlighted Manage (EM) IP address or hostname. |
Body | |
dridentifier: | DR Identifier provided at the time of scheduling. |
Response | |
status: | 0 – DR cancelled successfully. 1 – DR not cancelled. |
msg: | Status message description. |
Sample Code
Cancel the scheduled Demand Response (DR) event using the DR identifier. The response indicates that the DR canceled successfully.
If the user is accessing web service with proper session/authenticated token: POST-https://192.80.30.2/ems/api/org/dr/canceldr { "dridentifier": "DR16", } HTTP/1.1 200: OK { "status": "0", "msg": "DR Cancelled successfully" } |
Comments
Article is closed for comments.