System - Update tabs collection
API Url
Used for updating one or more tabs (name, visibility). It's not updating web-parts configurations added to a tab!
PUT
http://localhost:16010/ProMarkREST/rest/System/tabs
Permissions: user
Parameter
| Field | Type | Description |
|---|---|---|
| request | Object | Main object containing the request data. |
| data | Object | Object containg data to be uploaded. |
| tabs | Object[] | Collection of tabs. |
| id | Number | Tab identifier (not updatable). |
| name | String | Name of the tab. |
| visible | Boolean | true = Tab is visible on the user. |
Request example:
{"request": {"data": {"tabs":[{"id": 1,"name": "Home","visible": true}]}}}
Success 200
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
messageoptional | Object | Object containing response messages. |
| code | Number | Message code. |
| text | String | Message text. |
| type | String | Type of message. "warning""info" |
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |