Developer API

Insert Record (Affiliate)

Purpose

You can use the insertRecord 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/insertRecord?apiauthkey=yourapikey&secretkey=yoursecretkey&xmlData=yourxmldata

Examples
XML Data:

XMLDATA sample:

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.
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.
zip
Integer
Zip should be in number format.
internal_note
String
Internal note should be in string format.
affiliate_portal_access
On or Off
Portal Access for affiliate. Values should be on or off
https://secureclientaccess.com
on = Affiliate can access portal
off = Affiliate can not access portal
affiliate_userid
Email
Userid same as email
Note: Only accepted if affiliate_portal_access is on
send_setup_password_info_via_email
yes or no
yes = System will send login information via email and instructions for setting password to affiliate.
no = System will not send login information via email and instructions for setting password to affiliate.
Note: Only accepted if affiliate_portal_access is on

* - Mandatory parameter