Loading...

Description

Gets a list of import actions.


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The account which holds the actions. Yes

Response Properties

Property Description
Id The ID of the event.
AccountId The account ID that the action reports under.
Created When this action was first created.
Modified When this action was last modified.
CreatedBy Who initially created this action.
ModifiedBy Who last modified this action
Schedules The list of schedules associated with the action
Url Points to a BLOB url that contains the file to parse.
Subscriptions A list of subscriptions that should be added or modified for each of the contacts in the supplied file.
OverrideSubscription This will override optout to optin

C#
PHP


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

public class Program
{

private static void Main(string[] args)
{

const int accountId = XXXX;

var context = new T70Context();

var actionImportContactRepo = context.Repository<ActionImportContacts>(new { AccountId = accountId });

var list = actionImportContactRepo.GetAll();

}

}

 

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