POST api/ItemData/SetDefaultGuiSettings

Set of Property Inspector view by default. The view is installed for all users. Admin access is required.

Request Information

URI Parameters

None.

Body Parameters

ObjResultOfItemData
NameDescriptionTypeAdditional information
Data

ItemData

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "data": {
    "properties": [
      {
        "properties": [
          {
            "propertyName": "sample string 1",
            "propertyGuid": "ea91f953-5870-417d-9580-802c072783f6",
            "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": "ea91f953-5870-417d-9580-802c072783f6",
            "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": "685776b8-ba22-4de6-86bc-27063fb6164c"
      },
      {
        "properties": [
          {
            "propertyName": "sample string 1",
            "propertyGuid": "ea91f953-5870-417d-9580-802c072783f6",
            "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": "ea91f953-5870-417d-9580-802c072783f6",
            "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": "685776b8-ba22-4de6-86bc-27063fb6164c"
      }
    ],
    "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:10:31.3853414+02:00",
    "colorLabel": 9,
    "formatType": "sample string 10",
    "error": "sample string 11",
    "success": true,
    "errorCode": 13
  },
  "error": "sample string 1",
  "success": true,
  "errorCode": 3
}

application/xml, text/xml

Sample:
<ObjResultOfItemDataXmvOanaG xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>3</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 1</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data>
    <_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:10:31.3853414+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>685776b8-ba22-4de6-86bc-27063fb6164c</Id>
        <Name>sample string 1</Name>
        <Properties>
          <ItemProperty>
            <CanAssign>true</CanAssign>
            <IsMultiplyValues>true</IsMultiplyValues>
            <PropertyGuid>ea91f953-5870-417d-9580-802c072783f6</PropertyGuid>
            <PropertyName>sample string 1</PropertyName>
            <PropertyType>sample string 5</PropertyType>
            <PropertyValue>sample string 3</PropertyValue>
            <ReadOnly>true</ReadOnly>
            <Values xmlns:d7p1="http://schemas.datacontract.org/2004/07/DAMClient">
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1:IndexedTagValue>
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1:IndexedTagValue>
            </Values>
          </ItemProperty>
          <ItemProperty>
            <CanAssign>true</CanAssign>
            <IsMultiplyValues>true</IsMultiplyValues>
            <PropertyGuid>ea91f953-5870-417d-9580-802c072783f6</PropertyGuid>
            <PropertyName>sample string 1</PropertyName>
            <PropertyType>sample string 5</PropertyType>
            <PropertyValue>sample string 3</PropertyValue>
            <ReadOnly>true</ReadOnly>
            <Values xmlns:d7p1="http://schemas.datacontract.org/2004/07/DAMClient">
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1:IndexedTagValue>
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1:IndexedTagValue>
            </Values>
          </ItemProperty>
        </Properties>
      </PropertySection>
      <PropertySection>
        <Id>685776b8-ba22-4de6-86bc-27063fb6164c</Id>
        <Name>sample string 1</Name>
        <Properties>
          <ItemProperty>
            <CanAssign>true</CanAssign>
            <IsMultiplyValues>true</IsMultiplyValues>
            <PropertyGuid>ea91f953-5870-417d-9580-802c072783f6</PropertyGuid>
            <PropertyName>sample string 1</PropertyName>
            <PropertyType>sample string 5</PropertyType>
            <PropertyValue>sample string 3</PropertyValue>
            <ReadOnly>true</ReadOnly>
            <Values xmlns:d7p1="http://schemas.datacontract.org/2004/07/DAMClient">
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1:IndexedTagValue>
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1:IndexedTagValue>
            </Values>
          </ItemProperty>
          <ItemProperty>
            <CanAssign>true</CanAssign>
            <IsMultiplyValues>true</IsMultiplyValues>
            <PropertyGuid>ea91f953-5870-417d-9580-802c072783f6</PropertyGuid>
            <PropertyName>sample string 1</PropertyName>
            <PropertyType>sample string 5</PropertyType>
            <PropertyValue>sample string 3</PropertyValue>
            <ReadOnly>true</ReadOnly>
            <Values xmlns:d7p1="http://schemas.datacontract.org/2004/07/DAMClient">
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1:IndexedTagValue>
              <d7p1:IndexedTagValue>
                <d7p1:Ancestors>sample string 2</d7p1:Ancestors>
                <d7p1:Count>14</d7p1:Count>
                <d7p1:HasChilds>true</d7p1:HasChilds>
                <d7p1:HasTagLinks>true</d7p1:HasTagLinks>
                <d7p1:Id>3</d7p1:Id>
                <d7p1:IsApproved>true</d7p1:IsApproved>
                <d7p1:IsDefaultValue>true</d7p1:IsDefaultValue>
                <d7p1:IsSelected>true</d7p1:IsSelected>
                <d7p1:ItemsCount>11</d7p1:ItemsCount>
                <d7p1:Location>sample string 12</d7p1:Location>
                <d7p1:RawValue />
                <d7p1:TagId>7</d7p1:TagId>
                <d7p1:TagName>sample string 10</d7p1:TagName>
                <d7p1:Text>sample string 1</d7p1:Text>
              </d7p1: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>
  </Data>
</ObjResultOfItemDataXmvOanaG>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ObjResult`1'.

Response Information

Resource Description

Returns true (check Data) if successfully saved, false if failes. The Error field might contain some error logs

ObjResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

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:
{
  "data": true,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

application/xml, text/xml

Sample:
<ObjResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>4</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 2</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data>true</Data>
</ObjResultOfboolean>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

data

Property Description
Data (ItemData)

				
Error (String)
            Error description if the operation failed
            
Success (Boolean)
            Operation result
            
ErrorCode (Int32)
             Error code
            
}