INPCMS Codes - XML Response

Codes can be received from the API via a POST request. The response will be provided in XML format.

Codes types currently available via the interface: status, disposition, eyes, hair, race, gender

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 'GetCodes'.(Required)
Type - The type of code being requested.
Example Code:
			<form action="XMLService.php" method="POST">
        		Name: <input type='text' name="UserID">
		        Password: <input type='password' name="Password">
		        Type: <input type='text' name="Type">
	        	<input type='hidden' name="Function" value="GetCodes">
	        	<input type='submit' name="submit" value="submit">
		
Response:
			<?xml version="1.0" encoding="UTF-8"?>
			<INPCMSResponse>
				<Codes>
					<Code>
						<Type>Status</Type>
						<Code>C</Code>
						<Name>CLOSED</Name>
					</Code>
					<Code>
						<Type>Status</Type>
						<Code>O</Code>
						<Name>OPEN</Name>
					</Code>
				</Codes>
			</INPCMSResponse>