GET api/demandandcontrol/customers/{custId}/sites/{siteId}/settings

GET settings associated with a site

Request Information

URI Parameters

NameDescriptionTypeAdditional information
siteId

Id of site

integer

Required

custId

string

None.

Body Parameters

None.

Response Information

Resource Description

Settings object, with threshold and device order

Settings
NameDescriptionTypeAdditional information
Threshold

decimal number

None.

Order

Collection of DeviceOrder

None.

Response Formats

application/json, text/json

Sample:
{
  "Threshold": 1.1,
  "Order": [
    {
      "DeviceAssetId": 1,
      "Order": 2
    },
    {
      "DeviceAssetId": 1,
      "Order": 2
    }
  ]
}

text/html

Sample:
{"Threshold":1.1,"Order":[{"DeviceAssetId":1,"Order":2},{"DeviceAssetId":1,"Order":2}]}