Submit a Ticket My Tickets
Welcome
Login  Sign up

GET BlacklistReasons API Version 1

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

https://demo-new.cakemarketing.com/api/1/get.asmx/LeadInfo?api_key=3YmDJeT3VHTFhDqAjr2OlQ&lead_id=77C352B8&vertical_id=0

 

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

Did you find it helpful? Yes No

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