Loading...

Description

Gets all values set on an account. Note that inherited values are also returned. The ID of the account which the value is directly set is returned for reference.


Request URL

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

Request Properties

Parameter Description Mandatory
accountId The account to check. Yes

Response Properties

Property Description
Id The ID of the attribute definition
AccountId The ID of the account this attribute is directly set on.
Name The name of the attribute
Value The value of the attribute

C#
PHP


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;

var context = new T70Context();

var accountAttributeRepo = context.Repository<AccountAttribute>(new { AccountId = accountId });

var attributeList = accountAttributeRepo.GetAll();

}

}

 

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