POST Cancel Demand Response

URL: /demandResponse

Accessible by: Utility accounts only.

A demand response event may be cancelled. When cancelled, the demand response event will be removed from all thermostats in the selection.

Request Properties

Property Version Type Required Description
operation 1 String Yes The type of request. Always "cancel".
demandResponseRef 1 String Yes The system generated ID of the DR.

Response Properties

Property Version Type Description
status 1 Status The api response code.

Example Request:

Request Body

NOTE: Request body is not encoded for example purposes.

	Content-Type: application/json;charset=UTF-8
	Authorization: Bearer Rc7JE8P7XUgSCPogLOx2VLMfITqQQrjg

POST BODY:                
	"demandResponse": {

Sample API Call

Show code sample in:
curl -s --request POST --data-urlencode @json.txt -H "Content-Type: application/json;charset=UTF-8" -H "Authorization: Bearer ACCESS_TOKEN" ""  

Example Response:

        "status": {
            "code": 0,
            "message": ""

Back To Top