GET | /enforcementzones | gets a list of enforcement zones for a specific user on a specific client |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
OfficerId | query | Guid | Yes | The Officer ID. |
CustomerId | query | Guid | Yes | The customer ID. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EnforcementZoneList | form | List<EnforcementZone> | No | |
OptiRouteResultList | form | List<OptiRouteMapResultItem> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EnforcementZoneId | form | Guid | No | |
ZoneName | form | string | No | |
Coordinates | form | string | No | |
Points | form | string | No | |
CustomerId | form | Guid | No | |
WeekDays | form | string | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
HotlistSrcLocIf | form | long | No | |
ClientCode | form | string | No | |
LicPlate | form | string | No | |
LicState | form | string | No | |
MakeModel | form | string | No | |
Color | form | string | No | |
AmtDue | form | decimal? | No | |
HitStatus | form | string | No | |
HitAction | form | string | No | |
SrcType | form | string | No | |
TypeDate | form | DateTime? | No | |
TypeDateDay | form | string | No | |
SourceLL | form | int? | No | |
SourceLLName | form | string | No | |
Latitude | form | string | No | |
Longitude | form | string | No | |
ParkingZone | form | string | No | |
SourceAddress | form | int? | No | |
AddressNum | form | int? | No | |
Address | form | string | No | |
City | form | string | No | |
State | form | string | No | |
Zip | form | string | No | |
NumRunawaysSinceLastPayment | form | int? | No | |
CurrentStatus | form | string | No | |
DataSource | form | string | No | |
FileDate | form | DateTime? | No | |
LocImportSource | form | int? | No | |
LocImportSourceName | form | string | No | |
ImportDate | form | DateTime? | No | |
LPRDataID | form | Guid? | No | |
PlateStatus | form | int? | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK Content-Type: text/jsv Content-Length: length { enforcementZoneList: [ { zoneName: String, coordinates: String, points: String, weekDays: String } ], optiRouteResultList: [ { hotlistSrcLocIf: 0, clientCode: String, licPlate: String, licState: String, makeModel: String, color: String, amtDue: 0, hitStatus: String, hitAction: String, srcType: String, typeDate: 0001-01-01, 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: 0001-01-01, locImportSource: 0, locImportSourceName: String, importDate: 0001-01-01, lprDataID: 00000000000000000000000000000000, plateStatus: 0 } ] }