POST api/Tenant/Tenant

Creates a new Tenanat Only for SuperAdmin

Request Information

URI Parameters

None.

Body Parameters

Tenant
NameDescriptionTypeAdditional information
TenantId

globally unique identifier

None.

TenantName

string

None.

ContactPerson

string

None.

ContactPersonPhone

string

None.

ContactPersonEmail

string

None.

Address

string

None.

PostalAddress

string

None.

PostalCode

string

None.

OrgId

globally unique identifier

None.

Request Formats

application/json, text/json

Sample:
{
  "tenantId": "80b31f7d-472f-45ee-a33f-6db54fa80a38",
  "tenantName": "sample string 2",
  "contactPerson": "sample string 3",
  "contactPersonPhone": "sample string 4",
  "contactPersonEmail": "sample string 5",
  "address": "sample string 6",
  "postalAddress": "sample string 7",
  "postalCode": "sample string 8",
  "orgId": "1f625639-3d53-47aa-a7f1-501a69462281"
}

application/xml, text/xml

Sample:
<Tenant xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/oiback.Classes">
  <Address>sample string 6</Address>
  <ContactPerson>sample string 3</ContactPerson>
  <ContactPersonEmail>sample string 5</ContactPersonEmail>
  <ContactPersonPhone>sample string 4</ContactPersonPhone>
  <OrgId>1f625639-3d53-47aa-a7f1-501a69462281</OrgId>
  <PostalAddress>sample string 7</PostalAddress>
  <PostalCode>sample string 8</PostalCode>
  <TenantId>80b31f7d-472f-45ee-a33f-6db54fa80a38</TenantId>
  <TenantName>sample string 2</TenantName>
</Tenant>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.