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 DropDownObjectViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| Label | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": "fae66c0f-f403-4ad5-85ac-85e7b6d83cd5",
"label": "sample string 1"
},
{
"id": "fae66c0f-f403-4ad5-85ac-85e7b6d83cd5",
"label": "sample string 1"
}
]
application/xml, text/xml
Sample:
<ArrayOfDropDownObjectViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EntityModel">
<DropDownObjectViewModel>
<ID>fae66c0f-f403-4ad5-85ac-85e7b6d83cd5</ID>
<Label>sample string 1</Label>
</DropDownObjectViewModel>
<DropDownObjectViewModel>
<ID>fae66c0f-f403-4ad5-85ac-85e7b6d83cd5</ID>
<Label>sample string 1</Label>
</DropDownObjectViewModel>
</ArrayOfDropDownObjectViewModel>