Sets a version with the ID specified in the request to the current tenant.
Name | Description | Type | Example |
DefaultProductID
sent in body
|
Default product ID | System.Guid | |
Lng
sent in body
|
Language | System.String | |
TimeZoneID
sent in body
|
Time zone ID | System.String | |
Theme
sent in body
|
Theme | System.String | |
Show
sent in body
|
Specifies whether to show tips for the user or not | System.Boolean | |
VersionId
sent in body
|
Version ID | System.Int32 | |
OwnerId
sent in body
|
Owner ID | System.Guid |
PUT api/2.0/settings/version Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "DefaultProductID": "9924256A-739C-462b-AF15-E652A3B1B6EB", "Lng": "some text", "TimeZoneID": "some text", "Theme": "some text", "Show": true, "VersionId": 1234, "OwnerId": "9924256A-739C-462b-AF15-E652A3B1B6EB" }
List of availibe portal versions including the current version
application/json
{ "status": 0, "response": { "Current": 1234 } }
text/xml
<result> <status>0</status> <response> <Current>1234</Current> </response> </result>