POST api/GetVehicleByAccountId

Request Information

URI Parameters

None.

Body Parameters

GetVehicleByAccountIdPost
NameDescriptionTypeAdditional information
AccountId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountId": 1
}

application/xml, text/xml

Sample:
<GetVehicleByAccountIdPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Vehicle.Post">
  <AccountId>1</AccountId>
</GetVehicleByAccountIdPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

GetVehicleByAccountIdResponse
NameDescriptionTypeAdditional information
VehicleDetails

VehicleDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "VehicleDetails": {
    "VehicleId": 1,
    "VehicleName": "sample string 2",
    "Brand": "sample string 3",
    "Model": "sample string 4",
    "ModelYear": 1,
    "CertificateNumber": "sample string 5",
    "RideType_Id": 1,
    "Account_Id": 1,
    "VehicleColor": "sample string 6"
  }
}

application/xml, text/xml

Sample:
<GetVehicleByAccountIdResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Cabie.API.Models.Vehicle.Response">
  <VehicleDetails>
    <Account_Id>1</Account_Id>
    <Brand>sample string 3</Brand>
    <CertificateNumber>sample string 5</CertificateNumber>
    <Model>sample string 4</Model>
    <ModelYear>1</ModelYear>
    <RideType_Id>1</RideType_Id>
    <VehicleColor>sample string 6</VehicleColor>
    <VehicleId>1</VehicleId>
    <VehicleName>sample string 2</VehicleName>
  </VehicleDetails>
</GetVehicleByAccountIdResponse>