Show Menu
TOPICS×

moveAsset

Moves an asset to a specific folder.
Syntax

Authorized User Types

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

Parameters

Input (moveAssetParam)
Name
Type
Required
Description
* companyHandle *
xsd:string
Yes
Handle to the company.
* assetHandle *
xsd:string
Yes
Handle to the asset you want to move.
* folderHandle *
xsd:string
Yes
Handle to the destination folder.
Output (moveAssetReturn)
The IPS API does not return a response for this operation.

Examples

This code sample moves an asset to a folder.
Request
<ns1:moveAssetParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
   <ns1:companyHandle>47</ns1:companyHandle>
   <ns1:assetHandle>24266|1|17062</ns1:assetHandle>
   <ns1:folderHandle>MyCompany/My New Images/</ns1:folderHandle>
</ns1:moveAssetParam>

Response
None.