ewong
#1
Right now, for the /licenses/ api, we are able to query by one metadata key and one metadata value.
Is it possible to query with multiple metadata keys and values? For example:
metadataKey = orgId
metadataValue = GuidA
AND
metadataKey = custId
metadataValue = GuidB
Thanks!
Hi Eric,
An AND query would not return any data in this case. I suppose you mean OR. Currently, we only support AND operator.
ewong
#3
How would I use the AND operator?
I want a license returned with both of the conditions above, one where the orgId is GuidA AND the custId is GuidB
Try the following:
/v3/licenses?metadata.key[in]=orgId,custId&metadata.value[in]= GuidA,GuidB