POST api/GiptnVehicle/GetVehicleDetails

Get List of Waybills

Request Information

URI Parameters

None.

Body Parameters

GiptnVehicleRequest
NameDescriptionTypeAdditional information
VehicleRegistrationNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "VehicleRegistrationNumber": "sample string 1"
}

application/xml, text/xml

Sample:
<GiptnVehicleRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.GiptnVehicle">
  <VehicleRegistrationNumber>sample string 1</VehicleRegistrationNumber>
</GiptnVehicleRequest>

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

Response Information

Resource Description

GiptnVehicleResult
NameDescriptionTypeAdditional information
VehicleId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "VehicleId": 1
}

application/xml, text/xml

Sample:
<GiptnVehicleResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TMSWebAPI.Models.GiptnVehicle">
  <VehicleId>1</VehicleId>
</GiptnVehicleResult>