getGroups

傳回公司群組。

語法

授權的使用者型別

  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin

參數

輸入(getGroupsParam)

名稱 類型 必要 說明
companyHandle xsd:string 公司的控制代碼。

輸出(getGroupsReturn)

名稱 類型 必要 說明
groupArray types:GroupArray 群組陣列。

範例

此程式碼會傳回陣列,其中包含屬於特定公司的所有群組,以及每個群組的特定資訊。

請求

<ns1:getGroupsParam xmlns:ns1="http://www.scene7.com/IpsApi/xsd">
   <ns1:companyHandle>47</ns1:companyHandle>
</ns1:getGroupsParam>
<getGroupsReturn xmlns="http://www.scene7.com/IpsApi/xsd">
   <groupArray>
      <items>
         <groupHandle>225</groupHandle>
         <companyHandle>47</companyHandle>
         <name>MyGroup</name>
         <isSystemDefined>false</isSystemDefined>
      </items>
   </groupArray>
</getGroupsReturn>

本頁內容