HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/GetVehicle HTTP/1.1
Host: apiv1.gtm.gits2.nl
Content-Type: application/xml
Content-Length: length
<GetVehicle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle">
<Id>0</Id>
</GetVehicle>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<GetVehicleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle">
<HasModules xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">false</HasModules>
<Id xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</Id>
<LicensePlate xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</LicensePlate>
<CurrentOdometerValueInKilometers xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</CurrentOdometerValueInKilometers>
<DefaultDriver xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</DefaultDriver>
<Type xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</Type>
<VehicleGroup xmlns:d2p1="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.VehicleGroup.Dto" xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">
<d2p1:Id>0</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
</VehicleGroup>
<VehicleModel xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</VehicleModel>
<VehicleType xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">Unknown</VehicleType>
<IdentificationNumber xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</IdentificationNumber>
<RegistrationType xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">Unknown</RegistrationType>
<Remarks xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">String</Remarks>
<StreamLineOdoMeterValueInKilometers xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</StreamLineOdoMeterValueInKilometers>
<TotalVehicleOdoMeterValueCorrection xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</TotalVehicleOdoMeterValueCorrection>
<VehicleOdoMeterStartValue xmlns="http://schemas.datacontract.org/2004/07/Gtm.Api.V1.Dto.Vehicle.Dto">0</VehicleOdoMeterStartValue>
</GetVehicleResponse>