Update Demand Response for all Facilities

Update the current running or scheduled Demand Response (DR) for all facilities.

Request

POST https://{em_ip_address_or_hostname}/ems/api/org/dr/updatedr

{
    "pricelevel": "LOW",
    "duration": "60",
    "starttime": "2015-07-21T12:15:49+05:30",
    "dridentifier": "DR16",
    "pricing": "15.0"
 }

Parameters

Request 
em_ip_addressor hostname: The Enlighted Manage (EM) IP Address or hostname
Body
pricelevel:

DR pricing:
HIGH
MODERATE
LOW
SPECIAL

duration: The DR duration time in minutes (must be a whole number)
starttime: Time from when DR should be in effect.
Format: (yyyyMMddHHmm) year/month/day/hour/minutes, for example,
2015-11-18T17:43:00
dridentifier: DR identifier provided at the time of scheduling
pricing: DR pricing that is effective for the energy consumed during the DR period (optional).
Response 
status: 0 – DR schedule successful.
1 – DR not scheduled.
msg: Message description.

Sample Code

Update the currently running Demand Response (DR) from LOW to HIGH price level for all facilities for 60 minutes starting at 5:30 am on 07-21-2015 at 15 cents. The response indicates that the DR update was successful.

If the user is accessing web service with proper session/authenticated token:
POST https://{192.80.30.2}/ems/api/org/dr/updatedr
{
"pricelevel": "HIGH",
"duration": "60",
"starttime": "2015-07-21T12:15:49+05:30",
"dridentifier": "DR16",
"pricing": "15.0"
}

HTTP/1.1 200: OK
{
    "status": "0",
    "msg": "DR updated successfully"
}

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Article is closed for comments.