Developer API

Update Record (Lead/Client)


Purpose

You can use the updateRecord method to insert records into the required Credit Repair Cloud Lead/Client Module.

Important: Use the POST method to pass these parameters instead of GET method.

You have to pass the xmlData as a POST parameter.

Request URL

XML Format:

https://app.creditrepaircloud.com/api/lead/updateRecord?apiauthkey=yourapikey&secretkey=yoursecretkey&xmlData=yourxmldata

Examples

XML Data:

XMLDATA sample:

<crcloud>
  <lead>
    <id>ODY4</id>
    <type>Client</type>
    <firstname>Scott</firstname>
    <lastname>James</lastname>
    <middlename>G</middlename>
    <suffix>Mr</suffix>
    <email>test@test.com</email>
    <phone_home>9999999999</phone_home>
    <phone_work>9999999999</phone_work>
    <phone_mobile>9999999999</phone_mobile>
    <street_address>street address</street_address>
    <city>New York</city>
    <state>NY</state>
    <post_code>10007</post_code>
    <ssno>5456</ssno>
    <birth_date>10/31/1983</birth_date>
    <memo>test</memo>
    <previous_mailing_address>test</previous_mailing_address>
    <previous_city>New York</previous_city>
    <previous_state>NY</previous_state>
    <previous_post_code>10007</previous_post_code>
    <client_assigned_to>team member1,team member2</client_assigned_to>
    <referred_by_firstname>Freddy</referred_by_firstname>
    <referred_by_lastname>Katz</referred_by_lastname>
    <referred_by_email>demo@demo.com</referred_by_email>
  </lead>
</crcloud>

Request Parameters

Parameter Data Type Description
apiauthkey* String Encrypted alphanumeric string to authenticate your Credit repair cloud credentials.
secretkey* String Encrypted alphanumeric string to authenticate your Credit repair cloud credentials.
xmlData* String This is an XML string and the format should be in XML format.
id* String Encrypted alphanumeric string.
type* String

Client status type should be in string format as per below.

Client
Lead
Lead/Inactive
Inactive
Suspended

Note: To add your own custom status. pls login and go to https://app.creditrepaircloud.com/mycompany/clientstatus and Copy status name in xml
firstname* String First name should be in string format.
lastname* String Last name should be in string format.
middlename String Middle name should be in string format.
suffix String Suffix should be in string format.
email Email Email should be in email format.
phone_home Integer Home Phone should be in 10 digit number format.
phone_work Integer Work Phone should be in 10 digit number format.
phone_mobile Integer Mobile Phone format should be in (999) 999-9999
street_address String Street Address should be in string format.
city String City should be in string format.
state String State should be in string format.
post_code Integer Post code should be in number format.
ssno Integer Social Security no.should be in 4 digit number format.
birth_date Date Birth date should be in in mm/dd/yyyy format.
memo String Memo should be in string format.
previous_mailing_address String Previous mailing address should be in string format. Previous mailing address (only if at current mailing address for less than 2 years)
previous_city String Previous City should be in string format.
previous_state String Previous State should be in string format.
previous_post_code Integer Previous post code should be in number format.
client_assigned_to String Name of team members with comma separator for assing team members to client.
Note: Pls login and go to https://app.creditrepaircloud.com/mycompany/team and Copy team member name in xml
referred_by_firstname String Referred by first name should be in string format.
referred_by_lastname String Referred by last name should be in string format.
referred_by_email Email Email should be in email format.

* - Mandatory parameter

Abbreviation:US State:
ALAlabama
AKAlaska
ASAmerican Samoa
AZArizona
ARArkansas
CACalifornia
COColorado
CTConnecticut
DEDelaware
DCDistrict of Columbia
FLFlorida
GAGeorgia
GUGuam
HIHawaii
IDIdaho
ILIllinois
INIndiana
IAIowa
KSKansas
KYKentucky
LALouisiana
MEMaine
MDMaryland
MAMassachusetts
MIMichigan
MNMinnesota
MSMississippi
MOMissouri
MTMontana
NENebraska
NVNevada
NHNew Hampshire
NJNew Jersey
NMNew Mexico
NYNew York
NCNorth Carolina
NDNorth Dakota
MPNorthern Mariana Islands
OHOhio
OKOklahoma
OROregon
PAPennsylvania
PRPuerto Rico
RIRhode Island
SCSouth Carolina
SDSouth Dakota
TNTennessee
TXTexas
UMUnited States Minor Outlying Islands
UTUtah
VTVermont
VIVirgin Islands, U.S.
VAVirginia
WAWashington
WVWest Virginia
WIWisconsin
WYWyoming