A.8 Requesting a List of Groups in the GroupWise System

Request:
GET https://localhost:9710/gwadmin-service/list/GROUP

Response Status: 
200 - OK

JSON Response: 
[ {
  "id" : "GROUP.testDom1.testPO1.testGroup1",
  "guid" : "3D593450-09EF-0000-8A08-20888CC82C5A",
  "name" : "testGroup1",
  "links" : null,
  "timeCreated" : 1371072313000,
  "timeLastMod" : 1371072313000,
  "legacyDn" : null,
  "lastModifiedBy" : "admin.testSystem1",
  "lastModifiedOp" : "ADD",
  "pendingOp" : null,
  "domainName" : "testDom1",
  "postOfficeName" : "testPO1",
  "description" : null,
  "emailAddresses" : null,
  "visibility" : "POST_OFFICE",
  "defaultInternetAgentName" : null,
  "allowedAddressFormats" : null,
  "internetDomainName" : null,
  "preferredAddressFormat" : null,
  "preferredEmailId" : null,
  "moveStatus" : null,
  "ldapDn" : null,
  "ldapId" : null,
  "directoryId" : null,
  "postOffice" : null,
  "groupType" : "DISTRIBUTION_LIST",
  "replicationOverride" : null,
  "exclusiveInternetDomain" : false,
  "groupAccessControlUpdateList" : null,
  "groupMembershipUpdateList" : null,
  "externalSync" : null,
  "moveComplete" : null,
  "directoryUser" : false,
  "@type" : "group",
  "@url" : "/gwadmin-service/domains/testDom1/postoffices/testPO1/groups/testGroup1"
} ]

XML Response:
<list>
  <group>
    <id>GROUP.testDom1.testPO1.testGroup1</id>
    <guid>D9C2B550-09EF-0000-8A08-20888CC82C5A</guid>
    <name>testGroup1</name>
    <objType>group</objType>
    <url>/gwadmin-service/domains/testDom1/postoffices/testPO1/groups/testGroup1</url>
    <timeCreated>1371072575000</timeCreated>
    <timeLastMod>1371072575000</timeLastMod>
    <lastModifiedBy>admin.testSystem1</lastModifiedBy>
    <lastModifiedOp>ADD</lastModifiedOp>
    <forceNullOnAttrs/>
    <domainName>testDom1</domainName>
    <postOfficeName>testPO1</postOfficeName>
    <visibility>POST_OFFICE</visibility>
    <groupType>DISTRIBUTION_LIST</groupType>
    <exclusiveInternetDomain>false</exclusiveInternetDomain>
  </group>
</list>