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/2/signup.asmx?op=Affiliate
Parameter Summary:
api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}
company_name / STRING = Affiliate Name
website / STRING = Affiliate Website
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
timezone / STRING = Contact Timezone
referral_affiliate_id / INT = Referral Affiliate ID {See export.asmx > Affiliates}
referral_notes / STRING = Referral Notes
tax_class / STRING = Tax Class ["Corporation", "Individual/Sole Proprietor", "Partners/LLC/LLP", "Other"]
payment_to / INT (unsignedByte) = Payment Entity ["0" = Company Name, "1" = Main Contact]
ssn_taxid / STRING = SSN or Tax ID
first_name / STRING = Contact First Name
last_name / STRING = Contact Last Name
email_address / STRING = Contact Email Address
password / STRING = Contact Password
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_types / STRING = Media Type IDs [can be comma-separated] {See get.asmx > GetMediaTypes}
price_formats / STRING = Price Format IDs [can be comma-separated] {See get.asmx > GetPriceFormats}
vertical_categories / STRING = Vertical Category IDs [can be comma-separated] {See get.asmx > GetVerticalCategories}
countries / STRING = Country Codes [can be comma-separated]
ip_address / STRING = Signup IP Address
account_status / INT (unsignedByte) = Affiliate Account Status ID {See get.asmx > AccountStatuses}
notes / STRING = Freeform Notes
Parameter Types:
api_key - ID
company_name - ASSIGNABLE
website - ASSIGNABLE
address_street - ASSIGNABLE
address_street2 - ASSIGNABLE
address_city - ASSIGNABLE
address_state - ASSIGNABLE
address_zip_code - ASSIGNABLE
address_country - ASSIGNABLE
timezone - ASSIGNABLE
referral_affiliate_id - ASSIGNABLE
referral_notes - ASSIGNABLE
tax_class - ASSIGNABLE
payment_to - ASSIGNABLE
ssn_taxid - ASSIGNABLE
first_name - ASSIGNABLE
last_name - ASSIGNABLE
email_address - ASSIGNABLE
password - 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_types - ASSIGNABLE
price_formats - ASSIGNABLE
vertical_categories - ASSIGNABLE
countries - ASSIGNABLE
ip_address - ASSIGNABLE
account_status - ASSIGNABLE
notes - ASSIGNABLE
Sample GET Call:
https://demo.cakemarketing.com/api/2/signup.asmx/Affiliate?api_key=dNJFmId9rI&company_name=CPA%20API&website=http://getCAKE.com&address_street=2244+West+Coast+Highway&address_street2=STE+250&address_city=Newport+Beach&address_state=CA&address_zip_code=92663&address_country=US&timezone=PST&referral_affiliate_id=4401&referral_notes=Great+referral+here&tax_class=Other&payment_to=1&ssn_taxid=565579584&first_name=Andy&last_name=Worford&[email protected]&password=a069gsSDG9&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_types=15,7,6&price_formats=1,2,4&vertical_categories=1,2,20&countries=US,CA,AF&ip_address=8.8.8.8&account_status=1¬es=Here+is+where+I%27m+putting+my+notes
Sample XML Response:
<string>Affiliate Added Successfully</string>