Warning. This operation is deprecated in Elvis Server 5 and has been fully removed in Elvis Server 5.8. Use the normal search operation to search for relations.
Below is an example request and response.
Search relations request body
<e:searchRelationsRequest xmlns:e="http://www.elvisdam.com/xmlns/elvis/webservice/1.0">
<e:assetId>9KPmoarp4Xl96TA9sYRR2m</e:assetId>
<!--
First result to return, default value is 0 (first).
-->
<e:firstResult>0</e:firstResult>
<!--
Max results to return, set to 0 to return all results (take care,
this may take some time and slow down the server if your search
finds millions of results).
-->
<e:maxResultHits>100</e:maxResultHits>
<!--
Fields to be returned, do not specify to return all available metadata.
-->
<e:metadataToReturn>
<e:field>created</e:field>
<e:field>fileSize</e:field>
<e:field>folderPath</e:field>
<e:field>tags</e:field>
</e:metadataToReturn>
</e:searchRelationsRequest>
Search relations response body
<?xml version="1.0" encoding="UTF-8"?>
<e:searchRelationsResponse xmlns:e="http://www.elvisdam.com/xmlns/elvis/webservice/1.0"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
totalRelations="1">
<e:relation>
<e:relationId>Bpc8zmP0a3NBux54dE62RK</e:relationId>
<e:relationType>contained-by</e:relationType>
<e:hit>
<e:id>DSS8uFzL4ly8RsyVmprqxb</e:id>
<e:name>Trailers</e:name>
<e:filename>Trailers.collection</e:filename>
<e:assetPath>/Users/admin/Collections/
2008-10/Trailers.collection</e:assetPath>
<e:assetDomain>container</e:assetDomain>
<e:assetType>collection</e:assetType>
<e:thumbnailUrl>http://...</e:thumbnailUrl>
<e:previewUrl>http://...</e:previewUrl>
<e:originalUrl>http://...</e:originalUrl>
<e:originalUncPath>\\server\share\Users\admin\
Collections\2008-10\Trailers.collection</e:originalUncPath>
<e:metadata>
<e:field name="extension">
<e:value>collection</e:value>
</e:field>
<e:field name="folderPath">
<e:value>/Users/admin/Collections/2008-10</e:value>
</e:field>
</e:metadata>
</e:hit>
</e:relation>
</e:searchRelationsResponse>
Comment
Do you have corrections or additional information about this article? Leave a comment! Do you have a question about what is described in this article? Please contact Support.
0 comments
Please sign in to leave a comment.