GET api/VehicleAxleDTO/GetByVehicleId?vehicleId={vehicleId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vehicleId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VehicleAxle
NameDescriptionTypeAdditional information
Id

integer

None.

VehicleId

integer

None.

AxlePosition

integer

None.

AxleDescription

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "VehicleId": 2,
    "AxlePosition": 3,
    "AxleDescription": "sample string 4"
  },
  {
    "Id": 1,
    "VehicleId": 2,
    "AxlePosition": 3,
    "AxleDescription": "sample string 4"
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleAxle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DMHEntities">
  <VehicleAxle>
    <AxleDescription>sample string 4</AxleDescription>
    <AxlePosition>3</AxlePosition>
    <Id>1</Id>
    <VehicleId>2</VehicleId>
  </VehicleAxle>
  <VehicleAxle>
    <AxleDescription>sample string 4</AxleDescription>
    <AxlePosition>3</AxlePosition>
    <Id>1</Id>
    <VehicleId>2</VehicleId>
  </VehicleAxle>
</ArrayOfVehicleAxle>