GET api/demandandcontrol/customers/{custId}/sites/{siteId}/settings
GET settings associated with a site
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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}]}