POST api/ItemData/SetLayout

Setting the Properties panel for the current user

Request Information

URI Parameters

None.

Body Parameters

Object containing a list of tags to be displayed in the Properties panel

ObjResultOfItemData
NameDescriptionTypeAdditional information
Data

ItemData

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "data": {
    "properties": [
      {
        "properties": [
          {
            "propertyName": "sample string 1",
            "propertyGuid": "6ea15c85-47d0-40c9-b3b4-2ce9c9b1e19d",
            "propertyValue": "sample string 3",
            "values": [
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              },
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              }
            ],
            "isMultiplyValues": true,
            "propertyType": "sample string 5",
            "readOnly": true,
            "canAssign": true
          },
          {
            "propertyName": "sample string 1",
            "propertyGuid": "6ea15c85-47d0-40c9-b3b4-2ce9c9b1e19d",
            "propertyValue": "sample string 3",
            "values": [
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              },
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              }
            ],
            "isMultiplyValues": true,
            "propertyType": "sample string 5",
            "readOnly": true,
            "canAssign": true
          }
        ],
        "name": "sample string 1",
        "id": "48ba04b3-b66c-4c7a-a4d7-7739f3846502"
      },
      {
        "properties": [
          {
            "propertyName": "sample string 1",
            "propertyGuid": "6ea15c85-47d0-40c9-b3b4-2ce9c9b1e19d",
            "propertyValue": "sample string 3",
            "values": [
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              },
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              }
            ],
            "isMultiplyValues": true,
            "propertyType": "sample string 5",
            "readOnly": true,
            "canAssign": true
          },
          {
            "propertyName": "sample string 1",
            "propertyGuid": "6ea15c85-47d0-40c9-b3b4-2ce9c9b1e19d",
            "propertyValue": "sample string 3",
            "values": [
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              },
              {
                "text": "sample string 1",
                "ancestors": "sample string 2",
                "id": 3,
                "isSelected": true,
                "isDefaultValue": true,
                "hasTagLinks": true,
                "tagId": 7,
                "isApproved": true,
                "rawValue": {},
                "tagName": "sample string 10",
                "itemsCount": 11,
                "location": "sample string 12",
                "hasChilds": true,
                "count": 14
              }
            ],
            "isMultiplyValues": true,
            "propertyType": "sample string 5",
            "readOnly": true,
            "canAssign": true
          }
        ],
        "name": "sample string 1",
        "id": "48ba04b3-b66c-4c7a-a4d7-7739f3846502"
      }
    ],
    "previewUrl": "sample string 1",
    "id": 2,
    "guid": "3329c647-ea93-417e-83a3-fce1afa790cc",
    "hashCode": 4,
    "orientation": 5,
    "thumbnailPath": "sample string 6",
    "extension": "sample string 7",
    "videoType": "sample string 8",
    "title": "sample string 9",
    "expirationDate": "2024-12-04T20:11:06.7418222+01:00",
    "colorLabel": 10,
    "formatType": "sample string 11",
    "error": "sample string 12",
    "success": true,
    "errorCode": 14
  },
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

Response Information

Resource Description

Result containing the flag of successful operation

ObjResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

Parameter Information

data

Property Description
Data (ItemData)

				
Error (String)
Error description
Success (Boolean)
Flag of successful operation
ErrorCode (Int32)
Error code