This explains how BatchUpdate is used for setting metadata on an asset.
Info | ||
---|---|---|
| ||
Please consider the DC 5.6 (New) Update metadata on asset instead. This specific documentation is here because of backwards compatibility and works perfectly fine. |
URL : /BatchUpdateService.js
...
Name | Example | Description |
---|---|---|
accessKey | eb774621-1c2f-467b-b006-a8efa67094a7 | accessKey that grants access to the API |
...
Code Block |
---|
[{ "Id": "MetaDataUpdate", "FieldId": "MetaDataUpdate", "ContainerType": 7, "RowId": 1, "Values": [{ "FieldId": "MetaFieldLabelid_50723", "Type": 1, "Values": ["Desert title 2"] }, { "FieldId": "MetaFieldLabelid_51867", "Type": 6, "Values": [51603] }, { "FieldId": "MetaFieldLabelid_51876", "Type": 17, "Values": ["test 1"] }], "ItemIds": ["10313"] }] |
*types
Code Block |
---|
public enum ValueType
{
String = 1,
Bool = 2,
Int = 3,
DateTime = 4,
Float = 5,
IntList = 6,
Folder = 7,
AssetType = 8,
StringRow = 9,
BoolRow = 10,
IntRow = 11,
DateTimeRow = 12,
FloatRow = 13,
IntListRow = 14,
Delete = 15,
ValueExtraValue = 16,
StringList = 17,
StringListRow = 18
} |
cUrl data example
Info | ||
---|---|---|
| ||
curl -X POST \ |
...