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

 

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/account.asmx/GetPriceFormats?api_key=OIohoAIOxMHZeo7EjB2IQg&affiliate_id=5969

 

Sample XML Response:

<price_format_response>
  <success>true</success>
  <row_count>5</row_count>
  <price_formats>
    <price_format>
      <format_id>1</format_id>
      <format_name>CPA</format_name>
    </price_format>
    <price_format>
      <format_id>2</format_id>
      <format_name>CPC</format_name>
    </price_format>
    <price_format>
      <format_id>3</format_id>
      <format_name>CPM</format_name>
    </price_format>
    <price_format>
      <format_id>4</format_id>
      <format_name>Fixed</format_name>
    </price_format>
    <price_format>
      <format_id>5</format_id>
      <format_name>RevShare</format_name>
    </price_format>
  </price_formats>
</price_format_response>