A.38 Finding a Domain by Type

Request:
GET https://localhost:9710/gwadmin-service/list/DOMAIN?domainType=SECONDARY

Response Status: 
200 - OK

JSON Response: 
[ {
  "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"
} ]

XML Response:
<list>
  <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>
</list>