GET BlacklistReasons API Version 1

Updated on 2015-03-25
Current Version: Version 1
Deprecated Version: NA
Requests Allowed: GET&SOAP


Summary:

Returns an array of blacklist reasons.


Resource/WSDL Page:

http://<your_domain_here>/api/1/get.asmx?op=BlacklistReasons


Parameters

api_key
Required
Type: STRING
Length (Max/Min): 50

Must be a valid API key (existing and not expired) 


Example Values: ej7Cjys7pnJzSiMzsgzyth1u3d7PdXn

 **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

http://demo.cakemarketing.com/api/1/get.asmx/BlacklistReasons?api_key=ej7Cjys7pnJzSiMzsgzyth1u3d7PdXn


 

Sample XML Response:

 

<blacklist_reasons_response xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://cakemarketing.com/api/1/">
<success>true</success>
<row_count>5</row_count>
<blacklist_reasons>
<blacklist_reason>
<blacklist_reason_id xmlns="API:id_name_store">4</blacklist_reason_id>
<blacklist_reason_name xmlns="API:id_name_store">On Hold</blacklist_reason_name>
</blacklist_reason>
<blacklist_reason>
<blacklist_reason_id xmlns="API:id_name_store">5</blacklist_reason_id>
<blacklist_reason_name xmlns="API:id_name_store">Pending Results From Scrub</blacklist_reason_name>
</blacklist_reason>
<blacklist_reason>
<blacklist_reason_id xmlns="API:id_name_store">6</blacklist_reason_id>
<blacklist_reason_name xmlns="API:id_name_store">Affiliate On Pause</blacklist_reason_name>
</blacklist_reason>
<blacklist_reason>
<blacklist_reason_id xmlns="API:id_name_store">7</blacklist_reason_id>
<blacklist_reason_name xmlns="API:id_name_store">Fraudulent Traffic</blacklist_reason_name>
</blacklist_reason>
<blacklist_reason>
<blacklist_reason_id xmlns="API:id_name_store">13</blacklist_reason_id>
<blacklist_reason_name xmlns="API:id_name_store">We are Closed!</blacklist_reason_name>
</blacklist_reason>
</blacklist_reasons>
</blacklist_reasons_response>

 


Example Error Messages: 

Error Message

Likely Cause

Invalid API Key

API key does not exist or is expired