GET api/Year/{id}

Gets a list of year.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Number of item.

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DropDownListItem
NameDescriptionTypeAdditional information
Text

string

None.

Value

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Text": "sample string 1",
    "Value": "sample string 2"
  },
  {
    "Text": "sample string 1",
    "Value": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDropDownListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
  <DropDownListItem>
    <Text>sample string 1</Text>
    <Value>sample string 2</Value>
  </DropDownListItem>
  <DropDownListItem>
    <Text>sample string 1</Text>
    <Value>sample string 2</Value>
  </DropDownListItem>
</ArrayOfDropDownListItem>