AIMSSync
Click here for a complete list of operations.
GetGeoFenceHits
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /AIMSSync.asmx HTTP/1.1 Host: parkmobile.townofbwg.com Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.edc-aim.com/schemas/aimssync_ws/GetGeoFenceHits" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetGeoFenceHits xmlns="http://www.edc-aim.com/schemas/aimssync_ws/"> <key>string</key> <geofenceid>int</geofenceid> <geofenceids>string</geofenceids> </GetGeoFenceHits> </soap:Body> </soap:Envelope>
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <GetGeoFenceHitsResponse xmlns="http://www.edc-aim.com/schemas/aimssync_ws/"> <GetGeoFenceHitsResult> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo xsi:nil="true" /> <MobileVehicleHitReadInfo xsi:nil="true" /> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo xsi:nil="true" /> <MobileVehicleHitReadInfo xsi:nil="true" /> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> </GetGeoFenceHitsResult> </GetGeoFenceHitsResponse> </soap:Body> </soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /AIMSSync.asmx HTTP/1.1 Host: parkmobile.townofbwg.com Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetGeoFenceHits xmlns="http://www.edc-aim.com/schemas/aimssync_ws/"> <key>string</key> <geofenceid>int</geofenceid> <geofenceids>string</geofenceids> </GetGeoFenceHits> </soap12:Body> </soap12:Envelope>
HTTP/1.1 200 OK Content-Type: application/soap+xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:Body> <GetGeoFenceHitsResponse xmlns="http://www.edc-aim.com/schemas/aimssync_ws/"> <GetGeoFenceHitsResult> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo xsi:nil="true" /> <MobileVehicleHitReadInfo xsi:nil="true" /> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo xsi:nil="true" /> <MobileVehicleHitReadInfo xsi:nil="true" /> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> </GetGeoFenceHitsResult> </GetGeoFenceHitsResponse> </soap12:Body> </soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /AIMSSync.asmx/GetGeoFenceHits?key=string&geofenceid=string&geofenceids=string HTTP/1.1 Host: parkmobile.townofbwg.com
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfMobileVehicleHitInfo xmlns="http://www.edc-aim.com/schemas/aimssync_ws/"> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> </ArrayOfMobileVehicleHitInfo>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /AIMSSync.asmx/GetGeoFenceHits HTTP/1.1 Host: parkmobile.townofbwg.com Content-Type: application/x-www-form-urlencoded Content-Length: length key=string&geofenceid=string&geofenceids=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ArrayOfMobileVehicleHitInfo xmlns="http://www.edc-aim.com/schemas/aimssync_ws/"> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> <MobileVehicleHitInfo> <vhitid>int</vhitid> <guid>string</guid> <hitDate>dateTime</hitDate> <hittypeid>int</hittypeid> <rawData>string</rawData> <Custom1>string</Custom1> <Custom2>string</Custom2> <SuggestedViolationCode>string</SuggestedViolationCode> <geofenceid>int</geofenceid> <badgeid>int</badgeid> <ticketid>int</ticketid> <reads> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> <MobileVehicleHitReadInfo> <vhitid>int</vhitid> <vreadid>int</vreadid> <guid>string</guid> <PlateNumber>string</PlateNumber> <stateid>int</stateid> <gpsX>decimal</gpsX> <gpsY>decimal</gpsY> <zoneName>string</zoneName> <streetAddress>string</streetAddress> <userName>string</userName> <vehicleName>string</vehicleName> <readDate>dateTime</readDate> <attachments d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" /> </MobileVehicleHitReadInfo> </reads> <vehicle_unknown>boolean</vehicle_unknown> </MobileVehicleHitInfo> </ArrayOfMobileVehicleHitInfo>