<back to all web services
saveEnforcementZoneHistory
The following routes are available for this service:POST | /saveEnforcementZoneHistory | Save the optiroute points stauts for a user on a particular day, This information comes from windows Easylpr application | |
---|
saveEnforcementZoneHistory Parameters:Name | Parameter | Data Type | Required | Description |
---|
enforcementZoneHistory | body | List<EnforcementZoneHistory> | Yes | The list of optiroute point status for a particular user. |
EnforcementZoneHistory Parameters: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 .xml suffix or ?format=xml
HTTP + XML
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/xml
Content-Type: application/xml
Content-Length: length
<saveEnforcementZoneHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BootView.WebApi.ServiceModel">
<enforcementZoneHistory>
<EnforcementZoneHistory>
<CustomerId>00000000-0000-0000-0000-000000000000</CustomerId>
<EnforcementZoneHistoryid>00000000-0000-0000-0000-000000000000</EnforcementZoneHistoryid>
<Latitude>String</Latitude>
<Longitude>String</Longitude>
<OfficerId>00000000-0000-0000-0000-000000000000</OfficerId>
<PointName>String</PointName>
<Status>0</Status>
<VisitedDate>0001-01-01T00:00:00</VisitedDate>
<WorkDate>0001-01-01T00:00:00</WorkDate>
<ZoneName>String</ZoneName>
</EnforcementZoneHistory>
</enforcementZoneHistory>
</saveEnforcementZoneHistory>