GET api/PBI_dropDownApi/sitesByCustomer/{CustomerId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DropDownItemViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Label | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "dd74d94c-151f-4f21-b2b8-7fb51d176ac6",
"label": "sample string 1"
},
{
"id": "dd74d94c-151f-4f21-b2b8-7fb51d176ac6",
"label": "sample string 1"
}
]
application/xml, text/xml
Sample:
<ArrayOfDropDownItemViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<DropDownItemViewModel>
<ID>dd74d94c-151f-4f21-b2b8-7fb51d176ac6</ID>
<Label>sample string 1</Label>
</DropDownItemViewModel>
<DropDownItemViewModel>
<ID>dd74d94c-151f-4f21-b2b8-7fb51d176ac6</ID>
<Label>sample string 1</Label>
</DropDownItemViewModel>
</ArrayOfDropDownItemViewModel>