saveZoomTarget

Create or edit a zoom target.

Syntax

Authorized User Type

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

Parameters

Input (saveZoomTargetParam)

Name Type Required Description
companyHandle xsd:string Yes The handle to the company with the zoom target you want to save.
assetHandle xsd:string Yes The handle to the zoom target.
zoomTargetHandle xsd:string No Edits or creates a zoom target.
name xsd:string Yes Zoom target name.
xPosition xsd:int Yes Left pixel location.
yPosition xsd:int Yes Top pixel location.
width xsd:int Yes Zoom target width.
height xsd:int Yes Zoom target height.
userData xsd:string Yes For customer-specific information. Can contain any type of data.

Output (saveZoomTargetReturn)

Name Type Required Description
zoomTargetHandle xsd:string Yes Handle to the newly created zoom target.

Examples

This code sample saves a zoom target. The response returns the zoom target handle.

Request

<saveZoomTargetParam xmlns="http://www.scene7.com/IpsApi/xsd">
   <companyHandle>47</companyHandle>
   <assetHandle>24267|1|17063</assetHandle>
   <name>My Zoom Target</name>
   <xPosition>2</xPosition>
   <yPosition>2</yPosition>
   <width>10</width>
   <height>10</height>
   <userData>My User Data</userData>
</saveZoomTargetParam>

Response

<saveZoomTargetReturn xmlns="http://www.scene7.com/IpsApi/xsd">
   <zoomTargetHandle>34194|9|301</zoomTargetHandle>
</saveZoomTargetReturn>

On this page