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
ObjResultOfItemDataName | Description | Type | Additional 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": "8beac6a2-fdce-4f3f-8d86-d16db7e0f17d", "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": "8beac6a2-fdce-4f3f-8d86-d16db7e0f17d", "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": "c930e696-9625-4d3b-9ef2-40d543a1e9de" }, { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "8beac6a2-fdce-4f3f-8d86-d16db7e0f17d", "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": "8beac6a2-fdce-4f3f-8d86-d16db7e0f17d", "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": "c930e696-9625-4d3b-9ef2-40d543a1e9de" } ], "previewUrl": "sample string 1", "id": 2, "guid": "a5b1ee18-e2ce-4fbd-82eb-f45e177d71c9", "hashCode": 4, "orientation": 5, "thumbnailPath": "sample string 6", "extension": "sample string 7", "videoType": "sample string 8", "title": "sample string 9", "expirationDate": "2024-04-27T01:05:41.8582784+02: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
ObjResultOfBooleanName | Description | Type | Additional 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 |