Returns the current portal.
This method doesn't have any parameters.
GET api/2.0/portal Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json
Portal
application/json
{ "status": 0, "response": { "TenantId": 1, "TenantAlias": "TenantAlias", "MappedDomain": "MappedDomain", "Version": 1, "VersionChanged": "2019-07-26T00:00:00", "TenantDomain": "TenantDomain", "HostedRegion": "HostedRegion", "Name": "Name", "Language": "Language", "TimeZone": "TimeZone", "TrustedDomains": [ "TrustedDomains" ], "TrustedDomainsType": 1, "OwnerId": "38c0f464-f1e7-493e-8d95-dc4ee8ee834a", "CreatedDateTime": "2019-07-26T00:00:00", "LastModified": "2019-07-26T00:00:00", "Status": 1, "StatusChangeDate": "2019-07-26T00:00:00", "PartnerId": "PartnerId", "AffiliateId": "AffiliateId", "Campaign": "Campaign", "PaymentId": "PaymentId", "Industry": 1, "Spam": true, "Calls": true } }
text/xml
<result> <status>0</status> <response> <TenantId>1</TenantId> <TenantAlias>TenantAlias</TenantAlias> <MappedDomain>MappedDomain</MappedDomain> <Version>1</Version> <VersionChanged>2019-07-26T00:00:00</VersionChanged> <TenantDomain>TenantDomain</TenantDomain> <HostedRegion>HostedRegion</HostedRegion> <Name>Name</Name> <Language>Language</Language> <TimeZone>TimeZone</TimeZone> <TrustedDomains>TrustedDomains</TrustedDomains> <TrustedDomainsType>1</TrustedDomainsType> <OwnerId>38c0f464-f1e7-493e-8d95-dc4ee8ee834a</OwnerId> <CreatedDateTime>2019-07-26T00:00:00</CreatedDateTime> <LastModified>2019-07-26T00:00:00</LastModified> <Status>1</Status> <StatusChangeDate>2019-07-26T00:00:00</StatusChangeDate> <PartnerId>PartnerId</PartnerId> <AffiliateId>AffiliateId</AffiliateId> <Campaign>Campaign</Campaign> <PaymentId>PaymentId</PaymentId> <Industry>1</Industry> <Spam>True</Spam> <Calls>True</Calls> </response> </result>