Updated on 2016-02-05
Current Version: Version 1
Deprecated Version: N/A
Requests Allowed: GET/SOAP
Summary:
Returns an array of Campaign Lead Tiers
Resource/WSDL Page:
http://<your_domain_here>/api/1/export.asmx?op=CampaignLeadTiers
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 |
campaign_id Required Type: INTEGER Length (Max/Min): N/A | This is the identifier for a unique campaign. Obtained via EXPORT Campaigns API. Pass 0 for all campaigns.
Example Values: 1234 |
offer_id Required Type: INTEGER Length (Max/Min): N/A | This is the identifier for a unique offer. Obtained via EXPORT Offers API. Pass 0 for all offers Example Values: 1234 |
offer_contract_id Required Type: INTEGER Length (Max/Min): N/A | This is the identifier for a unique offer contracts, Obtained via EXPORT Offers API. Pass 0 for all offer contracts Example Values: 1234 |
affiliate_id Required Type: INTEGER Length (Max/Min): N/A | This is the identifier for a unique affiliate. Obtained via EXPORT Affiliates API. Pass 0 for all affiliates Example Values: 1234 |
account_status_id Required Type: INTEGER Length (Max/Min): N/A | Obtained via Get AccountStatuses API. Pass 0 for all statuses Example Values: 3 |
media_type_id Required Type: INTEGER Length (Max/Min): 50 | Obtained via GET MediaTypes API. Pass 0 for all media types
Example Values: 7 |
start_at_row Required Type: INTEGER Length (Max/Min): N/A | Skip to begin export at a specific row. pass 0 to start at beginning of data
Example Values: 0
|
row_limit Required Type: INTEGER Length (Max/Min): N/A | Limit the number of rows returned. 0 means no limit
Example Values: 0 |
sort_field Required Type: ENUM Length (Max/Min): N/A | Specify how to sort the data
Example Values: campaign_id or date_created |
sort_descending Required Type: ENUM Length (Max/Min): N/A |
Example Values: true, false
|
**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:
Example Error Messages:
Error Message | Likely Cause |
Invalid API Key | API key does not exist or is expired. |