POST tenant/Register

Request Information

URI Parameters

None.

Body Parameters

TenantsCredentials
NameDescriptionTypeAdditional information
TenantName

string

Required

BusinessContact

integer

Required

TechnicalContact

integer

Required

LinkMethod

integer

Required

IPAddress

string

None.

PasswordPolicy

integer

Required

LDAP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TenantName": "sample string 1",
  "BusinessContact": 2,
  "TechnicalContact": 3,
  "LinkMethod": 4,
  "IPAddress": "sample string 5",
  "PasswordPolicy": 6,
  "LDAP": "sample string 7"
}

text/html

Sample:
{"TenantName":"sample string 1","BusinessContact":2,"TechnicalContact":3,"LinkMethod":4,"IPAddress":"sample string 5","PasswordPolicy":6,"LDAP":"sample string 7"}

application/xml, text/xml

Sample:
<TenantsCredentials xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Tenants">
  <BusinessContact>2</BusinessContact>
  <IPAddress>sample string 5</IPAddress>
  <LDAP>sample string 7</LDAP>
  <LinkMethod>4</LinkMethod>
  <PasswordPolicy>6</PasswordPolicy>
  <TechnicalContact>3</TechnicalContact>
  <TenantName>sample string 1</TenantName>
</TenantsCredentials>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TenantsCredentials'.

Response Information

Resource Description

TenantResults
NameDescriptionTypeAdditional information
TenantMessage

string

None.

TenantUsername

string

None.

TenantPassword

string

None.

TenantCustCode

string

None.

WasSuccessful

boolean

None.

Message

string

None.

RefId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "TenantMessage": "sample string 1",
  "TenantUsername": "sample string 2",
  "TenantPassword": "sample string 3",
  "TenantCustCode": "sample string 4",
  "WasSuccessful": true,
  "Message": "sample string 6",
  "RefId": 7
}

text/html

Sample:
{"TenantMessage":"sample string 1","TenantUsername":"sample string 2","TenantPassword":"sample string 3","TenantCustCode":"sample string 4","WasSuccessful":true,"Message":"sample string 6","RefId":7}

application/xml, text/xml

Sample:
<TenantResults xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Tenants">
  <Message xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">sample string 6</Message>
  <RefId xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">7</RefId>
  <WasSuccessful xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">true</WasSuccessful>
  <TenantCustCode>sample string 4</TenantCustCode>
  <TenantMessage>sample string 1</TenantMessage>
  <TenantPassword>sample string 3</TenantPassword>
  <TenantUsername>sample string 2</TenantUsername>
</TenantResults>