GET api/Vehicle/MakesRead?year={year}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
year

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DropDownViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

DisplayName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "DisplayName": "sample string 1"
  },
  {
    "Id": 1,
    "DisplayName": "sample string 1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfDropDownViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ibs.Nags.Web.Models">
  <DropDownViewModel>
    <DisplayName>sample string 1</DisplayName>
    <Id>1</Id>
  </DropDownViewModel>
  <DropDownViewModel>
    <DisplayName>sample string 1</DisplayName>
    <Id>1</Id>
  </DropDownViewModel>
</ArrayOfDropDownViewModel>