WebAPI

<back to all web services

GetVehicleDetails

This method will be returning the attributes of License Plate Number (VRM), License Plate Country (GB by default), the plate colour, the plate make, and the plate model

The following routes are available for this service:
GET/GetVehicleDetails/{AccountId}/{PlateId}RESTFUL call to get a list of all the vehicle makes.
Parameters:
NameParameterData TypeRequiredDescription
AccountIdpathintegerNo
PlateIdpathintegerNo

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/GetVehicleDetails HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: application/xml
Content-Length: length

<GetVehicleDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ServiceModel">
  <AccountId>0</AccountId>
  <PlateId>0</PlateId>
</GetVehicleDetails>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetVehicleDetailsResponse 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:ApprovalDocIsInvalid>false</d2p1:ApprovalDocIsInvalid>
    <d2p1:AxleCount>0</d2p1:AxleCount>
    <d2p1:Body>String</d2p1:Body>
    <d2p1:BodyCode>String</d2p1:BodyCode>
    <d2p1:CategoryId>0</d2p1:CategoryId>
    <d2p1:EffectiveDate>0001-01-01T00:00:00</d2p1:EffectiveDate>
    <d2p1:ExpiryDate>0001-01-01T00:00:00</d2p1:ExpiryDate>
    <d2p1:GroupName>String</d2p1:GroupName>
    <d2p1:IsLUDSAutoRenewal>false</d2p1:IsLUDSAutoRenewal>
    <d2p1:IsMonthlyPassAutoRenewal>false</d2p1:IsMonthlyPassAutoRenewal>
    <d2p1:IsTransponderRequested>false</d2p1:IsTransponderRequested>
    <d2p1:Make>String</d2p1:Make>
    <d2p1:MakeCode>String</d2p1:MakeCode>
    <d2p1:MakeId>0</d2p1:MakeId>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:MissingDocType xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>0</d3p1:int>
    </d2p1:MissingDocType>
    <d2p1:MissingDocTypeDesc xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>String</d3p1:string>
    </d2p1:MissingDocTypeDesc>
    <d2p1:Model>String</d2p1:Model>
    <d2p1:NeedManualRenewal>false</d2p1:NeedManualRenewal>
    <d2p1:NeedManualRenewalLUDS>false</d2p1:NeedManualRenewalLUDS>
    <d2p1:PlateCountry>String</d2p1:PlateCountry>
    <d2p1:PlateNumber>String</d2p1:PlateNumber>
    <d2p1:PlatePlanId>0</d2p1:PlatePlanId>
    <d2p1:PlatePlanName>String</d2p1:PlatePlanName>
    <d2p1:PlatePlanStatusDescription>String</d2p1:PlatePlanStatusDescription>
    <d2p1:PlatePlanStatusId>0</d2p1:PlatePlanStatusId>
    <d2p1:PlateStateRegion>String</d2p1:PlateStateRegion>
    <d2p1:RegType>String</d2p1:RegType>
    <d2p1:SeatingCapacity>0</d2p1:SeatingCapacity>
    <d2p1:SetupFee>0</d2p1:SetupFee>
    <d2p1:StartDateTime>0001-01-01T00:00:00</d2p1:StartDateTime>
    <d2p1:TagId>0</d2p1:TagId>
    <d2p1:TagSerial>String</d2p1:TagSerial>
    <d2p1:TagStatus>String</d2p1:TagStatus>
    <d2p1:TagStatusId>0</d2p1:TagStatusId>
    <d2p1:TagTypeId>0</d2p1:TagTypeId>
    <d2p1:TaxClassCode>String</d2p1:TaxClassCode>
    <d2p1:TaxClassCodeDescription>String</d2p1:TaxClassCodeDescription>
    <d2p1:VehicleClass>0</d2p1:VehicleClass>
    <d2p1:VehicleColor>String</d2p1:VehicleColor>
    <d2p1:VehicleColorCode>String</d2p1:VehicleColorCode>
    <d2p1:VehicleId>0</d2p1:VehicleId>
    <d2p1:WheelPlan>String</d2p1:WheelPlan>
    <d2p1:WheelPlanCode>String</d2p1:WheelPlanCode>
    <d2p1:Year>0</d2p1:Year>
  </VehicleDetailsInfo>
</GetVehicleDetailsResponse>