GET api/Vehicle?Make={Make}

Documentation for 'GetModel'.

Request Information

Parameters

NameDescriptionAdditional information
Make
Documentation for 'Make'.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "Model": "sample string 1",
    "ModelId": "sample string 2"
  },
  {
    "Model": "sample string 1",
    "ModelId": "sample string 2"
  },
  {
    "Model": "sample string 1",
    "ModelId": "sample string 2"
  }
]

text/javascript, text/html

Sample:
[{"Model":"sample string 1","ModelId":"sample string 2"},{"Model":"sample string 1","ModelId":"sample string 2"},{"Model":"sample string 1","ModelId":"sample string 2"}]

application/xml, text/xml

Sample:
<ArrayOfCarModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RepublixApp.Models">
  <CarModel>
    <Model>sample string 1</Model>
    <ModelId>sample string 2</ModelId>
  </CarModel>
  <CarModel>
    <Model>sample string 1</Model>
    <ModelId>sample string 2</ModelId>
  </CarModel>
  <CarModel>
    <Model>sample string 1</Model>
    <ModelId>sample string 2</ModelId>
  </CarModel>
</ArrayOfCarModel>