| GET,OPTIONS | /v1/me/terminology |
|---|
import Foundation
import ServiceStack
public class GetMyTerminologyRequest : IGet, Codable
{
required public init(){}
}
public class GetMyTerminologyResponse : Codable
{
public var packCode:String
public var terms:[String:String] = [:]
public var features:[String:Bool] = [:]
public var outOfPack:[String] = []
public var workspaceSetupCompleted:Bool
public var entitled:[String:Bool] = [:]
public var reasons:[String:String] = [:]
public var chosen:[String:Bool] = [:]
public var featureModules:[String:String] = [:]
public var modules:[String:TenantPlanModule] = [:]
required public init(){}
}
public class TenantPlanModule : Codable
{
public var name:String
public var status:String
public var expiresAt:Date?
public var meterKey:String
public var used:Int?
public var allowance:Int?
required public init(){}
}
Swift GetMyTerminologyRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"PackCode":"String","Terms":{"String":"String"},"Features":{"String":false},"OutOfPack":["String"],"WorkspaceSetupCompleted":false,"Entitled":{"String":false},"Reasons":{"String":"String"},"Chosen":{"String":false},"FeatureModules":{"String":"String"},"Modules":{"String":{"Name":"String","Status":"String","ExpiresAt":"0001-01-01T00:00:00.0000000","MeterKey":"String","Used":0,"Allowance":0}}}