Loading...

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

Description

Gets the details for a specific contact.

Path Parameters

accountId integer The account ID that the contact is for. required
contactId integer The ID of the contact. 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 id = XXXX;

var context = new T70Context();

var contactRepo = context.Repository<Contact>(new { AccountId = accountId });

var list = contactRepo.Get(id);

}

}