WSDL Page:  http://<your_domain_here>/affiliates/api/2/offers.asmx?op=GetFeaturedOffer

 

Parameter Summary:

api_key / STRING = Affiliate API Key {See auth.asmx > Login}

affiliate_id / INT = Affiliate ID {See auth.asmx > Login}

 

Parameter Types:

api_key - ID

affiliate_id - ID

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/offers.asmx/GetFeaturedOffer?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969 

Sample XML Response:

<featured_offer_response>
  <success>true</success>
  <row_count>1</row_count>
  <featured_offer>
    <offer_id>1000078</offer_id>
    <offer_contract_id>690</offer_contract_id>
    <campaign_id xsi:nil="true"/>
    <offer_name>Free Twizzlers</offer_name>
    <vertical_name>Beauty </vertical_name>
    <offer_status>
      <status_id>1</status_id>
      <status_name>Active</status_name>
    </offer_status>
    <payout>$30.00</payout>
    <price_format>Fixed</price_format>
    <preview_link/>
    <thumbnail_image_url/>
    <expiration_date xsi:nil="true"/>
  </featured_offer>
</featured_offer_response>