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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

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

{"AccountTypeId":0,"AccountCountryCode":"String","VehClassID":0,"VehicleCountryCode":"String","LUDSPlanCount":0,"FUDSPlanCount":0,"BlueBadgePlanCount":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"VehiclePlatePlans":[{"PlanPlanId":0,"PlanPlanShortDescription":"String","PlanPlanDescription":"String","PlanPlanEffectiveDt":"\/Date(-62135596800000-0000)\/","SetupFee":0,"DiscountPct":0,"DiscountAmt":0,"MinTrips":0,"MinTripPeriod":0,"MinPPTAmt":0,"IsRenewalRequired":false}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}