Not retrieving AssetSummary while executing searchAssetsByMetadata

Avatar

Avatar

bybb

Avatar

bybb

bybb

18-03-2021

 

 

Hey there,

 

I'm trying to run a search using searchAssetsByMetadata like this.

 

 

<searchAssetsByMetadataParam xmlns="http://www.scene7.com/IpsApi/xsd/2016-01-14-beta">
    <companyHandle>c|xxx</companyHandle>
    <filters>
        <includeSubfolders>true</includeSubfolders>
        <assetTypeArray>
            <items>Image</items>
            <items>AssetSet</items>
        </assetTypeArray>
        <excludeByproducts>true</excludeByproducts>
        <trashState>Any</trashState>
    </filters>
    <metadataConditionArray>
        <items>
            <fieldHandle>modified_at</fieldHandle>
            <op>Between</op>
            <minDate>2021-03-01T18:00:00.0+01:00</minDate>
            <maxDate>2021-03-01T19:00:00.0+01:00</maxDate>
        </items>
    </metadataConditionArray>
    <metadataConditionMatchMode>MatchAll</metadataConditionMatchMode>
    <recordsPerPage>100</recordsPerPage>
    <resultsPage>1</resultsPage>
    <sortBy>modified_at</sortBy>
    <sortDirection>Ascending</sortDirection>
</searchAssetsByMetadataParam>

 

 

 While the documentation states that the method "Returns asset data like the searchAssets method." the response doesn't seem to provide data like name.
Here is a response sample :

 

 

<assetSummaryArray>
    <items>
        <assetHandle>a|548412558</assetHandle>
        <createUser/>
        <lastModifyUser/>
    </items>
    <items>
        <assetHandle>a|549106515</assetHandle>
        <filename>bird2.jpg</filename>
        <createUser/>
        <lastModifyUser/>
    </items>
</assetSummaryArray>

 

 

Where a|548412558 is an AssetSet and a|549106515 is an image.

I can see a filename for the image, but I don't see any name attribute which I expect.

Did I miss something? Could anyone help me to clarify this, please?

 

Thanks,

Bruno.

Accepted Solutions (0)

Answers (0)