Developer API

Update Record (Affiliate)


Purpose

You can use the updateRecord method to insert records into the required Credit Repair Cloud Affiliate 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/affiliate/updateRecord?apiauthkey=yourapikey&secretkey=yoursecretkey&xmlData=yourxmldata

Examples

XML Data:

XMLDATA sample:

<crcloud>
  <affiliate>
    <id>ODY4</id>
    <type>Active</type>
    <firstname>Jonny</firstname>
    <lastname>Appleseed</lastname>
    <gender>Male</gender>
    <company>TEST ABC</company>
    <company_url>https://www.testabc.com</company_url>
    <email>test1@test1.com</email>
    <phone>5555555555</phone>
    <phone_ext>123</phone_ext>
    <alternate_phone>6666666666</alternate_phone>
    <fax>7777777777</fax>
    <mailing_address>street address</mailing_address>
    <city>New York</city>
    <state>NY</state>
    <post_code>10007</post_code>
    <internal_note>Internal test note</internal_note>
  </affiliate>
</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

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

Active
Inactive
Pending
firstname* String First name should be in string format.
lastname* String Last name should be in string format.
gender* String Gender should be Male or Female.
company String Company name should be in string format.
company_url String Company URL should be in url format.
email* Email Email should be in email format.
phone* Integer Phone should be in 10 digit number format.
phone_ext Integer Phone extension should be upto 10 digit number format.
alternate_phone Integer Alternate phone should be in 10 digit number format.
mailing_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.
internal_note String Internal note should be in string 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