Jump to: GET Response Notes | API Call Builder
Returns all active offers and cashflow groups (if enabled) that reference a specific TargetRule.
These dependencies are affected whenever a TargetRule is modified.
In order to remove a TargetRule there must not be any active offers or any cashflow rules referencing it.
Name | Type | Description |
---|---|---|
NetworkId | Url | Network ID |
NetworkToken | String | Network token |
Target | String | This calls action target |
Method | String | This calls action method |
rule_id | Integer | The TargetRule.id |
GET Response Notes
Returns an associative array with two indexes: offers, cashflow_groups, each of which
contains objects with 'id' and 'name' representing all the active offers and cashflow groups
that reference the specified targeting rule.
If this brand does not have the enable_cashflow_groups preference enabled, only returns
the offers count.
Return response will be in the following format: array[].