ScheduleCampaign
Remotely schedules a batch campaign to run at a given time.
EXECUTE Example:
INSERT INTO TokenAggregate#TEMP (TokenName, TokenValue) VALUES ('test', 'testvalue_cdata') INSERT INTO TokenAggregate#TEMP (TokenName, TokenValue) VALUES ('test1', 'testvalue1') EXECUTE ScheduleCampaign TokenAggregate = 'TokenAggregate#TEMP', CampaignId = 1019, CloneToProgramName = 'Program 1'
Input
Name | Type | Required | Description |
CampaignId | String | True | Id of the batch campaign to schedule. |
CloneToProgramName | String | False | Name of the resulting program. |
RunAt | String | False | Datetime to run the campaign at. If unset, the campaign will be run five minutes after the call is made. |
TokenName | String | False | Name of the token. Should be formatted as '{{my.name}}' |
TokenValue | String | False | Value of the token |
TokenAggregate | String | False | List of my tokens to replace during the run of the target campaign. The tokens must be available in a parent program or folder to be replaced during the run |
Result Set Columns
Name | Type | Description |
Success | String | Whether the request succeeded , |