getGroups getgroups

Returns company groups.

Syntax

Authorized User Types section-27c77680a2f34e2f9ecd0af4ebb6847e

  • IpsAdmin
  • IpsCompanyAdmin
  • ImagePortalAdmin

Parameters section-0e06195f23dd4c69922df210f566dd18

Input (getGroupsParam)

Name
Type
Required
Description
companyHandle
xsd:string
Yes
The handle to the company.

Output (getGroupsReturn)

Name
Type
Required
Description
groupArray
types:GroupArray
Yes
Array of groups.

Examples section-ed0708f611574354bf0c6ea83912b531

This code returns an array that contains all the groups that belong to a specific company and specific information about each group.

Request

<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