POST api/Tenant/Tenant
Creates a new Tenanat Only for SuperAdmin
Request Information
URI Parameters
None.
Body Parameters
Tenant| Name | Description | Type | Additional 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": "76e2698c-482e-461c-abb7-0079b9481004",
"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": "dbb6106b-e730-42ad-bfe9-382986ae64e9"
}
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>dbb6106b-e730-42ad-bfe9-382986ae64e9</OrgId> <PostalAddress>sample string 7</PostalAddress> <PostalCode>sample string 8</PostalCode> <TenantId>76e2698c-482e-461c-abb7-0079b9481004</TenantId> <TenantName>sample string 2</TenantName> </Tenant>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.