GET api/VehicleModel
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of VehicleModel| Name | Description | Type | Additional information |
|---|---|---|---|
| VehicleModelID | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| SeatingCapacity | integer |
None. |
|
| TankCapacity | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"VehicleModelID": "b2efca16-c989-4337-9705-c6bd9388d7b0",
"Name": "sample string 2",
"SeatingCapacity": 3,
"TankCapacity": 4
},
{
"VehicleModelID": "b2efca16-c989-4337-9705-c6bd9388d7b0",
"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>b2efca16-c989-4337-9705-c6bd9388d7b0</VehicleModelID>
</VehicleModel>
<VehicleModel>
<Name>sample string 2</Name>
<SeatingCapacity>3</SeatingCapacity>
<TankCapacity>4</TankCapacity>
<VehicleModelID>b2efca16-c989-4337-9705-c6bd9388d7b0</VehicleModelID>
</VehicleModel>
</ArrayOfVehicleModel>