Loading...

POST   https://api.3seventy.com/api/v2.1/account/{accountId}/action/{actionId}/execute

Description

Execute the action.

Path Parameters

accountId integer The account Id which owns the action. required
actionId integer The action to execute. required

C#


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 actionId = XXXXX;

var context = new T70Context();

var actionExecuteRepo = context.Repository<ActionExecute>(new {AccountId = accountId, ActionId = actionId});

actionExecuteRepo.Add();

}

}