Loading...

GET   https://api.3seventy.com/api/v2.1/account/{accountId}/contact/{contactId}/keyword

Description

Lists all keywords on a contact as a set of name value pairs.

Path Parameters

accountId integer Account Id required
contactId integer The contact to which the keywords belong. required

C#


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;

const int contactId = XXXXXX;

var context = new T70Context();

var contactKeywordRepo = context.Repository<ContactKeyword>(new { AccountId = accountId, ContactId = contactId });

var list = contactKeywordRepo.GetAll();

}

}