HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/UKVehicleLookup HTTP/1.1
Host: api-preprod.merseyflow.co.uk
Content-Type: application/xml
Content-Length: length
<UKVehicleLookup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ServiceModel">
<IsPayForCrossing>false</IsPayForCrossing>
<PlateCountry>String</PlateCountry>
<PlateNumber>String</PlateNumber>
<ProgramId>0</ProgramId>
</UKVehicleLookup>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<UKVehicleLookupResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ServiceModel">
<ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:Message>String</d2p1:Message>
<d2p1:StackTrace>String</d2p1:StackTrace>
<d2p1:Errors>
<d2p1:ResponseError>
<d2p1:ErrorCode>String</d2p1:ErrorCode>
<d2p1:FieldName>String</d2p1:FieldName>
<d2p1:Message>String</d2p1:Message>
</d2p1:ResponseError>
</d2p1:Errors>
</ResponseStatus>
<VehicleDetailsInfo xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<d2p1:Body>String</d2p1:Body>
<d2p1:BodyCode>String</d2p1:BodyCode>
<d2p1:Make>String</d2p1:Make>
<d2p1:MakeCode>String</d2p1:MakeCode>
<d2p1:MakeId>0</d2p1:MakeId>
<d2p1:Model>String</d2p1:Model>
<d2p1:ModelCode>String</d2p1:ModelCode>
<d2p1:PlateCountry>String</d2p1:PlateCountry>
<d2p1:PlateNumber>String</d2p1:PlateNumber>
<d2p1:SeatingCapacity>0</d2p1:SeatingCapacity>
<d2p1:TaxClassDesc>String</d2p1:TaxClassDesc>
<d2p1:TaxClassId>String</d2p1:TaxClassId>
<d2p1:VehicleClass>0</d2p1:VehicleClass>
<d2p1:VehicleClassDesc>String</d2p1:VehicleClassDesc>
<d2p1:VehicleColor>String</d2p1:VehicleColor>
<d2p1:VehicleColorCode>String</d2p1:VehicleColorCode>
<d2p1:WheelPlan>String</d2p1:WheelPlan>
<d2p1:WheelPlanCode>String</d2p1:WheelPlanCode>
<d2p1:Year>0</d2p1:Year>
</VehicleDetailsInfo>
</UKVehicleLookupResponse>