GET CapTypes API
Updated on 2014-05-21
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP
Summary:
Returns an array of cap types.
Resource/WSDL Page:
http://<your_domain_here>/api/1/get.asmx?op=CapTypes
Parameters
api_key | Must be a valid API key (existing and not expired) Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh |
**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 | https://demo-new.cakemarketing.com/api/1/get.asmx/CapTypes?api_key=3YmDJeT3VHTFhDqAjr2OlQ |
Sample XML Response:
<cap_types_response>
<success>true</success>
<row_count>2</row_count>
<cap_types>
<cap_type>
<cap_type_id>1</cap_type_id>
<cap_type_name>Click</cap_type_name>
</cap_type>
<cap_type>
<cap_type_id>2</cap_type_id>
<cap_type_name>Conversion</cap_type_name>
</cap_type>
</cap_types>
</cap_types_response>
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired |