WebAPI

<back to all web services

GetPayment

/GetPayment will retrive an unregistered payment made on a transaction given a license plate number, and an FjNo

The following routes are available for this service:
GET/GetPayment/{PlateNumber}/{FjNo}To retrieve an unregistered payment, and the crossings for which the payment was made
Parameters:
NameParameterData TypeRequiredDescription
PlateNumberpathstringYes
FjNopathintegerYes

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

{"PlateNumber":"String","FjNo":0}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"PaymentAmount":0,"PaymentDate":"\/Date(-62135596800000-0000)\/","CurrentBalance":0,"RemainingCount":0,"ExpireDate":"\/Date(-62135596800000-0000)\/","CreditCardNumber":"String","PlateInfo":{"AccountId":0,"AccountTagID":0,"AgencyId":0,"AxleCount":0,"Comment":"String","Created":"\/Date(-62135596800000-0000)\/","CreatedBy":"String","DMVExpDate":"\/Date(-62135596800000-0000)\/","DMVRegDate":"\/Date(-62135596800000-0000)\/","DMVVehCode":"String","DeletionStateCode":0,"EndDate":"\/Date(-62135596800000-0000)\/","Extensions":"String","IsRegistrationFeePaid":false,"LastUpd":"\/Date(-62135596800000-0000)\/","LastUpdApp":"String","LastUpdBy":"String","LicPlateCountry":"String","LicPlateNo":"String","LicPlateState":"String","LookUpDt":"\/Date(-62135596800000-0000)\/","LookupStatus":0,"PlateId":0,"PlateStatusDate":"\/Date(-62135596800000-0000)\/","PlateStatusId":0,"PlateTypeId":0,"ProgramId":0,"SerialNumber":0,"StartDate":"\/Date(-62135596800000-0000)\/","SubAccountId":0,"VehClassIAGId":0,"VehClassId":0,"VehSeqNo":0,"VehicleClassCode":0,"VehicleColor":"String","VehicleDetailId":0,"VehicleIdentificationNumber":"String","VehicleMake1":"String","VehicleMakeId":0,"VehicleModel":"String","VehicleYear":"String","isDeleted":false,"isDualTires":false,"oldAccountTagId":0},"CrossingHistories":[{"TransactionId":0,"TransactionDate":"\/Date(-62135596800000-0000)\/","Direction":"String","PlateNo":"String","Fare":0}],"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String"}]}}