Creating Customers
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. |
Sample Request
The following is an example of a valid request. Bold items are required.
<?xml version='1.0' standalone='yes'?> <customers> <customer> <source_id>Partner ID</source_id> <fname>George13</fname> <lname>Foreman3</lname> <spouse>Mary</spouse> <address1>290 Market Road</address1> <address2></address2> <cross_street>test cross street</cross_street> <city>Parma</city> <county>Utah</county> <state>NC</state> <zip>28642</zip> <phone1>8013127741</phone1> <phone2>8013678735</phone2> <phone3>8013674735</phone3> <phone4>8013679735</phone4> <email>goodgrillz@myemail.net</email> <beacon_score>750</beacon_score> <credit_tracking_number>123454567</credit_tracking_number> <ssn>111223333</ssn> <account_num>N12345</account_num> <abort_code>foo</abort_code> <mrr>39.99</mrr> <contact_time>Noon</contact_time> <customer_purchase_price></customer_purchase_price> <customer_home_ownership>owner</customer_home_ownership> <partner_company_unique_id>00001A321</partner_company_unique_id> <service_two_way_voice>true</service_two_way_voice> <service_cellular_backup>false</service_cellular_backup> <service_guard_response>false</service_guard_response> <service_maintenance>true</service_maintenance> <activation_fee>99.00</activation_fee> <contract_term_length>36</contract_term_length> <birthdate>YYYY-MM-DD</birthdate> <lead_promo_code></lead_promo_code> <lead_custom1></lead_custom1> <lead_custom2></lead_custom2> <lead_custom3></lead_custom3> <lead_custom4></lead_custom4> <lead_callcenter_notes></lead_callcenter_notes> <EmergencyContacts> <EmergencyContact> <ContactName>Name 2</ContactName> <PhoneNumber>3334445555</PhoneNumber> <PhoneType>Home</PhoneType> </EmergencyContact> </EmergencyContacts> <BillingInfo> <BillTypeID>1</BillTypeID> <BillCCCardType>Visa</BillCCCardType> <BillCCName>George Foreman</BillCCName> <BillCCNumber>4111111111111111</BillCCNumber> <BillCCExpiration>0314</BillCCExpiration> <BillingUses>100,200,ABC;</BillingUses> </BillingInfo> <BillingInfo> <BillTypeID>1</BillTypeID> <BillCCCardType>American Express</BillCCCardType> <BillCCName>George Foreman</BillCCName> <BillCCNumber>4111111111111111</BillCCNumber> <BillCCExpiration>1114</BillCCExpiration> <BillingUses></BillingUses> </BillingInfo> </customer> </customers>
Sample Response
The following is an example of a successful response.
<?xml version="1.0"?> <root> <responses> <response success="true"> <data> <location_id>1</location_id> <customer_id>1003</customer_id> </data> </response> </responses> </root>