INPCMS Codes - 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
Codes types currently available via the interface: status, disposition, eyes, hair, race, gender
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> <GetCodes> <UserID>Username</UserID> <Password>Password</Password> <Type>status</Type> </GetCodes> </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:GetCodesResponse xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"> <Codes xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:Code[19]"> <item xsi:type="tns:Code"> <Type xsi:type="xsd:integer">Status</Type> <Code xsi:type="xsd:string">C</Code> <Name xsi:type="xsd:string">CLOSED</Name> </item> <item xsi:type="tns:Code"> <Type xsi:type="xsd:integer">Status</Type> <Code xsi:type="xsd:string">O</Code> <Name xsi:type="xsd:string">OPEN</Name> </item> </Codes> </ns1:GetCodesResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope>