EXPORT RoutingRules API Version 1
Updated on 2018-08-22
Current Version: Version 1
Requests Allowed: GET&SOAP
Summary:
Returns routing rules set within CAKE which is found under Routing section of the Lead Gen page
Resource/WSDL Page:
http://<your_domain_here>/api/1/EXPORT.asmx?op=RoutingRules
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 Value: Fo35NRAqvFLXoZxqB4aViaiYM7iVMhh |
buyer_contract_id Required Type: INT Length (Max/Min): NA | If passing anything <= 0 the result will include all buyer contracts. Example Values: 9 |
buyer_id Required Type: INT Length (Max/Min): NA | If passing anything <= 0 the result will include all buyer contracts. Example Values: 79 |
offer_id Required Type: INTEGER Length (Max/Min): N/A | This is the identifier for a unique Offer. Use EXPORT Offer API 0 = ALL Offer IDs Example Values: 1298 |
advertiser_id Required Type: INT Length (Max/Min): NA | If passing anything <= 0 the result will include all advertisers. If the advertiser ID does not exist, it will return an empty array instead of an error. Example Values: 90079 |
affiliate_id Required Type: INTEGER Length (Max/Min): N/A | This is the identifier for a unique Affiliate. If passing anything <= 0 the result will include all affiliates. Example Values: 12 |
sub_affiliate_id Optional Type: String Length (Max/Min): N/A | This is the identifier for a unique Sub-Affiliate. Leave empty to pass on field Example Values: 1235 |
campaign_id Required Type: INT Length (Max/Min): N/A | This is the identifier for a unique campaign. Must be non-zero if site_offer_id and source_affiliate_id are both set to 0 Example Values: 1234 |
vertical_id Required Type: INT Length (Max/Min): NA | If passing anything <= 0 the result will include all verticals. Example Values: 799 |
routing_rule_type_id Required Type INT Length (Max/Min): NA | ID that represents routing type in your CAKE instance, Pass 0 to extract all types 1 = Block 2 = Allow buyer to only get leads from this source 3 = Allow source to only send leads to this buyer |
start_at_row Required Type: INT Length (Max/Min): NA | Must pass at least 0 as value, which means start at the beginning of the data set. Example Values: 0 |
row_limit Required Type: INT Length (Max/Min): NA | Must pass at least 0 as value, which means no limit Example Values: 0 |
sort_field Required Type: STRING Length (Max/Min): NA | Accepts 'routing_rule_id' or 'routing_rule_type' Example Values: routing_rule_type |
sort_descending Required Type: BOOL Length (Max/Min): NA | Example Values: True, False |
Example Request:
Sample XML Response: