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

{}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PlatePlans":[{"Created":"\/Date(-62135596800000-0000)\/","CreatedBy":"String","DaysPriorRenew":0,"DiscountAmt":0,"DiscountPct":0,"EffectiveDt":"\/Date(-62135596800000-0000)\/","IsDocumentRequired":false,"IsInitialFeeRequired":false,"IsRenewalRequired":false,"LastUpd":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","CreatedBy":"String","Description":"String","FareClassId":0,"LastUpd":"\/Date(-62135596800000-0000)\/","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":"\/Date(-62135596800000-0000)\/","CreatedBy":"String","ExtraAxle":0,"FareClassDesc":"String","FareClassId":0,"LastUpd":"\/Date(-62135596800000-0000)\/","LastUpdApp":"String","LastUpdBy":"String","Translations":"String","VehClassId":0,"VehTypeId":0}],"ProductTypes":[{"Created":"\/Date(-62135596800000-0000)\/","CreatedBy":"String","DeviceColorId":0,"DeviceMountTypeId":0,"IsTransponder":false,"LastUpd":"\/Date(-62135596800000-0000)\/","LastUpdApp":"String","LastUpdBy":"String","ProductTypeDesc":"String","ProductTypeId":0,"Translations":"String"}],"Products":[{"Comment":"String","Created":"\/Date(-62135596800000-0000)\/","CreatedBy":"String","DeviceColorId":0,"DeviceMountTypeId":0,"DeviceTypeId":0,"IsInventory":false,"LastUpd":"\/Date(-62135596800000-0000)\/","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"}]}}