Submit a Ticket My Tickets
Welcome
Login  Sign up

[Account] GetCountries (V2) - Affiliate

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

 

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/GetCountries?api_key=WGdlFhziHLA&affiliate_id=5969&contact_id=3446

 

Sample XML Response:

<country_response>
  <success>true</success>
  <row_count>18</row_count>
  <countries>
    <country>
      <country_code>AD</country_code>
      <country_name>Andorra</country_name>
    </country>
    <country>
      <country_code>AE</country_code>
      <country_name>United Arab Emirates</country_name>
    </country>
    <country>
      <country_code>AF</country_code>
      <country_name>Afghanistan</country_name>
    </country>
    <country>
      <country_code>AG</country_code>
      <country_name>Antigua and Barbuda</country_name>
    </country>
    <country>
      <country_code>AI</country_code>
      <country_name>Anguilla</country_name>
    </country>
    <country>
      <country_code>AL</country_code>
      <country_name>Albania</country_name>
    </country>
    <country>
      <country_code>AM</country_code>
      <country_name>Armenia</country_name>
    </country>
    <country>
      <country_code>AN</country_code>
      <country_name>Netherlands Antilles</country_name>
    </country>
    <country>
      <country_code>AO</country_code>
      <country_name>Angola</country_name>
    </country>
    <country>
      <country_code>AP</country_code>
      <country_name>Asia/Pacific Region</country_name>
    </country>
    <country>
      <country_code>AQ</country_code>
      <country_name>Antarctica</country_name>
    </country>
    <country>
      <country_code>AR</country_code>
      <country_name>Argentina</country_name>
    </country>
    <country>
      <country_code>AS</country_code>
      <country_name>American Samoa</country_name>
    </country>
    <country>
      <country_code>AT</country_code>
      <country_name>Austria</country_name>
    </country>
    <country>
      <country_code>AU</country_code>
      <country_name>Australia</country_name>
    </country>
    <country>
      <country_code>AW</country_code>
      <country_name>Aruba</country_name>
    </country>
    <country>
      <country_code>AX</country_code>
      <country_name>Aland Islands</country_name>
    </country>
    <country>
      <country_code>AZ</country_code>
      <country_name>Azerbaijan</country_name>
    </country>
  </countries>
</country_response>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.