GET api/2.0/portal/tariff This function requires authentication

Description

Returns the current portal tariff.

Parameters

This method doesn't have any parameters.

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

Tariff

Example Response

application/json

{
  "status": 0,
  "response": {
    "QuotaId": 1,
    "State": 1,
    "DueDate": "2019-07-26T00:00:00",
    "DelayDueDate": "2019-07-26T00:00:00",
    "LicenseDate": "2019-07-26T00:00:00",
    "Autorenewal": true,
    "Prolongable": true
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <QuotaId>1</QuotaId>
    <State>1</State>
    <DueDate>2019-07-26T00:00:00</DueDate>
    <DelayDueDate>2019-07-26T00:00:00</DelayDueDate>
    <LicenseDate>2019-07-26T00:00:00</LicenseDate>
    <Autorenewal>True</Autorenewal>
    <Prolongable>True</Prolongable>
  </response>
</result>