Loading...

Description

Gets a list of push actions on the account


Request URL

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/action-pushCampaign

Request Properties

Parameter Description Mandatory
accountId The account Id which owns the actions. Yes

Response Properties

Property Description
Channels The channels to send the campaign on.
Targets A list of targets to send to. These can be a mix of phone numbers, emails, or contact IDs.
TargetsUrl A URL pointing to a list of targets to send to.
ContactListIds The contact list IDs that the campaign was pushed to.
ExcludeListIds A contact lists to suppress from contacts to push to.
CampaignId The ID of the campaign that was pushed.
MediaId The ID of the media file that was pushed
Message Optional message pushed out. (BASIC Campaigns only)
From From Address for email channel
Subject Subject of the email.
IgnoreSingleUse Check if the event is Single Use Push Event.
ForceOptIn Opt an existing contact into the subscription if opted out
StatusId Status of an action

C#
PHP


using System;
using System.Collections.Generic;
using ThreeSeventy.Vector.Client;
using ThreeSeventy.Vector.Client.Models;

 

class Program
{

     static void Main(string[] args)
     {
       const string accountId = "XXXXXXXXXXXXXXXX";

       var context = new T70Context();

       var actionPushRepo = context.Repository<ActionPushCampaign>(new { AccountId = accountId });

       var list = actionPushRepo.GetAll();
      }

}

Stay tuned for JAVA code snippet
Stay tuned for RUBY code snippet
Stay tuned for PHP code snippet