GET api/MrgetYear

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Years
NameDescriptionTypeAdditional information
YearId

integer

None.

YearName

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "yearId": 1,
    "yearName": "sample string 2"
  },
  {
    "yearId": 1,
    "yearName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfYears xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_Api.Controllers">
  <Years>
    <YearId>1</YearId>
    <YearName>sample string 2</YearName>
  </Years>
  <Years>
    <YearId>1</YearId>
    <YearName>sample string 2</YearName>
  </Years>
</ArrayOfYears>