GET api/VehicleModel/GetAll

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of VehicleModel
NameDescriptionTypeAdditional information
VehicleModelID

globally unique identifier

None.

Name

string

None.

SeatingCapacity

integer

None.

TankCapacity

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VehicleModelID": "79c3aa5c-7907-4461-9af0-bd63850630c8",
    "Name": "sample string 2",
    "SeatingCapacity": 3,
    "TankCapacity": 4
  },
  {
    "VehicleModelID": "79c3aa5c-7907-4461-9af0-bd63850630c8",
    "Name": "sample string 2",
    "SeatingCapacity": 3,
    "TankCapacity": 4
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FleetrootPartner.Entity">
  <VehicleModel>
    <Name>sample string 2</Name>
    <SeatingCapacity>3</SeatingCapacity>
    <TankCapacity>4</TankCapacity>
    <VehicleModelID>79c3aa5c-7907-4461-9af0-bd63850630c8</VehicleModelID>
  </VehicleModel>
  <VehicleModel>
    <Name>sample string 2</Name>
    <SeatingCapacity>3</SeatingCapacity>
    <TankCapacity>4</TankCapacity>
    <VehicleModelID>79c3aa5c-7907-4461-9af0-bd63850630c8</VehicleModelID>
  </VehicleModel>
</ArrayOfVehicleModel>