POST | /saveEnforcementZoneHistory | Save the optiroute points stauts for a user on a particular day, This information comes from windows Easylpr application |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
enforcementZoneHistory | body | List<EnforcementZoneHistory> | Yes | The list of optiroute point status for a particular user. |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
EnforcementZoneHistoryid | form | Guid | No | |
OfficerId | form | Guid | No | |
ZoneName | form | string | No | |
Latitude | form | string | No | |
Longitude | form | string | No | |
CustomerId | form | Guid | No | |
PointName | form | string | No | |
VisitedDate | form | DateTime | No | |
Status | form | int | No | |
WorkDate | form | DateTime | 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
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /saveEnforcementZoneHistory HTTP/1.1
Host: api.paylock.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"enforcementZoneHistory":[{"enforcementZoneHistoryid":"00000000000000000000000000000000","officerId":"00000000000000000000000000000000","zoneName":"String","latitude":"String","longitude":"String","customerId":"00000000000000000000000000000000","pointName":"String","visitedDate":"\/Date(-62135596800000-0000)\/","status":0,"workDate":"\/Date(-62135596800000-0000)\/"}]}