WebAPI

<back to all web services

GetCrossingHistory

/GetCrossingHistory will retrive all of the crossing history that have been made on an account

The following routes are available for this service:
POST/GetCrossingHistory
Parameters:
NameParameterData TypeRequiredDescription
AccountIdpathintegerYes
PlateNumberpathstringNo
PageSizepathintegerYes
PageNumberpathintegerYes
StartDatepathstringNoYYYY-MM-DD
EndDatepathstringNoYYYY-MM-DD
SortingpathstringNo

To override the Content-type in your clients HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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

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

AccountId,PlateNumber,PageSize,PageNumber,StartDate,EndDate,Sorting
0,String,0,0,0001-01-01,0001-01-01,String

HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

TransactionId,TransactionDate,Direction,PlateNo,Fare
0,0001-01-01,String,String,0