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 .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>