LPR
Click here for a complete list of operations.
CreateSenSenRead
Create a read for a specified hit
Test
The test form is only available for requests from the local machine.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 /LPR.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/passes_ws/CreateSenSenRead" <?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> <CreateSenSenRead xmlns="http://www.edc-aim.com/schemas/passes_ws/"> <apiKey>string</apiKey> <read> <guid>string</guid> <vehicle_code>string</vehicle_code> <vehicle_desc>string</vehicle_desc> <user_code>string</user_code> <user_desc>string</user_desc> <plate_number>string</plate_number> <plate_state>string</plate_state> <date>dateTime</date> <plate_image>string</plate_image> <context_image>string</context_image> <enforcement_gps> <latitude>double</latitude> <longitude>double</longitude> </enforcement_gps> <plate_gps> <latitude>double</latitude> <longitude>double</longitude> </plate_gps> <zone_name>string</zone_name> <zone_description>string</zone_description> <zone_polygon> <ApiSenSenGPSPoint> <latitude>double</latitude> <longitude>double</longitude> </ApiSenSenGPSPoint> <ApiSenSenGPSPoint> <latitude>double</latitude> <longitude>double</longitude> </ApiSenSenGPSPoint> </zone_polygon> </read> </CreateSenSenRead> </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> <CreateSenSenReadResponse xmlns="http://www.edc-aim.com/schemas/passes_ws/"> <CreateSenSenReadResult>int</CreateSenSenReadResult> </CreateSenSenReadResponse> </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 /LPR.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> <CreateSenSenRead xmlns="http://www.edc-aim.com/schemas/passes_ws/"> <apiKey>string</apiKey> <read> <guid>string</guid> <vehicle_code>string</vehicle_code> <vehicle_desc>string</vehicle_desc> <user_code>string</user_code> <user_desc>string</user_desc> <plate_number>string</plate_number> <plate_state>string</plate_state> <date>dateTime</date> <plate_image>string</plate_image> <context_image>string</context_image> <enforcement_gps> <latitude>double</latitude> <longitude>double</longitude> </enforcement_gps> <plate_gps> <latitude>double</latitude> <longitude>double</longitude> </plate_gps> <zone_name>string</zone_name> <zone_description>string</zone_description> <zone_polygon> <ApiSenSenGPSPoint> <latitude>double</latitude> <longitude>double</longitude> </ApiSenSenGPSPoint> <ApiSenSenGPSPoint> <latitude>double</latitude> <longitude>double</longitude> </ApiSenSenGPSPoint> </zone_polygon> </read> </CreateSenSenRead> </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> <CreateSenSenReadResponse xmlns="http://www.edc-aim.com/schemas/passes_ws/"> <CreateSenSenReadResult>int</CreateSenSenReadResult> </CreateSenSenReadResponse> </soap12:Body> </soap12:Envelope>