POST api/lpa/get/vehicle/detail

Request Information

URI Parameters

None.

Body Parameters

VehicleDetailRequestMDL
NameDescriptionTypeAdditional information
vehicleNumber

string

None.

CompanyId

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "vehicleNumber": "sample string 1",
  "CompanyId": 2,
  "UserId": 3
}

application/xml, text/xml

Sample:
<VehicleDetailRequestMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA">
  <CompanyId>2</CompanyId>
  <UserId>3</UserId>
  <vehicleNumber>sample string 1</vehicleNumber>
</VehicleDetailRequestMDL>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'VehicleDetailRequestMDL'.

Response Information

Resource Description

VehicleDetailResponseMDL
NameDescriptionTypeAdditional information
Result

boolean

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<VehicleDetailResponseMDL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.LPA">
  <Data />
  <Message>sample string 2</Message>
  <Result>true</Result>
</VehicleDetailResponseMDL>