Trendsic Platform Service

<back to all web services

GetMyTerminologyRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/me/terminology

export class GetMyTerminologyRequest implements IGet
{

    public constructor(init?: Partial<GetMyTerminologyRequest>) { (Object as any).assign(this, init); }
}

export class TenantPlanModule
{
    public Name: string;
    public Status: string;
    public ExpiresAt?: string;
    public MeterKey: string;
    public Used?: number;
    public Allowance?: number;

    public constructor(init?: Partial<TenantPlanModule>) { (Object as any).assign(this, init); }
}

export class GetMyTerminologyResponse
{
    public PackCode: string;
    public Terms: { [index:string]: string; } = {};
    public Features: { [index:string]: boolean; } = {};
    public OutOfPack: string[] = [];
    public WorkspaceSetupCompleted: boolean;
    public Sandbox: boolean;
    public Entitled: { [index:string]: boolean; } = {};
    public Reasons: { [index:string]: string; } = {};
    public Chosen: { [index:string]: boolean; } = {};
    public FeatureModules: { [index:string]: string; } = {};
    public Modules: { [index:string]: TenantPlanModule; } = {};

    public constructor(init?: Partial<GetMyTerminologyResponse>) { (Object as any).assign(this, init); }
}

TypeScript GetMyTerminologyRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv

HTTP + JSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /v1/me/terminology HTTP/1.1 
Host: api.dev.dynamics.trendsic.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	PackCode: String,
	Terms: 
	{
		String: String
	},
	Features: 
	{
		String: False
	},
	OutOfPack: 
	[
		String
	],
	WorkspaceSetupCompleted: False,
	Sandbox: False,
	Entitled: 
	{
		String: False
	},
	Reasons: 
	{
		String: String
	},
	Chosen: 
	{
		String: False
	},
	FeatureModules: 
	{
		String: String
	},
	Modules: 
	{
		String: 
		{
			Name: String,
			Status: String,
			ExpiresAt: 0001-01-01,
			MeterKey: String,
			Used: 0,
			Allowance: 0
		}
	}
}