GET api/MediaItems?importId={importId}

Getting media items by import session ID

Request Information

URI Parameters

NameDescriptionTypeAdditional information
importId

Import session ID

string

Required

Body Parameters

None.

Response Information

Resource Description

Result containing a list of media items

Items
NameDescriptionTypeAdditional information
MediaItems

A list of media items

Collection of MediaItem

None.

TotalCount

Number of elements in the list

integer

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:
{
  "mediaItems": [
    {
      "uniqueId": 1,
      "id": 2,
      "linkedInCount": 3,
      "linkedOutCount": 4,
      "guid": "633d91c4-a4d7-4c83-8b74-51c715ac296a",
      "hashCode": 6,
      "name": "sample string 7",
      "fileName": "sample string 8",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "71d7c5d1-d601-40cc-b222-503be49336a5"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "71d7c5d1-d601-40cc-b222-503be49336a5"
        }
      ],
      "rawValues": {
        "1d588606-4512-40df-8bfb-8cfda4d37bd3": null,
        "6728ef80-0504-4a10-84e9-db82e2c2231a": null
      },
      "mediaFormat": "sample string 9",
      "orientation": 10,
      "versionControlState": 11,
      "colorLabel": 12,
      "width": 13,
      "height": 14,
      "fileSize": 15,
      "formatType": "sample string 16",
      "videoType": "sample string 17",
      "expirationDate": "2024-12-04T19:46:01.0462074+01:00",
      "thumbnailPath": "sample string 18",
      "videoPreview": "sample string 19",
      "status": 20
    },
    {
      "uniqueId": 1,
      "id": 2,
      "linkedInCount": 3,
      "linkedOutCount": 4,
      "guid": "633d91c4-a4d7-4c83-8b74-51c715ac296a",
      "hashCode": 6,
      "name": "sample string 7",
      "fileName": "sample string 8",
      "values": [
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "71d7c5d1-d601-40cc-b222-503be49336a5"
        },
        {
          "properties": [
            {
              "propertyName": "sample string 1",
              "propertyGuid": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "46b57bc0-bf9b-49a2-b8ac-8ad026634fd5",
              "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": "71d7c5d1-d601-40cc-b222-503be49336a5"
        }
      ],
      "rawValues": {
        "1d588606-4512-40df-8bfb-8cfda4d37bd3": null,
        "6728ef80-0504-4a10-84e9-db82e2c2231a": null
      },
      "mediaFormat": "sample string 9",
      "orientation": 10,
      "versionControlState": 11,
      "colorLabel": 12,
      "width": 13,
      "height": 14,
      "fileSize": 15,
      "formatType": "sample string 16",
      "videoType": "sample string 17",
      "expirationDate": "2024-12-04T19:46:01.0462074+01:00",
      "thumbnailPath": "sample string 18",
      "videoPreview": "sample string 19",
      "status": 20
    }
  ],
  "totalCount": 1,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

Parameter Information

importId

Property Description
Length (Int32)

				
Chars (Char)