POST api/VTL/getVTVehicleDtls

Request Information

URI Parameters

None.

Body Parameters

GetVTVehicleDtlsRequest
NameDescriptionTypeAdditional information
RegNo

string

None.

companyId

Collection of integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RegNo": "sample string 1",
  "companyId": [
    1,
    2
  ]
}

application/xml, text/xml

Sample:
<GetVTVehicleDtlsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/">
  <RegNo>sample string 1</RegNo>
  <companyId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </companyId>
</GetVTVehicleDtlsRequest>

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 'GetVTVehicleDtlsRequest'.

Response Information

Resource Description

VTResultOfListOfVTLDriverDetailsMDL
NameDescriptionTypeAdditional information
Message

string

None.

Result

boolean

None.

Data

Collection of VTLDriverDetailsMDL

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Result": true,
  "Data": [
    {
      "ID": "sample string 1",
      "Value": "sample string 2"
    },
    {
      "ID": "sample string 1",
      "Value": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<VTResultOfArrayOfVTLDriverDetailsMDL6Y_SAQWtl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.FTSServices">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/FTSMDLClassLibrary.WebAPIMDL.VTL">
    <d2p1:VTLDriverDetailsMDL>
      <d2p1:ID>sample string 1</d2p1:ID>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:VTLDriverDetailsMDL>
    <d2p1:VTLDriverDetailsMDL>
      <d2p1:ID>sample string 1</d2p1:ID>
      <d2p1:Value>sample string 2</d2p1:Value>
    </d2p1:VTLDriverDetailsMDL>
  </Data>
  <Message>sample string 1</Message>
  <Result>true</Result>
</VTResultOfArrayOfVTLDriverDetailsMDL6Y_SAQWtl>