NOTICE: THIS VERSION OF THE API HAS BEEN DEPRECATED. IT WILL CONTINUE TO WORK INDEFINITELY, BUT HAS INCREASED FUNCTIONALITY IN NEWER VERSIONS.
WSDL Page: http://<your_domain_here>/api/1/signup.asmx?op=Affiliate
api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}
company_name / STRING = Affiliate Name
address_street / STRING = Street Address 1
address_street2 / STRING = Street Address 2
address_city / STRING = City
address_state / STRING = State
address_zip_code / STRING = Zip Code
address_country / STRING = Country
referred_by / STRING = Referred By
first_name / STRING = Contact First Name
last_name / STRING = Contact Last Name
email_address / STRING = Contact Email Address
password / STRING = Contact Password
tax_class / STRING = Tax Class ["Corporation", "Individual/Sole Proprietor", "Partners/LLC/LLP", "Other"]
ssn_taxid / STRING = SSN or Tax ID
website / STRING = Affiliate Website
notes / STRING = Freeform Notes
contact_title / STRING = Contact Title
contact_phone_work / STRING = Contact Work Phone
contact_phone_cell / STRING = Contact Cell Phone
contact_phone_fax / STRING = Contact Fax
contact_im_name / STRING = Contact IM Name
contact_im_service / INT = Contact IM Service ["0" = AIM, "1" = Google, "2" = MSN, "3" = Skype, "4" = Yahoo]
media_type / STRING = Media Type ID {See get.asmx > GetMediaTypes}
price_format / STRING = Price Format ID {See get.asmx > GetPriceFormats}
primary_vertical_category / STRING = Primary Vertical Category ID {See get.asmx > GetVerticalCategories}
secondary_vertical_category / STRING = Secondary Vertical Category ID {See get.asmx > GetVerticalCategories}
payment_to / INT (unsignedByte) = Payment Entity ["0" = Company Name, "1" = Main Contact]
ip_address / STRING = Signup IP Address
Parameter Types:
api_key - ID
company_name - ASSIGNABLE
address_street - ASSIGNABLE
address_street2 - ASSIGNABLE
address_city - ASSIGNABLE
address_state - ASSIGNABLE
address_zip_code - ASSIGNABLE
address_country - ASSIGNABLE
referred_by - ASSIGNABLE
first_name - ASSIGNABLE
last_name - ASSIGNABLE
email_address - ASSIGNABLE
password - ASSIGNABLE
tax_class - ASSIGNABLE
ssn_taxid - ASSIGNABLE
website - ASSIGNABLE
notes - ASSIGNABLE
contact_title - ASSIGNABLE
contact_phone_work - ASSIGNABLE
contact_phone_cell - ASSIGNABLE
contact_phone_fax - ASSIGNABLE
contact_im_name - ASSIGNABLE
contact_im_service - ASSIGNABLE
media_type - ASSIGNABLE
price_format - ASSIGNABLE
primary_vertical_category - ASSIGNABLE
secondary_vertical_category - ASSIGNABLE
payment_to - ASSIGNABLE
ip_address - ASSIGNABLE
Sample GET Call:
https://demo.cakemarketing.com/api/1/signup.asmx/Affiliate?api_key=dNJFmId9rI&company_name=CPA+API&address_street=2244+West+Coast+Highway&address_street2=STE+250&address_city=Newport+Beach&address_state=CA&address_zip_code=92663&address_country=US&referred_by=CPA%20Nostromo&first_name=Andy&last_name=Worford&[email protected]&password=a069gsSDG9&tax_class=Other&ssn_taxid=565579584&website=http://getCAKE.com¬es=Here+is+where+I%27m+putting+my+notes&contact_title=Head+of+QA&contact_phone_work=9495482253+x204&contact_phone_cell=9493512600&contact_phone_fax=9495152010&contact_im_name=cake_andy&contact_im_service=1&media_type=15&price_format=1&primary_vertical_category=1&secondary_vertical_category=2&payment_to=0&ip_address=8.8.8.8
Sample XML Response:
<string>Affiliate Added Successfully</string>