saveImageMap saveimagemap

新しい画像マップを作成するか、既存のマップを編集します。

構文

認証済みユーザータイプ section-9ef194a67b3546fb82ed7bb294bc2714

  • IpsUser
  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin
  • ImagePortalContrib
  • ImagePortalContribUser
NOTE
ユーザーは、アセットに対する読み取りおよび書き込みアクセス権を持っている必要があります。

パラメータ section-64f7f5fd8f954fba9fa30eeee556863a

入力 (saveImageMapParam)

名前
種類
必須
説明
companyHandle
xsd:string
はい
保存する画像マップを含む会社へのハンドル。
assetHandle
xsd:string
はい
画像マップが属する画像アセットのハンドル。
imageMapHandle
xsd:string
いいえ
画像マップのハンドル。 NULL の場合は画像マップを作成します。
名前
xsd:string
はい
作成または保存された画像マップの名前。
shapeType
xsd:string
はい
領域の形状の選択。
地域
xsd:string
はい
地域を定義するポイントのコンマ区切りリストです。
アクション
xsd:string
はい

この href IPS インターフェイスで指定された画像マップに関連付けられた値。

次の手順で href の値を指定する場合は、IPS インターフェイスの画像をクリックし、URL をコピーしてこの要素に貼り付け、IPS URL を適切な URL として書式設定します。 例: & 次に & .

position
xsd:int
はい
画像マップのリスト内の順序(Z 軸)。
有効
xsd:boolean
はい

出力 (saveImageMapReturn)

名前
種類
必須
説明
imageMapHandle
xsd:string
はい
新しい画像マップまたは編集された画像マップのハンドル。

section-fdac488b640f427c8aa3d549c5032851

このコードサンプルは、アセットの新しい画像マップを作成します。 領域の形状文字列定数で決定される形状タイプを使用し、新しい画像マップにハンドルを返します。

リクエスト

<saveImageMapParam xmlns="http://www.scene7.com/IpsApi/xsd">
   <companyHandle>47</companyHandle>
   <assetHandle>24266|1|17062</assetHandle>
   <name>My Image Map</name>
   <shapeType>Rectangle</shapeType>
   <region>0,10,0,10</region>
   <action>http://s7oslo.macromedia.com/scene7/browse/MoreInfo.jsp?assetID=24266&amp;
   iRow=1&iRows=1&amp;strSearchType=image</action>
   <position>0</position>
</saveImageMapParam>

応答

<saveImageMapReturn xmlns="http://www.scene7.com/IpsApi/xsd">
   <imageMapHandle>34191|8|554</imageMapHandle>
</saveImageMapReturn>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681