Show Menu
TOPICS×

getUniqueMetadataValues

Gets unique metadata field values.
Syntax

Authorized User Types

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin
  • ImagePortalUser
  • ImagePortalContrib
  • ImagePortalContribUser

Parameters

Input (getUniqueMetadataValuesParam)
Name
Type
Required
Description
* companyHandle *
xsd:string
Yes
Handle to the company.
* fieldHandle *
xsd:string
No
Handle to metadata field.
Output (getUniqueMetadataValuesReturn)
Name
Type
Required
Description
* values *
type:StringArray

Examples

This code sample uses a field handle to return specific metadata values.
Request
<ns1:getUniqueMetadataValuesParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
   <ns1:companyHandle>47</ns1:companyHandle>
   <ns1:fieldHandle>47|ALL|Resolution</ns1:fieldHandle>
</ns1:getUniqueMetadataValuesParam>

Response
<getUniqueMetadataValuesReturn xmlns="http://www.scene7.com/IpsApi/xsd">
   <values>
      <items>320</items>
   </values>
</getUniqueMetadataValuesReturn>