WebAPI

<back to all web services

GetTollSchemeRules

Get the detailed list of account types, vehicle classes, time class, toll rates, registration fees for each account, tag types, tag fees, etc.

The following routes are available for this service:
GET/GetTollSchemeRulesRESTful call with no parameters

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/GetTollSchemeRules HTTP/1.1 
Host: api-preprod.merseyflow.co.uk 
Content-Type: text/jsv
Content-Length: length

{
	
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PlatePlans: 
	[
		{
			Created: 0001-01-01,
			CreatedBy: String,
			DaysPriorRenew: 0,
			DiscountAmt: 0,
			DiscountPct: 0,
			EffectiveDt: 0001-01-01,
			IsDocumentRequired: False,
			IsInitialFeeRequired: False,
			IsRenewalRequired: False,
			LastUpd: 0001-01-01,
			LastUpdApp: String,
			LastUpdBy: String,
			LocalizationLimit: False,
			LookupSetupFee: False,
			MinPPTAmt: 0,
			MinTripPeriod: 0,
			MinTrips: 0,
			ProcessVisibilityMask: 0,
			ProgramDesc: String,
			ProgramId: 0,
			ProgramShortDesc: String,
			RegistrationFee: 0,
			RenewalInMonths: 0,
			SetupFee: 0,
			Translations: String,
			VehicleLimit: 0
		}
	],
	VehicleClasses: 
	[
		{
			Created: 0001-01-01,
			CreatedBy: String,
			Description: String,
			FareClassId: 0,
			LastUpd: 0001-01-01,
			LastUpdApp: String,
			LastUpdBy: String,
			MaxHeight: 0,
			MaxLength: 0,
			MaxWidth: 0,
			MinHeight: 0,
			MinLength: 0,
			MinWidth: 0,
			Notes: String,
			ProcessVisibilityMask: 0,
			ShortCode: String,
			Trailer: False,
			Translations: String,
			VehClassID: 0,
			VehShortDesc: String,
			VehTypeID: 0
		}
	],
	FareClasses: 
	[
		{
			Comment: String,
			Created: 0001-01-01,
			CreatedBy: String,
			ExtraAxle: 0,
			FareClassDesc: String,
			FareClassId: 0,
			LastUpd: 0001-01-01,
			LastUpdApp: String,
			LastUpdBy: String,
			Translations: String,
			VehClassId: 0,
			VehTypeId: 0
		}
	],
	ProductTypes: 
	[
		{
			Created: 0001-01-01,
			CreatedBy: String,
			DeviceColorId: 0,
			DeviceMountTypeId: 0,
			IsTransponder: False,
			LastUpd: 0001-01-01,
			LastUpdApp: String,
			LastUpdBy: String,
			ProductTypeDesc: String,
			ProductTypeId: 0,
			Translations: String
		}
	],
	Products: 
	[
		{
			Comment: String,
			Created: 0001-01-01,
			CreatedBy: String,
			DeviceColorId: 0,
			DeviceMountTypeId: 0,
			DeviceTypeId: 0,
			IsInventory: False,
			LastUpd: 0001-01-01,
			LastUpdApp: String,
			LastUpdBy: String,
			LowCountThreshold: 0,
			ProcessVisibilityMask: 0,
			ProductDesc: String,
			ProductId: 0,
			ProductTypeId: 0,
			ShortDescription: String,
			Translations: String
		}
	],
	RebillSettingLimitation: 
	{
		MinimalLBT: 0,
		MaximalLBT: 0,
		MinimalRebillAmount: 0,
		MaximalRebillAmount: 0
	},
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}