WSDL Page: http://<your_domain_here>/affiliates/api/2/offers.asmx?op=GetMediaTypeCategories
HTTP GET (plus Parameters):
GET /affiliates/api/2/offers.asmx/GetMediaTypeCategories?
api_key=string
&affiliate_id=string
Parameter Summary:
api_key=Cake Affiliate API Key
affiliate_id=Affiliate ID
Sample HTTP GET Call:
/affiliates/api/2/offers.asmx/GetMediaTypeCategories?api_key=mxjy8MkUT6j&affiliate_id=4581
Sample XML Response:
<media_type_category_response>
<success>true</success>
<row_count>4</row_count>
<media_type_categories>
<media_type_category>
<category_id>1</category_id>
<category_name>Display</category_name>
</media_type_category>
<media_type_category>
<category_id>2</category_id>
<category_name>Search</category_name>
</media_type_category>
<media_type_category>
<category_id>3</category_id>
<category_name>Email</category_name>
</media_type_category>
<media_type_category>
<category_id>4</category_id>
<category_name>Other</category_name>
</media_type_category>
</media_type_categories>
</media_type_category_response>
Linkback to API Version Tracker: