A.1 Requesting a List of Domains in the GroupWise System

Request:
GET https://localhost:9710/gwadmin-service/domains

Response Status: 
200 - OK

JSON Response: 
[ {
  "id" : "DOMAIN.testDom1",
  "guid" : "BC755C40-086F-0000-AE24-CEFE66AF19D4",
  "name" : "testDom1",
  "links" : null,
  "timeCreated" : null,
  "timeLastMod" : 1370885999000,
  "legacyDn" : null,
  "lastModifiedBy" : "Unknown admin",
  "lastModifiedOp" : "ADD",
  "pendingOp" : null,
  "allowedAddressFormats" : null,
  "addressBookView" : null,
  "alternateInternetAgentName" : null,
  "enableICalBrowse" : null,
  "databaseVersion" : null,
  "defaultInternetAgentName" : null,
  "defaultWebAccess" : null,
  "description" : null,
  "directoryName" : null,
  "directorySyncDomainName" : "testDom1",
  "domainRebuildCount" : 0,
  "domainType" : "PRIMARY",
  "domainVersion" : 1212,
  "externalSync" : null,
  "fileId" : "tesf6f",
  "gwId" : null,
  "hideUserComments" : null,
  "internetDomainName" : null,
  "language" : "English - US",
  "languageId" : "0",
  "linkedDomainName" : null,
  "lockoutOldAdmin" : null,
  "minimumAdminReleaseDate" : null,
  "minimumAdminVersion" : null,
  "platform" : null,
  "preferredAddressFormat" : null,
  "timezone" : "(GMT-07:00) Mountain Time (US & Canada)",
  "timezoneId" : "MST",
  "path" : "C:\\Novell\\GroupWise\\testDomain1\\",
  "adminChanges" : null,
  "mtaAddress" : null,
  "mtaMtpPort" : null,
  "mtaHttpPort" : null,
  "mtaAdminPort" : null,
  "remoteCreation" : null,
  "notifyUser" : null,
  "clearNotifyUser" : false,
  "connected" : true,
  "@type" : "domain",
  "@url" : "/gwadmin-service/domains/testDom1"
}, {
  "id" : "DOMAIN.testDom2",
  "guid" : "5FC6CEE0-08FE-0000-8A08-5BB4E7C4BAB9",
  "name" : "testDom2",
  "links" : null,
  "timeCreated" : 1370968862000,
  "timeLastMod" : 1370968863000,
  "legacyDn" : null,
  "lastModifiedBy" : "Unknown admin",
  "lastModifiedOp" : "MODIFY",
  "pendingOp" : "MODIFY",
  "allowedAddressFormats" : null,
  "addressBookView" : null,
  "alternateInternetAgentName" : null,
  "enableICalBrowse" : null,
  "databaseVersion" : null,
  "defaultInternetAgentName" : null,
  "defaultWebAccess" : null,
  "description" : null,
  "directoryName" : null,
  "directorySyncDomainName" : "testDom2",
  "domainRebuildCount" : 1,
  "domainType" : "SECONDARY",
  "domainVersion" : 1212,
  "externalSync" : null,
  "fileId" : "tesfebe",
  "gwId" : null,
  "hideUserComments" : null,
  "internetDomainName" : null,
  "language" : "English - US",
  "languageId" : "0",
  "linkedDomainName" : null,
  "lockoutOldAdmin" : null,
  "minimumAdminReleaseDate" : null,
  "minimumAdminVersion" : null,
  "platform" : null,
  "preferredAddressFormat" : null,
  "timezone" : "(GMT-07:00) Mountain Time (US & Canada)",
  "timezoneId" : "MST",
  "path" : "C:\\Novell\\GroupWise\\testDomain2",
  "adminChanges" : null,
  "mtaAddress" : null,
  "mtaMtpPort" : null,
  "mtaHttpPort" : null,
  "mtaAdminPort" : null,
  "remoteCreation" : null,
  "notifyUser" : null,
  "clearNotifyUser" : false,
  "connected" : false,
  "@type" : "domain",
  "@url" : "/gwadmin-service/domains/testDom2"
}, {
  "id" : "DOMAIN.testExtDom1",
  "guid" : "7F95C180-0904-0000-8A08-C421ECE16D93",
  "name" : "testExtDom1",
  "links" : null,
  "timeCreated" : 1370971492000,
  "timeLastMod" : 1370971492000,
  "legacyDn" : null,
  "lastModifiedBy" : "admin.testSystem1",
  "lastModifiedOp" : "ADD",
  "pendingOp" : null,
  "allowedAddressFormats" : null,
  "addressBookView" : null,
  "alternateInternetAgentName" : null,
  "enableICalBrowse" : null,
  "databaseVersion" : null,
  "defaultInternetAgentName" : null,
  "defaultWebAccess" : null,
  "description" : null,
  "directoryName" : null,
  "directorySyncDomainName" : "testExtDom1",
  "domainRebuildCount" : 0,
  "domainType" : "EXTERNAL_GROUPWISE",
  "domainVersion" : 1212,
  "externalSync" : null,
  "fileId" : "tes904",
  "gwId" : null,
  "hideUserComments" : null,
  "internetDomainName" : null,
  "language" : "English - US",
  "languageId" : "0",
  "linkedDomainName" : null,
  "lockoutOldAdmin" : null,
  "minimumAdminReleaseDate" : null,
  "minimumAdminVersion" : null,
  "platform" : null,
  "preferredAddressFormat" : null,
  "timezone" : "(GMT-07:00) Mountain Time (US & Canada)",
  "timezoneId" : "MST",
  "path" : null,
  "adminChanges" : null,
  "mtaAddress" : null,
  "mtaMtpPort" : null,
  "mtaHttpPort" : null,
  "mtaAdminPort" : null,
  "remoteCreation" : null,
  "notifyUser" : null,
  "clearNotifyUser" : false,
  "connected" : false,
  "@type" : "domain",
  "@url" : "/gwadmin-service/domains/testExtDom1"
} ]

XML Response:
<list>
  <domain>
    <id>DOMAIN.testDom1</id>
    <guid>BC755C40-086F-0000-AE24-CEFE66AF19D4</guid>
    <name>testDom1</name>
    <objType>domain</objType>
    <url>/gwadmin-service/domains/testDom1</url>
    <timeLastMod>1370885999000</timeLastMod>
    <lastModifiedBy>Unknown admin</lastModifiedBy>
    <lastModifiedOp>ADD</lastModifiedOp>
    <forceNullOnAttrs/>
    <directorySyncDomainName>testDom1</directorySyncDomainName>
    <domainRebuildCount>0</domainRebuildCount>
    <domainType>PRIMARY</domainType>
    <domainVersion>1212</domainVersion>
    <fileId>tesf6f</fileId>
    <language>English - US</language>
    <languageId>0</languageId>
    <timezone>(GMT-07:00) Mountain Time (US &amp; Canada)</timezone>
    <timezoneId>MST</timezoneId>
    <path>C:\Novell\GroupWise\testDomain1\</path>
    <clearNotifyUser>false</clearNotifyUser>
    <connected>true</connected>
  </domain>
  <domain>
    <id>DOMAIN.testDom2</id>
    <guid>5FC6CEE0-08FE-0000-8A08-5BB4E7C4BAB9</guid>
    <name>testDom2</name>
    <objType>domain</objType>
    <url>/gwadmin-service/domains/testDom2</url>
    <timeCreated>1370968862000</timeCreated>
    <timeLastMod>1370968863000</timeLastMod>
    <lastModifiedBy>Unknown admin</lastModifiedBy>
    <lastModifiedOp>MODIFY</lastModifiedOp>
    <pendingOp>MODIFY</pendingOp>
    <forceNullOnAttrs/>
    <directorySyncDomainName>testDom2</directorySyncDomainName>
    <domainRebuildCount>1</domainRebuildCount>
    <domainType>SECONDARY</domainType>
    <domainVersion>1212</domainVersion>
    <fileId>tesfebe</fileId>
    <language>English - US</language>
    <languageId>0</languageId>
    <timezone>(GMT-07:00) Mountain Time (US &amp; Canada)</timezone>
    <timezoneId>MST</timezoneId>
    <path>C:\Novell\GroupWise\testDomain2</path>
    <clearNotifyUser>false</clearNotifyUser>
    <connected>false</connected>
  </domain>
  <domain>
    <id>DOMAIN.testExtDom1</id>
    <guid>7F95C180-0904-0000-8A08-C421ECE16D93</guid>
    <name>testExtDom1</name>
    <objType>domain</objType>
    <url>/gwadmin-service/domains/testExtDom1</url>
    <timeCreated>1370971492000</timeCreated>
    <timeLastMod>1370971492000</timeLastMod>
    <lastModifiedBy>admin.testSystem1</lastModifiedBy>
    <lastModifiedOp>ADD</lastModifiedOp>
    <forceNullOnAttrs/>
    <directorySyncDomainName>testExtDom1</directorySyncDomainName>
    <domainRebuildCount>0</domainRebuildCount>
    <domainType>EXTERNAL_GROUPWISE</domainType>
    <domainVersion>1212</domainVersion>
    <fileId>tes904</fileId>
    <language>English - US</language>
    <languageId>0</languageId>
    <timezone>(GMT-07:00) Mountain Time (US &amp; Canada)</timezone>
    <timezoneId>MST</timezoneId>
    <clearNotifyUser>false</clearNotifyUser>
    <connected>false</connected>
  </domain>
</list>