Method to set the information of a trigger.
Resource URL
https://api.wbsrvc.com/Trigger/SetInfo/
Method
POST
Parameters
user_key Required |
User Key of the user who initiates the call. Type: string |
trigger_id Required |
ID of the trigger. Type: integer |
campaign_id Optional |
ID of the campaign you want to associate the trigger with. Type: integer |
list_id Optional |
ID of the list you want to associate the trigger with. Type: integer |
name Optional |
Name of the trigger. Type: string |
action Optional |
Action of the trigger. Type: string – possible value ‘opt-in’, ‘douopt-in’, ‘opt-out’, ‘specific’, ‘annual’, ” |
encoding Optional |
Encoding to be used for the trigger. Type: string – possible value ‘utf-8’, ‘iso-8859-x’ |
transfer_encoding Optional |
Transfer encoding to be used for the trigger. Type: string – possible value ‘quoted-printable’, ‘base64’ |
subject Optional |
Subject of the trigger. Type: string |
sender_email Optional |
Email address of the sender of the trigger. Type: string |
sender_name Optional |
Name of the sender of the trigger. Type: string |
reply_to Optional |
Email address of the reply-to of the trigger. Type: string |
html_message Optional |
HTML content of the trigger. Type: string |
text_message Optional |
Text content of the trigger. Type: string |
opening_stats Optional |
Track the opens in the HTML version. Type: string – possible value ‘true’, ‘false’ |
clickthru_html Optional |
Track the clicks in the HTML version. Type: string – possible value ‘true’, ‘false’ |
clickthru_text Optional |
Track the clicks in the text version. Type: string – possible value ‘true’, ‘false’ |
tracking_params Optional |
Additional tracking parameters for links. Type: string |
delay Optional |
Delay (in seconds) to be used when the trigger is unleashed. Type: integer |
status Optional |
Status of the trigger. Type: string – possible value ‘active’, ‘inactive’ |
date_field Optional |
Datetime field to be used for trigger with action ‘specific’ or ‘annual’. Type: string |
client_id Optional |
Client ID of the client in which the trigger is located. Type: integer |