Submit a Ticket My Tickets
Welcome
Login  Sign up

EXPORT LeadTiers API Version 1

EXPORT LeadTiers API Version 1

Updated on 2016-02-05
Current Version: Version 1
Deprecated Version: N/A
Requests Allowed: GET/SOAP

 

Summary:

Returns an array of Lead Tiers

 

Resource/WSDL Page:

http://<your_domain_here>/api/1/export.asmx?op=LeadTiers

 

Parameters

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

This api_key will provide you with the ability to export Campaigns for your instance. You can obtain this api_key from within CAKE >> Setup >> Permissions in the API Key list.

Example Values: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh

vertical_id
Required
Type: INTEGER
Length (Max/Min): N/A

Obtained via GET Verticals API. Pass 0 for all verticals

 

Example Values: 1234

**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/export.asmx/LeadTiers?api_key=3YmDJeT3VHTFhDqAjr2OlQ&vertical_id=223 



Sample XML Response:

 

<lead_tiers_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>1</row_count>
<lead_tiers>
<lead_tier>
<vertical_id>223</vertical_id>
<vertical_name>JOHN DYE TEST</vertical_name>
<lead_tier_id>33</lead_tier_id>
<lead_tier_name>has SSN</lead_tier_name>
<lead_tier_group_id xsi:nil="true"/>
<lead_tier_price>25.0000</lead_tier_price>
<lead_tier_is_active>true</lead_tier_is_active>
<lead_tier_filters>
<lead_tier_filter>
<lead_tier_filter_id>131266</lead_tier_filter_id>
<lead_tier_filter_name>has SSN</lead_tier_filter_name>
<lead_tier_filter_value>1</lead_tier_filter_value>
</lead_tier_filter>
</lead_tier_filters>
</lead_tier>
</lead_tiers>
</lead_tiers_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.