Loading...

Description

Lists all of the attribute definitions that are available to the supplied account ID.


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The ID of the account to check Yes

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 contactAttDefRepo = context.Repository<ContactAttributeDefinition>(new { AccountId = accountId });

var list = contactAttDefRepo.GetAll();

}

}

 

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