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

GET all sites associated with a customer

Request Information

URI Parameters

NameDescriptionTypeAdditional information
custId

Id of customer

integer

Required

Body Parameters

None.

Response Information

Resource Description

List of Site objects

Collection of Site
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2"
  },
  {
    "Id": 1,
    "Name": "sample string 2"
  }
]

text/html

Sample:
[{"Id":1,"Name":"sample string 2"},{"Id":1,"Name":"sample string 2"}]