GET api/PBI_dropDownApi/contractsBySiteCustomer/{SiteCustomerID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SiteCustomerID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DropDownItemViewModel
NameDescriptionTypeAdditional information
ID

globally unique identifier

None.

Label

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": "79a5af7c-36cb-4fa2-a469-ba22eb5550c9",
    "label": "sample string 1"
  },
  {
    "id": "79a5af7c-36cb-4fa2-a469-ba22eb5550c9",
    "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>79a5af7c-36cb-4fa2-a469-ba22eb5550c9</ID>
    <Label>sample string 1</Label>
  </DropDownItemViewModel>
  <DropDownItemViewModel>
    <ID>79a5af7c-36cb-4fa2-a469-ba22eb5550c9</ID>
    <Label>sample string 1</Label>
  </DropDownItemViewModel>
</ArrayOfDropDownItemViewModel>