BootView WebApi

<back to all web services

GetOptiRoutePoints

The following routes are available for this service:
GET/optiroutegets a list of optiroute points
GetOptiRoutePoints Parameters:
NameParameterData TypeRequiredDescription
PlatequerystringYesThe plate.
CustomerIdqueryGuidYesThe customer ID.
SourceTypesqueryIEnumerable<OptiRouteLPRSourceType>YesSource Types: LPR = 0
DateFromquerystringYesStart Date.
DateToquerystringYesEnd Date.
WeekDayquerystring []YesArray with week days
AmtDueRangesquerystring []YesArray with Range of amount due ['- 1', '101 - 300', '501 - 1000', '1001 - 999999999', '0 - 100', '301 - 500']
NumRunAwaysquerystring []YesArray with the number of runaways from 0 to 6
StatusqueryintYesThe plate status 0 = Inactive, 1 = Active, -1 = All.
OptiRouteLPRSourceType Enum:
LPR
GetEnforcementZoneResult Parameters:
NameParameterData TypeRequiredDescription
EnforcementZoneListformList<EnforcementZone>No
OptiRouteResultListformList<OptiRouteMapResultItem>No
EnforcementZone Parameters:
NameParameterData TypeRequiredDescription
EnforcementZoneIdformGuidNo
ZoneNameformstringNo
CoordinatesformstringNo
PointsformstringNo
CustomerIdformGuidNo
WeekDaysformstringNo
OptiRouteMapResultItem Parameters:
NameParameterData TypeRequiredDescription
HotlistSrcLocIfformlongNo
ClientCodeformstringNo
LicPlateformstringNo
LicStateformstringNo
MakeModelformstringNo
ColorformstringNo
AmtDueformdecimal?No
HitStatusformstringNo
HitActionformstringNo
SrcTypeformstringNo
TypeDateformDateTime?No
TypeDateDayformstringNo
SourceLLformint?No
SourceLLNameformstringNo
LatitudeformstringNo
LongitudeformstringNo
ParkingZoneformstringNo
SourceAddressformint?No
AddressNumformint?No
AddressformstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
NumRunawaysSinceLastPaymentformint?No
CurrentStatusformstringNo
DataSourceformstringNo
FileDateformDateTime?No
LocImportSourceformint?No
LocImportSourceNameformstringNo
ImportDateformDateTime?No
LPRDataIDformGuid?No
PlateStatusformint?No

To override the Content-type in your clients, use the 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.

GET /optiroute HTTP/1.1 
Host: api.paylock.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"enforcementZoneList":[{"enforcementZoneId":"00000000000000000000000000000000","zoneName":"String","coordinates":"String","points":"String","customerId":"00000000000000000000000000000000","weekDays":"String"}],"optiRouteResultList":[{"hotlistSrcLocIf":0,"clientCode":"String","licPlate":"String","licState":"String","makeModel":"String","color":"String","amtDue":0,"hitStatus":"String","hitAction":"String","srcType":"String","typeDate":"\/Date(-62135596800000-0000)\/","typeDateDay":"String","sourceLL":0,"sourceLLName":"String","latitude":"String","longitude":"String","parkingZone":"String","sourceAddress":0,"addressNum":0,"address":"String","city":"String","state":"String","zip":"String","numRunawaysSinceLastPayment":0,"currentStatus":"String","dataSource":"String","fileDate":"\/Date(-62135596800000-0000)\/","locImportSource":0,"locImportSourceName":"String","importDate":"\/Date(-62135596800000-0000)\/","lprDataID":"00000000000000000000000000000000","plateStatus":0}]}