POST api/2.0/settings/customnavigation/create
Adds a custom navigation item with the parameters specified in the request.
Name |
Description |
Type |
Example |
Id
sent in body
|
ID
|
System.Guid
|
|
Label
sent in body
|
Label
|
System.String
|
|
Url
sent in body
|
URL
|
System.String
|
|
BigImg
sent in body
|
Big image
|
System.String
|
|
SmallImg
sent in body
|
Small image
|
System.String
|
|
ShowInMenu
sent in body
|
Show in menu or not
|
System.Boolean
|
|
ShowOnHomePage
sent in body
|
Show on home page or not
|
System.Boolean
|
|
POST api/2.0/settings/customnavigation/create
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
{
"Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"Label": "some text",
"Url": "some text",
"BigImg": "some text",
"SmallImg": "some text",
"ShowInMenu": true,
"ShowOnHomePage": true
}
application/json
{
"status": 0,
"response": {
"Id": "9924256A-739C-462b-AF15-E652A3B1B6EB",
"Label": "some text",
"Url": "some text",
"BigImg": "some text",
"SmallImg": "some text",
"ShowInMenu": true,
"ShowOnHomePage": true
}
}
text/xml
<result>
<status>0</status>
<response>
<Id>9924256A-739C-462b-AF15-E652A3B1B6EB</Id>
<Label>some text</Label>
<Url>some text</Url>
<BigImg>some text</BigImg>
<SmallImg>some text</SmallImg>
<ShowInMenu>True</ShowInMenu>
<ShowOnHomePage>True</ShowOnHomePage>
</response>
</result>