Participants
List the projects which have enrolled as participants in the demand response modules
Authorizations
Responses
200
successful operation
application/json
get
GET //dr/participants HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
200
successful operation
{
"events": [
{
"code": "text",
"contactUser": "text",
"phoneContact": "text"
}
]
}
Creates a demand response participant using the posted data.
Authorizations
Body
Refer to the /schemas/participant endpoint for the full JSON Schema definition
codestringRequired
contactUserstringRequired
phoneContactstringRequired
Responses
200
successful operation
application/json
Responsestring
The participant Id.
post
POST //dr/participants HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 58
{
"code": "text",
"contactUser": "text",
"phoneContact": "text"
}
200
successful operation
text
Authorizations
Responses
200
successful operation
application/json
400
Invalid participant id
application/json
get
GET //dr/participants/{participantId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*
{
"code": "text",
"contactUser": "text",
"phoneContact": "text"
}