DC 5.6 (New) Update metadata on asset

This explains how digizuitecore is used for setting metadata on an asset

URLĀ :Ā /digizuitecore/legacyservice/api/metadata/update

MethodĀ :Ā POST

Auth requiredĀ : Yes

Required headers

Name

Example

Description

Name

Example

Description

Content-Type

application/json

Content type for the request

Authorization

AccessKey eb774621-1c2f-467b-b006-a8efa67094a7

Access Key authorization header that you get from the normal logon method.

Required parameters (with updates body tag)

Name

Example

Description

Name

Example

Description

targetItemIds

12345

List of item ids of your assets that must be have its metadata updated

metaFieldLabelId

12345

The id of the metafield label that must be updated

Optional parameters

Name

Example

Description

Name

Example

Description

comboValue

1

Updating field type SingleComboValue

value

abc

Updating field type SingleValue such as a string or int

comboValues

[1,2,3]

Updating field typeComboValues

Ā 

Request body

{ "updates": [{ "targetItemIds": [1234], "metaFieldLabelId": 5421, "value": "My description" }] }

Ā 

Success Response

CodeĀ :Ā 200 OK

Error Response

CodeĀ :Ā 500 ERROR