GET api/MediaItems/Tray

User's tray

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Returns list of items

Items
NameDescriptionTypeAdditional information
MediaItems

Items list

Collection of MediaItem

None.

TotalCount

Total number of items in the list

integer

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "mediaItems": [
    {
      "uniqueId": 1,
      "id": 2,
      "hashCode": 3,
      "name": "sample string 4",
      "fileName": "sample string 5",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "dcd16d69-ea18-45ec-8533-858bc7566eb3"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "dcd16d69-ea18-45ec-8533-858bc7566eb3"
        }
      ],
      "mediaFormat": "sample string 6",
      "orientation": 7,
      "versionControlState": 8,
      "colorLabel": 9,
      "width": 10,
      "height": 11,
      "fileSize": 12,
      "formatType": "sample string 13",
      "videoType": "sample string 14",
      "expirationDate": "2021-09-24T22:42:26.0221837+02:00",
      "thumbnailPath": "sample string 15",
      "videoPreview": "sample string 16",
      "status": 17
    },
    {
      "uniqueId": 1,
      "id": 2,
      "hashCode": 3,
      "name": "sample string 4",
      "fileName": "sample string 5",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "dcd16d69-ea18-45ec-8533-858bc7566eb3"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "b2cc097b-5d9a-4e4a-a413-88c285f0015c",
              "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": "dcd16d69-ea18-45ec-8533-858bc7566eb3"
        }
      ],
      "mediaFormat": "sample string 6",
      "orientation": 7,
      "versionControlState": 8,
      "colorLabel": 9,
      "width": 10,
      "height": 11,
      "fileSize": 12,
      "formatType": "sample string 13",
      "videoType": "sample string 14",
      "expirationDate": "2021-09-24T22:42:26.0221837+02:00",
      "thumbnailPath": "sample string 15",
      "videoPreview": "sample string 16",
      "status": 17
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}