Participants

List the demand response participants

get

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 new demand response participant

post

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

Gets the participant given by participantId

get
Authorizations
Responses
200
successful operation
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"
}

Deletes the participant given by participantId

delete
Authorizations
Responses
200
successful operation
delete
DELETE //dr/participants/{participantId} HTTP/1.1
Host: api.ecosuite.io
Authorization: YOUR_API_KEY
Accept: */*

No content