Loading...

GET   https://api.3seventy.com/api/v2.1/reference/account-attribute-category

Description

Lists all categories for account attributes.

Response Properties application/json

Name string Category Name
Description string Description of category
[
  {
    "Name": "Normal",
    "Description": "Normal attribute",
    "Id": 0
  },
  {
    "Name": "System",
    "Description": "System defined attribute",
    "Id": 1
  },
  {
    "Name": "WhiteLabel",
    "Description": "WhiteLabeling attribute",
    "Id": 2
  },
  {
    "Name": "Permissions",
    "Description": "Permissions attribute",
    "Id": 3
  }
]

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)
{

var context = new T70Context();

var accountAttCatRepo = context.Repository<AccountAttributeCategory>();

var list = accountAttCatRepo.GetAll();

}

}