BootView WebApi

<back to all web services

GetEnforcementZone

The following routes are available for this service:
GET/enforcementzonesgets a list of enforcement zones for a specific user on a specific client
GetEnforcementZone Parameters:
NameParameterData TypeRequiredDescription
OfficerIdqueryGuidYesThe Officer ID.
CustomerIdqueryGuidYesThe customer ID.
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 /enforcementzones HTTP/1.1 
Host: api.paylock.com 
Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"enforcementZoneList":[{"enforcementZoneId":"00000000-0000-0000-0000-000000000000","zoneName":"String","coordinates":"String","points":"String","customerId":"00000000-0000-0000-0000-000000000000","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}]}