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": "ecf1b5ec-b71b-4d04-93c5-eebdef80a590",
            "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": "ecf1b5ec-b71b-4d04-93c5-eebdef80a590",
            "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": "18356cf9-644b-4b58-aecc-7c1199de9519"
      },
      {
        "properties": [
          {
            "propertyName": "sample string 1",
            "propertyGuid": "ecf1b5ec-b71b-4d04-93c5-eebdef80a590",
            "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": "ecf1b5ec-b71b-4d04-93c5-eebdef80a590",
            "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": "18356cf9-644b-4b58-aecc-7c1199de9519"
      }
    ],
    "previewUrl": "sample string 1",
    "id": 2,
    "guid": "dbb374af-bd72-4a8e-abde-9d0a9aa3f592",
    "hashCode": 4,
    "orientation": 5,
    "thumbnailPath": "sample string 6",
    "extension": "sample string 7",
    "videoType": "sample string 8",
    "title": "sample string 9",
    "expirationDate": "2024-03-29T15:33:56.2374246+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