Trendsic Platform Service

<back to all web services

GetMyTerminologyRequest

Requires Authentication
The following routes are available for this service:
GET,OPTIONS/v1/me/terminology
namespace CRM.AgencyPlatform.API.Internal

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type GetMyTerminologyRequest() = 
        interface IGet

    [<AllowNullLiteral>]
    type TenantPlanModule() = 
        member val Name:String = null with get,set
        member val Status:String = null with get,set
        member val ExpiresAt:Nullable<DateTime> = new Nullable<DateTime>() with get,set
        member val MeterKey:String = null with get,set
        member val Used:Nullable<Int64> = new Nullable<Int64>() with get,set
        member val Allowance:Nullable<Int32> = new Nullable<Int32>() with get,set

    [<AllowNullLiteral>]
    type GetMyTerminologyResponse() = 
        member val PackCode:String = null with get,set
        member val Terms:Dictionary<String, String> = new Dictionary<String, String>() with get,set
        member val Features:Dictionary<String, Boolean> = new Dictionary<String, Boolean>() with get,set
        member val OutOfPack:ResizeArray<String> = new ResizeArray<String>() with get,set
        member val WorkspaceSetupCompleted:Boolean = new Boolean() with get,set
        member val Sandbox:Boolean = new Boolean() with get,set
        member val Entitled:Dictionary<String, Boolean> = new Dictionary<String, Boolean>() with get,set
        member val Reasons:Dictionary<String, String> = new Dictionary<String, String>() with get,set
        member val Chosen:Dictionary<String, Boolean> = new Dictionary<String, Boolean>() with get,set
        member val FeatureModules:Dictionary<String, String> = new Dictionary<String, String>() with get,set
        member val Modules:Dictionary<String, TenantPlanModule> = new Dictionary<String, TenantPlanModule>() with get,set

F# 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
		}
	}
}