INPCMS Offenses - XML Response

Offenses can be received from the API via a POST request to XMLService.php. The response will be provided in XML format.

Here is a test page that can be used to retrieve offenses in an XML format.

Below are the fields that can be submitted in the request:

UserID - The ID provided by INPCMS. (Required)
Password - The password provided by INPCMS.(Required)
Function - The requested function for the service. In this case it will be 'GetOffenses' or 'GetRepealedOffenses'.(Required)
ModifiedSince - Returns offenses that have been modified since this date.
Example Code:
			<form action="XMLService.php" method="POST">
        		Name: <input type='text' name="UserID">
		        Password: <input type='password' name="Password">
		        Modified Since: <input type='text' name="ModifiedSince">
	        	<input type='hidden' name="Function" value="GetOffenses">
	        	<input type='submit' name="submit" value="submit">
			</form>
		
Response:
			<?xml version="1.0" encoding="UTF-8"?>
			<INPCMSResponse>
				<Offenses>
					<Offense>
						<OffenseID>1</OffenseID>
						<Name>Activity Related to Obscene Performance</Name>
						<Comment></Comment>
						<Statute>35-49-3-2</Statute>
						<Class>A</Class>
						<Type>M</Type>
						<Degree>AM</Degree>
						<EffectiveDate>1977-10-01</EffectiveDate>
						<RepealedDate></RepealedDate>
						<NewOffense></NewOffense>
						<PenaltyStatute></PenaltyStatute>
						<ShortenedName>Activity Related to Obscene Performance</ShortenedName>
						<VictimInvolvement>false</VictimInvolvement>
						<DrugInvolvement>false</DrugInvolvement>
						<BMVOffense>false</BMVOffense>
					</Offense>
					<Offense>
						<OffenseID>7</OffenseID>
						<Name>Arson</Name>
						<Comment>knowingly damage by fire, etc. the dwelling of another w/o consent.</Comment>
						<Statute>35-43-1-1(a)(1)</Statute>
						<Class>B</Class>
						<Type>F</Type>
						<Degree>BF</Degree>
						<EffectiveDate>1977-10-01</EffectiveDate>
						<RepealedDate></RepealedDate>
						<NewOffense></NewOffense>
						<PenaltyStatute></PenaltyStatute>
						<ShortenedName>Arson</ShortenedName>
						<VictimInvolvement>true</VictimInvolvement>
						<DrugInvolvement>false</DrugInvolvement>
						<BMVOffense>false</BMVOffense>
					</Offense>
					<Offense>
						<OffenseID>5263</OffenseID>
						<Name>Operating a Pharmacy without a Valid Pharmacy Permit</Name>
						<Comment>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>25-26-13-29(a)(3)</Statute>
						<Class>L</Class>
						<Type>6</Type>
						<Degree>L6</Degree>
						<EffectiveDate>2014-07-01</EffectiveDate>
						<RepealedDate></RepealedDate>
						<NewOffense></NewOffense>
						<PenaltyStatute>25-26-13-29(b)</PenaltyStatute>
						<ShortenedName>Operating a Pharmacy without a Valid Pharmacy Permit</ShortenedName>
						<VictimInvolvement>false</VictimInvolvement>
						<DrugInvolvement>false</DrugInvolvement>
						<BMVOffense>false</BMVOffense>
					</Offense>
				</Offenses>
			</INPCMSResponse>