GET api/SharedCollection/ItemData/{id}?code={code}
Getting the data of the media item added to a shared collection
Request Information
URI Parameters
| Name | Description | Type | Additional 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| Name | Description | Type | Additional 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. |
| Guid | globally unique identifier |
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": "8264f3a5-8444-4900-bc09-af8f95dea963",
"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": "8264f3a5-8444-4900-bc09-af8f95dea963",
"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": "b849101f-900f-46be-8f40-c14e40c46f67"
},
{
"properties": [
{
"propertyName": "sample string 1",
"propertyGuid": "8264f3a5-8444-4900-bc09-af8f95dea963",
"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": "8264f3a5-8444-4900-bc09-af8f95dea963",
"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": "b849101f-900f-46be-8f40-c14e40c46f67"
}
],
"previewUrl": "sample string 1",
"id": 2,
"guid": "aaf6f24f-3d2c-4d13-a13a-21f8724207ad",
"hashCode": 4,
"orientation": 5,
"thumbnailPath": "sample string 6",
"extension": "sample string 7",
"videoType": "sample string 8",
"title": "sample string 9",
"expirationDate": "2025-11-01T04:57:00.1811616+01:00",
"colorLabel": 10,
"formatType": "sample string 11",
"error": "sample string 12",
"success": true,
"errorCode": 14
}
Parameter Information
code
| Property | Description |
|---|---|
| Chars (Char) | |
| Length (Int32) |