createPropertySetType

上次更新: 2023-05-26
  • 建立對象:
  • Developer
    Admin

屬性集型別會指定用來協助管理屬性集的各種設定。

語法

授權的使用者型別

  • IpsAdmin
  • IpsCompanyAdmin
  • TrialSiteAdmin
  • ImagePortalAdmin

參數

輸入(createPropertySetTypeParam)

名稱 類型 必要 說明
companyHandle xsd:string 擁有屬性集型別的公司的控制代碼。 若 companyHandle 未傳遞,且呼叫者為 IpsAdmin,則會建立全域屬性集型別。
name xsd:string 屬性集型別的名稱。
propertyType xsd:string 屬性集型別的選擇。
allowMultiple xsd:boolean 決定您的程式是否可以擁有多個屬性集。

輸出(createPropertySetTypeReturn)

名稱 類型 必要 說明
typeHandle xsd:string 型別的控制代碼。

範例

此程式碼範例會建立屬性集,其名稱和型別由 PropertySet Types 常數。 擁有屬性集型別的公司的控制代碼。 如果未傳遞companyHandle且呼叫者為IpsAdmin,則會建立全域屬性集型別。

請求

<createPropertySetTypeReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <typeHandle>pt|10803</typeHandle>
</createPropertySetTypeReturn>

回答

<createPropertySetTypeReturn xmlns="http://www.scene7.com/IpsApi/xsd/2008-01-15">
   <typeHandle>pt|10801</typeHandle>
</createPropertySetTypeReturn>

此頁面上的