You are not logged in.
Pages: 1
Hi,
I need some help with this call. Can you provide with an sample what this request should look like? The documentation states the tagIds field is a list of GUIDs.
But when I use MetadataCatalogue.GetAllFields to pull back metadata fields, some of the fields don't have a GUID.
I picked one with GUID available but the response indicated the field doesn't exist.
I tried using "id" instead of "guid" but it returned API error.
Any help is appreciated.
Thanks,
John
Offline
Hi John,
The metadata parameter is a map of tag to an array of values, for example:
{"labels": ["test"]}
The other thing here is that the documentation is missing a key point: the key into `metadata` should be the same as that used to look up the field, and it can be supplied as either the numeric ID or the tag name.
So a full query would look like:
{"assetId": 64596065520,"tagId":"labels","metadata":{"labels":["token"]}}
or
{"assetId": 64596065520,"tagId":34,"metadata":{34:["token"]}}
Dominic
Offline
Pages: 1