GET api/2.0/portal This function requires authentication

Description

Returns the current portal.

Parameters

This method doesn't have any parameters.

Example
GET api/2.0/portal
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Current portal information

Example Response

application/json

{
  "status": 0,
  "response": {
    "AffiliateId": "some text",
    "TenantAlias": "some text",
    "Calls": true,
    "Campaign": "some text",
    "CreationDateTime": "2008-04-10T06-30-00.000Z",
    "HostedRegion": "some text",
    "TenantId": 1234,
    "Language": "some text",
    "LastModified": "2008-04-10T06-30-00.000Z",
    "MappedDomain": "some text",
    "Name": "some text",
    "OwnerId": "9924256A-739C-462b-AF15-E652A3B1B6EB",
    "PaymentId": "some text",
    "Spam": true,
    "StatusChangeDate": "2008-04-10T06-30-00.000Z",
    "TimeZone": "some text",
    "TrustedDomains": [
      "some text"
    ],
    "TrustedDomainsRaw": "some text",
    "TrustedDomainsType": "None",
    "Version": 1234,
    "VersionChanged": "2008-04-10T06-30-00.000Z"
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <AffiliateId>some text</AffiliateId>
    <TenantAlias>some text</TenantAlias>
    <Calls>True</Calls>
    <Campaign>some text</Campaign>
    <CreationDateTime>2008-04-10T06-30-00.000Z</CreationDateTime>
    <HostedRegion>some text</HostedRegion>
    <TenantId>1234</TenantId>
    <Language>some text</Language>
    <LastModified>2008-04-10T06-30-00.000Z</LastModified>
    <MappedDomain>some text</MappedDomain>
    <Name>some text</Name>
    <OwnerId>9924256A-739C-462b-AF15-E652A3B1B6EB</OwnerId>
    <PaymentId>some text</PaymentId>
    <Spam>True</Spam>
    <StatusChangeDate>2008-04-10T06-30-00.000Z</StatusChangeDate>
    <TimeZone>some text</TimeZone>
    <TrustedDomains>[
  "some text"
]</TrustedDomains>
    <TrustedDomainsRaw>some text</TrustedDomainsRaw>
    <TrustedDomainsType>None</TrustedDomainsType>
    <Version>1234</Version>
    <VersionChanged>2008-04-10T06-30-00.000Z</VersionChanged>
  </response>
</result>