INPCMS Offenses - SOAP Interface
Codes can be received from the API via a SOAP request.
The WSDL can be found at https://api-dev.inpcms.org/SOAPService.php?wsdl
Example Request:<?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> <GetOffenses> <UserID>Username</UserID> <Password>Password</Password> <ModifiedSince>2014-02-25</ModifiedSince> </GetOffenses> </soap:Body> </soap:Envelope>Response:
<?xml version="1.0" encoding="ISO-8859-1"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="INPCMS" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <ns1:GetOffensesResponse xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"> <Offenses xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:Offense[1929]"> <item xsi:type="tns:Offense"> <OffenseID xsi:type="xsd:integer">2</OffenseID> <Name xsi:type="xsd:string">Activity Related to Obscene Performance</Name> <Comment xsi:type="xsd:string"/> <Statute xsi:type="xsd:string">35-49-3-2</Statute> <Class xsi:type="xsd:string">D</Class> <Type xsi:type="xsd:string">F</Type> <Degree xsi:type="xsd:string">DF</Degree> <EffectiveDate xsi:type="xsd:date">1977-10-01</EffectiveDate> <RepealedDate xsi:type="xsd:date">2014-06-30</RepealedDate> <NewOffense xsi:type="xsd:integer">5251</NewOffense> <PenaltyStatute xsi:type="xsd:string"/> <ShortenedName xsi:type="xsd:string">Activity Related to Obscene Performance</ShortenedName> <VictimInvolvement xsi:type="xsd:boolean">false</VictimInvolvement> <DrugInvolvement xsi:type="xsd:boolean">false</DrugInvolvement> <BMVOffense xsi:type="xsd:boolean">false</BMVOffense> </item> <item xsi:type="tns:Offense"> <OffenseID xsi:type="xsd:integer">4</OffenseID> <Name xsi:type="xsd:string">Armed Robbery</Name> <Comment xsi:type="xsd:string">Taking property by force or threatening the use of force while armed with a deadly weapon</Comment> <Statute xsi:type="xsd:string">35-42-5-1(1)</Statute> <Class xsi:type="xsd:string">B</Class> <Type xsi:type="xsd:string">F</Type> <Degree xsi:type="xsd:string">BF</Degree> <EffectiveDate xsi:type="xsd:date">1977-10-01</EffectiveDate> <RepealedDate xsi:type="xsd:date">2014-06-30</RepealedDate> <NewOffense xsi:type="xsd:integer">4600</NewOffense> <PenaltyStatute xsi:type="xsd:string"/> <ShortenedName xsi:type="xsd:string">Armed Robbery</ShortenedName> <VictimInvolvement xsi:type="xsd:boolean">true</VictimInvolvement> <DrugInvolvement xsi:type="xsd:boolean">false</DrugInvolvement> <BMVOffense xsi:type="xsd:boolean">false</BMVOffense> </item> <item xsi:type="tns:Offense"> <OffenseID xsi:type="xsd:integer">5263</OffenseID> <Name xsi:type="xsd:string">Operating a Pharmacy without a Valid Pharmacy Permit</Name> <Comment xsi:type="xsd:string">def. operates a pharmacy or advertises so as to cause the public to believe that he operates a pharmacy but def. has no valid pharmacy permit</Comment> <Statute xsi:type="xsd:string">25-26-13-29(a)(3)</Statute> <Class xsi:type="xsd:string">L</Class> <Type xsi:type="xsd:string">6</Type> <Degree xsi:type="xsd:string">L6</Degree> <EffectiveDate xsi:type="xsd:date">2014-07-01</EffectiveDate> <RepealedDate xsi:type="xsd:date"/> <NewOffense xsi:type="xsd:integer"/> <PenaltyStatute xsi:type="xsd:string">25-26-13-29(b)</PenaltyStatute> <ShortenedName xsi:type="xsd:string">Operating a Pharmacy without a Valid Pharmacy Permit</ShortenedName> <VictimInvolvement xsi:type="xsd:boolean">false</VictimInvolvement> <DrugInvolvement xsi:type="xsd:boolean">false</DrugInvolvement> <BMVOffense xsi:type="xsd:boolean">false</BMVOffense> </item> </Offenses> </ns1:GetOffensesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>