WSDL Page:  http://<your_domain_here>/api/1/export.asmx?op=AffiliateReferrals

 

Parameter Summary:

api_key / STRING = Admin API Key {See get.asmx > GetAPIKey}

referrer_affiliate_id / INT = Referred Affiliate ID ["0" = ALL Affiliates] {See export.asmx > Affiliates}

start_at_row / INT = Starting Row Number [Usually "1", unless doing incremental API Calls]

row_limit / INT = Maximum Rows Returned ["0" = ALL Rows, "100000" = Maximum]

 

Parameter Types:

api_key - ID

referrer_affiliate_id - ID

start_at_row - ID

row_limit - ID

 

Sample GET Call:

http://demo.cakemarketing.com/api/1/export.asmx/AffiliateReferrals?api_key=dNJFmId9rI&referrer_affiliate_id=0&start_at_row=1&row_limit=5

 

Sample XML Response:

<affiliate_referral_export_response>
  <success>true</success>
  <row_count>60</row_count>
  <referrals>
    <referral>
      <referrer_affiliate_id>2037</referrer_affiliate_id>
      <referrer_affiliate_name>404 Capital</referrer_affiliate_name>
      <affiliate_id>2309</affiliate_id>
      <affiliate_name>1 PJ</affiliate_name>
      <flat_fee>true</flat_fee>
      <profit_based>true</profit_based>
      <minimum_threshold>1000.0000</minimum_threshold>
      <payment_amount>50.00</payment_amount>
      <payment_amount_formatted>$50.00</payment_amount_formatted>
      <start_date>2013-02-06T00:00:00</start_date>
      <end_date xsi:nil="true"/>
      <currency>
        <currency_id>1</currency_id>
        <currency_name>US Dollar</currency_name>
        <currency_abbr>USD</currency_abbr>
        <currency_symbol>$</currency_symbol>
      </currency>
    </referral>
    <referral>
      <referrer_affiliate_id>1980</referrer_affiliate_id>
      <referrer_affiliate_name>2011 Media</referrer_affiliate_name>
      <affiliate_id>2309</affiliate_id>
      <affiliate_name>1 PJ</affiliate_name>
      <flat_fee>true</flat_fee>
      <profit_based>true</profit_based>
      <minimum_threshold>0.0000</minimum_threshold>
      <payment_amount>50.00</payment_amount>
      <payment_amount_formatted>$50.00</payment_amount_formatted>
      <start_date>2012-05-07T00:00:00</start_date>
      <end_date xsi:nil="true"/>
      <currency>
        <currency_id>1</currency_id>
        <currency_name>US Dollar</currency_name>
        <currency_abbr>USD</currency_abbr>
        <currency_symbol>$</currency_symbol>
      </currency>
    </referral>
    <referral>
      <referrer_affiliate_id>5708</referrer_affiliate_id>
      <referrer_affiliate_name>101 SSI Affiliate</referrer_affiliate_name>
      <affiliate_id>5406</affiliate_id>
      <affiliate_name>123 Main St Marketing</affiliate_name>
      <flat_fee>false</flat_fee>
      <profit_based>false</profit_based>
      <minimum_threshold>50.0000</minimum_threshold>
      <payment_amount>5.00</payment_amount>
      <payment_amount_formatted>5.00 %</payment_amount_formatted>
      <start_date>2012-10-01T00:00:00</start_date>
      <end_date xsi:nil="true"/>
      <currency>
        <currency_id>1</currency_id>
        <currency_name>US Dollar</currency_name>
        <currency_abbr>USD</currency_abbr>
        <currency_symbol>$</currency_symbol>
      </currency>
    </referral>
    <referral>
      <referrer_affiliate_id>5833</referrer_affiliate_id>
      <referrer_affiliate_name>z-Jena Training Affiliate</referrer_affiliate_name>
      <affiliate_id>19</affiliate_id>
      <affiliate_name>143 LLC</affiliate_name>
      <flat_fee>false</flat_fee>
      <profit_based>true</profit_based>
      <minimum_threshold>100.0000</minimum_threshold>
      <payment_amount>8.00</payment_amount>
      <payment_amount_formatted>8.00 %</payment_amount_formatted>
      <start_date>2013-02-07T00:00:00</start_date>
      <end_date xsi:nil="true"/>
      <currency>
        <currency_id>1</currency_id>
        <currency_name>US Dollar</currency_name>
        <currency_abbr>USD</currency_abbr>
        <currency_symbol>$</currency_symbol>
      </currency>
    </referral>
    <referral>
      <referrer_affiliate_id>1222</referrer_affiliate_id>
      <referrer_affiliate_name>1 G</referrer_affiliate_name>
      <affiliate_id>1988</affiliate_id>
      <affiliate_name>2 Lead Media</affiliate_name>
      <flat_fee>false</flat_fee>
      <profit_based>false</profit_based>
      <minimum_threshold>100.0000</minimum_threshold>
      <payment_amount>5.00</payment_amount>
      <payment_amount_formatted>5.00 %</payment_amount_formatted>
      <start_date>2012-09-01T00:00:00</start_date>
      <end_date xsi:nil="true"/>
      <currency>
        <currency_id>1</currency_id>
        <currency_name>US Dollar</currency_name>
        <currency_abbr>USD</currency_abbr>
        <currency_symbol>$</currency_symbol>
      </currency>
    </referral>
  </referrals>
</affiliate_referral_export_response>