Gibt alle Werte für ein Metadatenfeld zurück.
Syntax
IpsUser
IpsAdmin
IpsCompanyAdmin
ImagePortalAdmin
ImagePortalUser
ImagePortalContrib
ImagePortalContribUser
Eingabe (getDistinctMetadataValuesParam)
Name | Typ | Erforderlich | Beschreibung |
---|---|---|---|
companyHandle | xsd:string |
Ja | Der Handle für das Unternehmen, für das Sie Daten abrufen möchten. |
metadataKey | xsd:string |
Ja | Metadatenschlüssel in Punktnotation. |
Ausgabe (getDistinctMetadataValuesReturn)
Name | Typ | Erforderlich | Beschreibung |
---|---|---|---|
valueArray | types:ValueArray |
Ja | Werte des angeforderten Metadatenfelds. |
Anforderung
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.scene7.com/IpsApi/xsd"
xmlns:ns="http://www.scene7.com/IpsApi/xsd/2010-01-31">
<soapenv:Header>
<xsd:authHeader>
<xsd:user>user@company.com</xsd:user>
<xsd:password>password</xsd:password>
</xsd:authHeader>
</soapenv:Header>
<soapenv:Body>
<ns:getDistinctMetadataValuesParam>
<ns:companyHandle>680</ns:companyHandle>
<ns:metadataKey>dc.format</ns:metadataKey>
</ns:getDistinctMetadataValuesParam>
</soapenv:Body>
</soapenv:Envelope>
Antwort
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<getDistinctMetadataValuesReturn xmlns="http://www.scene7.com/IpsApi/xsd/2010-01-31">
<valueArray>
<items>
<value>N/A</value>
<count>412</count>
</items>
<items>
<value>image/jpeg</value>
<count>189</count>
</items>
<items>
<value>image/epsf</value>
<count>1</count>
</items>
<items>
<value>image/tiff</value>
<count>3</count>
</items>
</valueArray>
</getDistinctMetadataValuesReturn>
</soapenv:Body>
</soapenv:Envelope>