Next Topic

Previous Topic

Book Contents

Add Tenant

Adds a tenant partition, including activated modules, activated roletypes, and license limits.

POST /tenantmanagement/tenant

Headers

Model Schemas

Field

Datatype

Filterable

Sortable

Active

boolean

 

 

Suspended

boolean

 

 

Id

decimal

 

 

Ref

string

 

 

Type

string

 

 

TimeZoneOff

int

 

 

Attributes

string

 

 

Field

Datatype

Filterable

Sortable

DataType

decimal

 

 

Name

int

 

 

StringValue

int

 

 

DateValue

int

 

 

Field

Datatype

Filterable

Sortable

zzValId

Int32

 

 

LicenseType

Int32

 

 

Limit

Decimal

 

 

zzVal

String

 

 

Sample Response Model

{
  "TenantUser": {
    "UserName": "string",
    "HashedPassword": "string",
    "Password": "string",
    "Email": "string",
    "ScopeRef": "string",
    "RoleRef": "string"
  },
  "ModuleIds": [
    0
  ],
  "LicenseValues": [
    {
      "DataType": 0,
      "Name": "string",
      "StringValue": "string",
      "DateValue": "2016-11-01T16:00:12.655Z",
      "zzValId": 0,
      "LicenseType": 0,
      "Limit": 0,
      "zzVal": "string"
    }
  ],
  "NamedRoleTypeLimits": [
    {
      "RoleName": "string",
      "RoleType": 0,
      "Limit": 0
    }
  ],
  "Id": 0,
  "Ref": "string",
  "Type": "string",
  "TimeZoneOffset": 0,
  "Attributes": {}
}