POST api/v0/Vehicle/MobileGetVehicle

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

VehicleContract
NameDescriptionTypeAdditional information
VehicleId

integer

None.

PlateNumber

string

None.

Description

string

None.

Remarks

string

None.

IsDisabled

boolean

None.

AssignedDriverId

integer

None.

Capacity

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "VehicleId": 1,
  "PlateNumber": "sample string 2",
  "Description": "sample string 3",
  "Remarks": "sample string 4",
  "IsDisabled": true,
  "AssignedDriverId": 1,
  "Capacity": 6.0
}

application/xml, text/xml

Sample:
<VehicleContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.agrifoodatsolutions.com/FDService/v0/contracts/2017/01">
  <AssignedDriverId>1</AssignedDriverId>
  <Capacity>6</Capacity>
  <Description>sample string 3</Description>
  <IsDisabled>true</IsDisabled>
  <PlateNumber>sample string 2</PlateNumber>
  <Remarks>sample string 4</Remarks>
  <VehicleId>1</VehicleId>
</VehicleContract>