DC 5.7 (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