GET api/ItemData/Get/{id}

Load item's tags based on item ID. A list of tags is get from saved properties panel tag list.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Item's ID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Returns ItemData object. Item tags are in the Properties field.

ItemData
NameDescriptionTypeAdditional information
Properties

List of all item properties values by sections

Collection of PropertySection

None.

PreviewUrl

string

None.

Id

Item's ID

integer

None.

HashCode

Hash code

integer

None.

Orientation

Image orientation

integer

None.

ThumbnailPath

Thumbnail Url

string

None.

Extension

File extension

string

None.

VideoType

Video codec. (For video items)

string

None.

Title

Item's title from item's properties.

string

None.

ExpirationDate

License expiration date

date

None.

ColorLabel

TODO

integer

None.

FormatType

Asset format

string

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:
{
  "properties": [
    {
      "properties": [
        {
          "propertyName": "sample string 1",
          "propertyGuid": "5563dc41-c4eb-4e11-8d27-3af19080c5d8",
          "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": "5563dc41-c4eb-4e11-8d27-3af19080c5d8",
          "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": "5eb6b600-af5e-447a-85a8-c5120d645d76"
    },
    {
      "properties": [
        {
          "propertyName": "sample string 1",
          "propertyGuid": "5563dc41-c4eb-4e11-8d27-3af19080c5d8",
          "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": "5563dc41-c4eb-4e11-8d27-3af19080c5d8",
          "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": "5eb6b600-af5e-447a-85a8-c5120d645d76"
    }
  ],
  "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": "2021-09-24T23:41:48.117104+02:00",
  "colorLabel": 9,
  "formatType": "sample string 10",
  "error": "sample string 11",
  "success": true,
  "errorCode": 13
}

application/xml, text/xml

Sample:
<ItemData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>13</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 11</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <_expirationDate>2021-09-24T23:41:48.117104+02:00</_expirationDate>
  <_x003C_ColorLabel_x003E_k__BackingField>9</_x003C_ColorLabel_x003E_k__BackingField>
  <_x003C_Extension_x003E_k__BackingField>sample string 6</_x003C_Extension_x003E_k__BackingField>
  <_x003C_FormatType_x003E_k__BackingField>sample string 10</_x003C_FormatType_x003E_k__BackingField>
  <_x003C_HashCode_x003E_k__BackingField>3</_x003C_HashCode_x003E_k__BackingField>
  <_x003C_Id_x003E_k__BackingField>2</_x003C_Id_x003E_k__BackingField>
  <_x003C_Orientation_x003E_k__BackingField>4</_x003C_Orientation_x003E_k__BackingField>
  <_x003C_PreviewUrl_x003E_k__BackingField>sample string 1</_x003C_PreviewUrl_x003E_k__BackingField>
  <_x003C_Properties_x003E_k__BackingField>
    <PropertySection>
      <Id>5eb6b600-af5e-447a-85a8-c5120d645d76</Id>
      <Name>sample string 1</Name>
      <Properties>
        <ItemProperty>
          <CanAssign>true</CanAssign>
          <IsMultiplyValues>true</IsMultiplyValues>
          <PropertyGuid>5563dc41-c4eb-4e11-8d27-3af19080c5d8</PropertyGuid>
          <PropertyName>sample string 1</PropertyName>
          <PropertyType>sample string 5</PropertyType>
          <PropertyValue>sample string 3</PropertyValue>
          <ReadOnly>true</ReadOnly>
          <Values xmlns:d6p1="http://schemas.datacontract.org/2004/07/DAMClient">
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
          </Values>
        </ItemProperty>
        <ItemProperty>
          <CanAssign>true</CanAssign>
          <IsMultiplyValues>true</IsMultiplyValues>
          <PropertyGuid>5563dc41-c4eb-4e11-8d27-3af19080c5d8</PropertyGuid>
          <PropertyName>sample string 1</PropertyName>
          <PropertyType>sample string 5</PropertyType>
          <PropertyValue>sample string 3</PropertyValue>
          <ReadOnly>true</ReadOnly>
          <Values xmlns:d6p1="http://schemas.datacontract.org/2004/07/DAMClient">
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
          </Values>
        </ItemProperty>
      </Properties>
    </PropertySection>
    <PropertySection>
      <Id>5eb6b600-af5e-447a-85a8-c5120d645d76</Id>
      <Name>sample string 1</Name>
      <Properties>
        <ItemProperty>
          <CanAssign>true</CanAssign>
          <IsMultiplyValues>true</IsMultiplyValues>
          <PropertyGuid>5563dc41-c4eb-4e11-8d27-3af19080c5d8</PropertyGuid>
          <PropertyName>sample string 1</PropertyName>
          <PropertyType>sample string 5</PropertyType>
          <PropertyValue>sample string 3</PropertyValue>
          <ReadOnly>true</ReadOnly>
          <Values xmlns:d6p1="http://schemas.datacontract.org/2004/07/DAMClient">
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
          </Values>
        </ItemProperty>
        <ItemProperty>
          <CanAssign>true</CanAssign>
          <IsMultiplyValues>true</IsMultiplyValues>
          <PropertyGuid>5563dc41-c4eb-4e11-8d27-3af19080c5d8</PropertyGuid>
          <PropertyName>sample string 1</PropertyName>
          <PropertyType>sample string 5</PropertyType>
          <PropertyValue>sample string 3</PropertyValue>
          <ReadOnly>true</ReadOnly>
          <Values xmlns:d6p1="http://schemas.datacontract.org/2004/07/DAMClient">
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
            <d6p1:IndexedTagValue>
              <d6p1:Ancestors>sample string 2</d6p1:Ancestors>
              <d6p1:Count>14</d6p1:Count>
              <d6p1:HasChilds>true</d6p1:HasChilds>
              <d6p1:HasTagLinks>true</d6p1:HasTagLinks>
              <d6p1:Id>3</d6p1:Id>
              <d6p1:IsApproved>true</d6p1:IsApproved>
              <d6p1:IsDefaultValue>true</d6p1:IsDefaultValue>
              <d6p1:IsSelected>true</d6p1:IsSelected>
              <d6p1:ItemsCount>11</d6p1:ItemsCount>
              <d6p1:Location>sample string 12</d6p1:Location>
              <d6p1:RawValue />
              <d6p1:TagId>7</d6p1:TagId>
              <d6p1:TagName>sample string 10</d6p1:TagName>
              <d6p1:Text>sample string 1</d6p1:Text>
            </d6p1:IndexedTagValue>
          </Values>
        </ItemProperty>
      </Properties>
    </PropertySection>
  </_x003C_Properties_x003E_k__BackingField>
  <_x003C_ThumbnailPath_x003E_k__BackingField>sample string 5</_x003C_ThumbnailPath_x003E_k__BackingField>
  <_x003C_Title_x003E_k__BackingField>sample string 8</_x003C_Title_x003E_k__BackingField>
  <_x003C_VideoType_x003E_k__BackingField>sample string 7</_x003C_VideoType_x003E_k__BackingField>
</ItemData>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

}