Schedule Demand Response (DR) for all Facilities

Schedules a Demand Response (DR) for all facilities for a specific period from the start time.

Request

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

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

Parameters

Request 
em_ip_address or 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
dridentifier User assigned Demand Response (DR) identifier
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

Schedule a Demand Response (DR) at LOW 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 schedule was successful.

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

Response:
HTTP/1.1 200: OK
  {
    "status": "0",
    "msg": "DR Scheduled successful"
  }
 
If the user is accessing web service without creating session:
HTTP/1.1 302: Moved Temporarily
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Please sign in to leave a comment.