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

HTTP + JSV

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

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

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

{
	VehiclePlatePlans: 
	[
		{
			PlanPlanId: 0,
			PlanPlanShortDescription: String,
			PlanPlanDescription: String,
			PlanPlanEffectiveDt: 0001-01-01,
			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
			}
		]
	}
}