GET api/MediaItems/GetByImportId?importId={importId}
Getting media items by import session ID
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
importId |
Import session ID |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Result containing a list of media items
ItemsName | Description | Type | Additional 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": "1f7d3bb3-0a99-409c-ad20-1a2df3c0a198", "hashCode": 6, "name": "sample string 7", "fileName": "sample string 8", "values": [ { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "acdcf9f1-5e60-43c8-b0f5-f3eed5ec7806" }, { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "acdcf9f1-5e60-43c8-b0f5-f3eed5ec7806" } ], "rawValues": { "6a1a3b1b-f4b5-4cdd-83b5-98c3d4108934": null, "66f4fdfd-041c-44d5-9151-2c8be5af9c89": 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-04-27T00:05:25.3234248+02:00", "thumbnailPath": "sample string 18", "videoPreview": "sample string 19", "status": 20 }, { "uniqueId": 1, "id": 2, "linkedInCount": 3, "linkedOutCount": 4, "guid": "1f7d3bb3-0a99-409c-ad20-1a2df3c0a198", "hashCode": 6, "name": "sample string 7", "fileName": "sample string 8", "values": [ { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "acdcf9f1-5e60-43c8-b0f5-f3eed5ec7806" }, { "properties": [ { "propertyName": "sample string 1", "propertyGuid": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "f1ef7920-0ddd-4c05-83e9-c149087b9ad4", "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": "acdcf9f1-5e60-43c8-b0f5-f3eed5ec7806" } ], "rawValues": { "6a1a3b1b-f4b5-4cdd-83b5-98c3d4108934": null, "66f4fdfd-041c-44d5-9151-2c8be5af9c89": 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-04-27T00:05:25.3234248+02: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) |