Requesting Customer's SecurityTrax ID By Identifier
Introduction
Posting to SecurityTrax is done via raw http post. In order to perform this action you will need the following information:
URL |
|
Partner ID |
This is the unique ID that SecurityTrax assigns to the partner company. Source ID Provided by the company using SecurityTrax. |
Username |
Set by company using SecurityTrax. Provided by them. |
Password |
Set by company using SecurityTrax. Provided by them. |
IDType |
The attribute you want to search customer's on. Valid options are:
|
Sample Request
The following is an example of a valid request.
<?xml version='1.0'?> <root> <requests> <request type='GetSystemAuthentication'> <attribute name='Username'>username </attribute> <attribute name='Password'>password</attribute> <attribute name='PartnerID'>id</attribute> </request> <request type="AllAccess-GetSecurityTraxUniqueID"> <attribute name='IDType'>{PhoneNumber,AccountNumber}</attribute> <attribute name='ID'>343</attribute> </request> </requests> </root>
Sample Response
The following is an example of a successful response.
<?xml version="1.0"?> <root> <responses> <response type="GetSystemAuthentication" success="true"> <data> <message>Authenticated To System</message> </data> <system_request> <request type="GetSystemAuthentication"> <attribute name="Username">abc123</attribute> <attribute name="Password">abc123</attribute> <attribute name="PartnerID">1</attribute> </request> </system_request> </response> <response type="AllAccess-GetSecurityTraxUniqueID" success="true"> <data> <SecurityTraxUniqueID>2237</SecurityTraxUniqueID> </data> <system_request> <request type="AllAccess-GetSecurityTraxUniqueID"> <attribute name="IDType">PhoneNumber</attribute> <attribute name="ID">9541234567</attribute> </request> </system_request> </response> </responses> </root>