GET api/sharedCollection/itemdata/{code}/{id}

Getting the data of the media item added to a shared collection

Request Information

URI Parameters

NameDescriptionTypeAdditional information
code

Shared collection code

string

Required

id

Media Item ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Result containing the data of the media item

ItemData
NameDescriptionTypeAdditional information
Properties

Media item properties sections

Collection of PropertySection

None.

PreviewUrl

Deprecated property. It will be removed in the upcoming versions.

string

None.

Id

Media Item ID

integer

None.

HashCode

Media Item hash

integer

None.

Orientation

Image orientation

integer

None.

ThumbnailPath

Deprecated property. It will be removed in the upcoming versions.

string

None.

Extension

File extension

string

None.

VideoType

Deprecated property. It will be removed in the upcoming versions.

string

None.

Title

Media Item title

string

None.

ExpirationDate

License expiration date

date

None.

ColorLabel

Deprecated property. It will be removed in the upcoming versions.

integer

None.

FormatType

File format

string

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:
{
  "properties": [
    {
      "properties": [
        {
          "propertyName": "sample string 1",
          "propertyGuid": "8b521bdc-6a94-4d50-90c4-774918e89231",
          "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": "8b521bdc-6a94-4d50-90c4-774918e89231",
          "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": "9adee2a4-68f3-4d78-915c-a1d0c4bb72d8"
    },
    {
      "properties": [
        {
          "propertyName": "sample string 1",
          "propertyGuid": "8b521bdc-6a94-4d50-90c4-774918e89231",
          "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": "8b521bdc-6a94-4d50-90c4-774918e89231",
          "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": "9adee2a4-68f3-4d78-915c-a1d0c4bb72d8"
    }
  ],
  "previewUrl": "sample string 1",
  "id": 2,
  "hashCode": 3,
  "orientation": 4,
  "thumbnailPath": "sample string 5",
  "extension": "sample string 6",
  "videoType": "sample string 7",
  "title": "sample string 8",
  "expirationDate": "2023-03-26T17:25:53.7873864+02:00",
  "colorLabel": 9,
  "formatType": "sample string 10",
  "error": "sample string 11",
  "success": true,
  "errorCode": 13
}

Parameter Information

code

Property Description
Length (Int32)

				
Chars (Char)