GET TrackingDomains API
Updated on 2014-05-21
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of tracking domains.
Resource/WSDL Page:
http://<your_domain_here>/api/1/get.asmx?op=TrackingDomains
Parameters
api_key | Must be a valid API key (existing and not expired) Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh |
domain_type | Accepts "cookie","primary_cookie","redirect" or "all" |
**Note all optional parameters still need to be passed through in the actual call. These parameters do not need a value (therefore you can use a null value).
Example Request
GET |
Sample XML Response:
<?xml version="1.0" encoding="utf-8"?>
<tracking_domains_response xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://cakemarketing.com/api/1/">
<success>true</success>
<row_count>1</row_count>
<tracking_domains>
<tracking_domain>
<domain_name>andytrk.com</domain_name>
<domain_type>redirect</domain_type>
</tracking_domain>
</tracking_domains>
</tracking_domains_response>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |