BootView WebApi

<back to all web services

saveEnforcementZoneHistory

The following routes are available for this service:
POST/saveEnforcementZoneHistorySave the optiroute points stauts for a user on a particular day, This information comes from windows Easylpr application
saveEnforcementZoneHistory Parameters:
NameParameterData TypeRequiredDescription
enforcementZoneHistorybodyList<EnforcementZoneHistory>YesThe list of optiroute point status for a particular user.
EnforcementZoneHistory Parameters:
NameParameterData TypeRequiredDescription
EnforcementZoneHistoryidformGuidNo
OfficerIdformGuidNo
ZoneNameformstringNo
LatitudeformstringNo
LongitudeformstringNo
CustomerIdformGuidNo
PointNameformstringNo
VisitedDateformDateTimeNo
StatusformintNo
WorkDateformDateTimeNo

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.

POST /saveEnforcementZoneHistory HTTP/1.1 
Host: api.paylock.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"enforcementZoneHistory":[{"enforcementZoneHistoryid":"00000000-0000-0000-0000-000000000000","officerId":"00000000-0000-0000-0000-000000000000","zoneName":"String","latitude":"String","longitude":"String","customerId":"00000000-0000-0000-0000-000000000000","pointName":"String","visitedDate":"\/Date(-62135596800000-0000)\/","status":0,"workDate":"\/Date(-62135596800000-0000)\/"}]}