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 .csv suffix or ?format=csv
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: text/csv
Content-Type: text/csv
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)\/"}]}