getGroups getgroups

傳回公司群組。

語法

授權的使用者型別 section-27c77680a2f34e2f9ecd0af4ebb6847e

  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin

參數 section-0e06195f23dd4c69922df210f566dd18

輸入(getGroupsParam)

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

輸出(getGroupsReturn)

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

範例 section-ed0708f611574354bf0c6ea83912b531

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

請求

<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>
recommendation-more-help
4e9b9d8c-5839-4215-aa35-01b652869681