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

{
	PlateNumber: String,
	FjNo: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PaymentAmount: 0,
	PaymentDate: 0001-01-01,
	CurrentBalance: 0,
	RemainingCount: 0,
	ExpireDate: 0001-01-01,
	CreditCardNumber: String,
	PlateInfo: 
	{
		AccountId: 0,
		AccountTagID: 0,
		AgencyId: 0,
		AxleCount: 0,
		Comment: String,
		Created: 0001-01-01,
		CreatedBy: String,
		DMVExpDate: 0001-01-01,
		DMVRegDate: 0001-01-01,
		DMVVehCode: String,
		DeletionStateCode: 0,
		EndDate: 0001-01-01,
		Extensions: String,
		IsRegistrationFeePaid: False,
		LastUpd: 0001-01-01,
		LastUpdApp: String,
		LastUpdBy: String,
		LicPlateCountry: String,
		LicPlateNo: String,
		LicPlateState: String,
		LookUpDt: 0001-01-01,
		LookupStatus: 0,
		PlateId: 0,
		PlateStatusDate: 0001-01-01,
		PlateStatusId: 0,
		PlateTypeId: 0,
		ProgramId: 0,
		SerialNumber: 0,
		StartDate: 0001-01-01,
		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: 0001-01-01,
			Direction: String,
			PlateNo: String,
			Fare: 0
		}
	],
	ResponseStatus: 
	{
		ErrorCode: String,
		Message: String,
		StackTrace: String,
		Errors: 
		[
			{
				ErrorCode: String,
				FieldName: String,
				Message: String
			}
		]
	}
}