Dr events

List the demand response events

get
Authorizations
AuthorizationstringRequired
Responses
200

successful operation

application/json
get
/dr/dr-events
200

successful operation

Creates a new demand response event

post
Authorizations
AuthorizationstringRequired
Body

Refer to the /schemas/dr-event endpoint for the full JSON Schema definition

prioritystring · enumRequiredPossible values:
namestringRequired
startDatestring · date-timeRequired
notificationDatestring · date-timeRequired
notificationSentbooleanOptional
endDatestring · date-timeRequired
goalstringRequired
participantsstring[]Required
Responses
200

successful operation

application/json
Responsestring

The event Id.

post
/dr/dr-events
200

successful operation

Gets the event given by eventId

get
Authorizations
AuthorizationstringRequired
Responses
200

successful operation

application/json
get
/dr/dr-events/{eventId}

Modifies a demand response event given by eventId

put
Authorizations
AuthorizationstringRequired
Body

Refer to the /schemas/dr-event endpoint for the full JSON Schema definition

prioritystring · enumRequiredPossible values:
namestringRequired
startDatestring · date-timeRequired
notificationDatestring · date-timeRequired
notificationSentbooleanOptional
endDatestring · date-timeRequired
goalstringRequired
participantsstring[]Required
Responses
200

successful operation

application/json
Responsestring

The event Id.

put
/dr/dr-events/{eventId}
200

successful operation

Deletes the event given by eventId

delete
Authorizations
AuthorizationstringRequired
Responses
200

successful operation

No content

delete
/dr/dr-events/{eventId}

No content