WebAPI

<back to all web services

GetVehiclePlatePlans

The following routes are available for this service:
GET/GetVehiclePlatePlan/{AccountTypeId}/{AccountCountryCode}/{VehClassID}/{VehicleCountryCode}/{LUDSPlanCount}/{FUDSPlanCount}/{BlueBadgePlanCount}RESTFUL call to get a list of plate plan depending on (Account Type / Account Country Code / Vehicle Class ID / Vehicle Country Code / No. of LUDS Plan which have already been added into the vehicle list / No. of FUDS Plan which have already been added into the vehicle list / No. of Blue Badge Plan which have already been added into the vehicle list)
Parameters:
NameParameterData TypeRequiredDescription
AccountTypeIdpathintegerYes
AccountCountryCodepathstringYes
VehClassIDpathintegerYes
VehicleCountryCodepathstringYes
LUDSPlanCountpathintegerYes
FUDSPlanCountpathintegerYes
BlueBadgePlanCountpathintegerYes

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/GetVehiclePlatePlans HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: application/xml
Content-Length: length

<GetVehiclePlatePlans xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.ServiceModel">
  <AccountCountryCode>String</AccountCountryCode>
  <AccountTypeId>0</AccountTypeId>
  <BlueBadgePlanCount>0</BlueBadgePlanCount>
  <FUDSPlanCount>0</FUDSPlanCount>
  <LUDSPlanCount>0</LUDSPlanCount>
  <VehClassID>0</VehClassID>
  <VehicleCountryCode>String</VehicleCountryCode>
</GetVehiclePlatePlans>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<GetVehiclePlatePlansResponse 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>
  <VehiclePlatePlans xmlns:d2p1="http://schemas.datacontract.org/2004/07/WebAPI.Models">
    <d2p1:VehiclePlatePlan>
      <d2p1:DiscountAmt>0</d2p1:DiscountAmt>
      <d2p1:DiscountPct>0</d2p1:DiscountPct>
      <d2p1:IsRenewalRequired>false</d2p1:IsRenewalRequired>
      <d2p1:MinPPTAmt>0</d2p1:MinPPTAmt>
      <d2p1:MinTripPeriod>0</d2p1:MinTripPeriod>
      <d2p1:MinTrips>0</d2p1:MinTrips>
      <d2p1:PlanPlanDescription>String</d2p1:PlanPlanDescription>
      <d2p1:PlanPlanEffectiveDt>0001-01-01T00:00:00</d2p1:PlanPlanEffectiveDt>
      <d2p1:PlanPlanId>0</d2p1:PlanPlanId>
      <d2p1:PlanPlanShortDescription>String</d2p1:PlanPlanShortDescription>
      <d2p1:SetupFee>0</d2p1:SetupFee>
    </d2p1:VehiclePlatePlan>
  </VehiclePlatePlans>
</GetVehiclePlatePlansResponse>