Loading...

Description

Stops the action and all it's schedules


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The account Id which owns the action. Yes
actionId The action to stop. Yes

C#
PHP


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


public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

const int actionPushId = XXXX;

var context = new T70Context();

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

var action = actionPushRepo.Get(actionPushId);

actionPushRepo.Delete(action);

}

}

 

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