A.37 Finding a Domain by Name

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

Response Status: 
200 - OK

JSON Response: 
{
  "id" : "DOMAIN.testDom1",
  "guid" : "BC755C40-086F-0000-AE24-CEFE66AF19D4",
  "name" : "testDom1",
  "links" : [ {
    "@title" : "administrator",
    "@href" : "/gwadmin-service/domains/testDom1/administrator"
  }, {
    "@title" : "clientoptions",
    "@href" : "/gwadmin-service/domains/testDom1/clientoptions"
  }, {
    "@title" : "customaddresses",
    "@href" : "/gwadmin-service/domains/testDom1/customaddresses"
  }, {
    "@title" : "customaddressestest",
    "@href" : "/gwadmin-service/domains/testDom1/customaddresses/test"
  }, {
    "@title" : "gatewaysubdirs",
    "@href" : "/gwadmin-service/domains/testDom1/gatewaysubdirs"
  }, {
    "@title" : "info",
    "@href" : "/gwadmin-service/domains/testDom1/info"
  }, {
    "@title" : "maintenance",
    "@href" : "/gwadmin-service/domains/testDom1/maintenance"
  }, {
    "@title" : "moverequests",
    "@href" : "/gwadmin-service/domains/testDom1/moverequests"
  }, {
    "@title" : "mta",
    "@href" : "/gwadmin-service/domains/testDom1/mta"
  }, {
    "@title" : "postoffices",
    "@href" : "/gwadmin-service/domains/testDom1/postoffices"
  }, {
    "@title" : "acl",
    "@href" : "/gwadmin-service/domains/testDom1/acl"
  }, {
    "@title" : "synchronize",
    "@href" : "/gwadmin-service/domains/testDom1/synchronize"
  }, {
    "@title" : "users",
    "@href" : "/gwadmin-service/list/USER/DOMAIN.testDom1"
  }, {
    "@title" : "mtas",
    "@href" : "/gwadmin-service/list/MTA/DOMAIN.testDom1"
  }, {
    "@title" : "libraries",
    "@href" : "/gwadmin-service/list/LIBRARY/DOMAIN.testDom1"
  }, {
    "@title" : "poas",
    "@href" : "/gwadmin-service/list/POA/DOMAIN.testDom1"
  }, {
    "@title" : "resources",
    "@href" : "/gwadmin-service/list/RESOURCE/DOMAIN.testDom1"
  }, {
    "@title" : "gwias",
    "@href" : "/gwadmin-service/list/GWIA/DOMAIN.testDom1"
  }, {
    "@title" : "groups",
    "@href" : "/gwadmin-service/list/GROUP/DOMAIN.testDom1"
  } ],
  "timeCreated" : null,
  "timeLastMod" : 1370885999000,
  "legacyDn" : null,
  "lastModifiedBy" : "Unknown admin",
  "lastModifiedOp" : "ADD",
  "pendingOp" : null,
  "allowedAddressFormats" : {
    "inherited" : true,
    "inheritedFrom" : "testSystem1",
    "inheritedValue" : [ "FLAST", "USER", "FIRST_LAST", "HOST", "LAST_FIRST" ],
    "value" : [ "FLAST", "USER", "FIRST_LAST", "HOST", "LAST_FIRST" ]
  },
  "addressBookView" : null,
  "alternateInternetAgentName" : null,
  "enableICalBrowse" : {
    "value" : true,
    "inheritedValue" : true,
    "inheritedFrom" : "testSystem1",
    "inherited" : true
  },
  "databaseVersion" : null,
  "defaultInternetAgentName" : {
    "value" : "testDom1.GWIA",
    "inheritedValue" : "testDom1.GWIA",
    "inheritedFrom" : "testSystem1",
    "inherited" : true
  },
  "defaultWebAccess" : null,
  "description" : null,
  "directoryName" : null,
  "directorySyncDomainName" : "testDom1",
  "domainRebuildCount" : 0,
  "domainType" : "PRIMARY",
  "domainVersion" : 1212,
  "externalSync" : null,
  "fileId" : "tesf6f",
  "gwId" : null,
  "hideUserComments" : null,
  "internetDomainName" : {
    "inherited" : true,
    "inheritedFrom" : "testSystem1",
    "inheritedValue" : "testdomain.com",
    "value" : "testdomain.com",
    "exclusive" : null
  },
  "language" : "English - US",
  "languageId" : "0",
  "linkedDomainName" : null,
  "lockoutOldAdmin" : null,
  "minimumAdminReleaseDate" : null,
  "minimumAdminVersion" : null,
  "platform" : null,
  "preferredAddressFormat" : {
    "inherited" : true,
    "inheritedFrom" : "testSystem1",
    "inheritedValue" : "FULL",
    "value" : "FULL"
  },
  "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" : null,
  "@url" : "/gwadmin-service/domains/testDom1"
}

XML Response:
<domain>
  <id>DOMAIN.testDom1</id>
  <guid>BC755C40-086F-0000-AE24-CEFE66AF19D4</guid>
  <name>testDom1</name>
  <url>/gwadmin-service/domains/testDom1</url>
  <links key="administrator" href="/gwadmin-service/domains/testDom1/administrator"/>
  <links key="clientoptions" href="/gwadmin-service/domains/testDom1/clientoptions"/>
  <links key="customaddresses" href="/gwadmin-service/domains/testDom1/customaddresses"/>
  <links key="customaddressestest" href="/gwadmin-service/domains/testDom1/customaddresses/test"/>
  <links key="gatewaysubdirs" href="/gwadmin-service/domains/testDom1/gatewaysubdirs"/>
  <links key="info" href="/gwadmin-service/domains/testDom1/info"/>
  <links key="maintenance" href="/gwadmin-service/domains/testDom1/maintenance"/>
  <links key="moverequests" href="/gwadmin-service/domains/testDom1/moverequests"/>
  <links key="mta" href="/gwadmin-service/domains/testDom1/mta"/>
  <links key="postoffices" href="/gwadmin-service/domains/testDom1/postoffices"/>
  <links key="acl" href="/gwadmin-service/domains/testDom1/acl"/>
  <links key="synchronize" href="/gwadmin-service/domains/testDom1/synchronize"/>
  <links key="users" href="/gwadmin-service/list/USER/DOMAIN.testDom1"/>
  <links key="mtas" href="/gwadmin-service/list/MTA/DOMAIN.testDom1"/>
  <links key="libraries" href="/gwadmin-service/list/LIBRARY/DOMAIN.testDom1"/>
  <links key="poas" href="/gwadmin-service/list/POA/DOMAIN.testDom1"/>
  <links key="resources" href="/gwadmin-service/list/RESOURCE/DOMAIN.testDom1"/>
  <links key="gwias" href="/gwadmin-service/list/GWIA/DOMAIN.testDom1"/>
  <links key="groups" href="/gwadmin-service/list/GROUP/DOMAIN.testDom1"/>
  <timeLastMod>1370885999000</timeLastMod>
  <lastModifiedBy>Unknown admin</lastModifiedBy>
  <lastModifiedOp>ADD</lastModifiedOp>
  <forceNullOnAttrs/>
  <allowedAddressFormats>
    <inherited>true</inherited>
    <inheritedFrom>testSystem1</inheritedFrom>
    <inheritedValue>
      <AttrNoUsed>FLAST</AttrNoUsed>
      <AttrNoUsed>FIRST_LAST</AttrNoUsed>
      <AttrNoUsed>LAST_FIRST</AttrNoUsed>
      <AttrNoUsed>HOST</AttrNoUsed>
      <AttrNoUsed>USER</AttrNoUsed>
    </inheritedValue>
    <value>
      <AttrNoUsed>FLAST</AttrNoUsed>
      <AttrNoUsed>FIRST_LAST</AttrNoUsed>
      <AttrNoUsed>LAST_FIRST</AttrNoUsed>
      <AttrNoUsed>HOST</AttrNoUsed>
      <AttrNoUsed>USER</AttrNoUsed>
    </value>
  </allowedAddressFormats>
  <enableICalBrowse>
    <value class="boolean">true</value>
    <inheritedValue class="boolean">true</inheritedValue>
    <inheritedFrom>testSystem1</inheritedFrom>
    <inherited>true</inherited>
  </enableICalBrowse>
  <defaultInternetAgentName>
    <value class="string">testDom1.GWIA</value>
    <inheritedValue class="string">testDom1.GWIA</inheritedValue>
    <inheritedFrom>testSystem1</inheritedFrom>
    <inherited>true</inherited>
  </defaultInternetAgentName>
  <directorySyncDomainName>testDom1</directorySyncDomainName>
  <domainRebuildCount>0</domainRebuildCount>
  <domainType>PRIMARY</domainType>
  <domainVersion>1212</domainVersion>
  <fileId>tesf6f</fileId>
  <internetDomainName>
    <inherited>true</inherited>
    <inheritedFrom>testSystem1</inheritedFrom>
    <inheritedValue>testdomain.com</inheritedValue>
    <value>testdomain.com</value>
  </internetDomainName>
  <language>English - US</language>
  <languageId>0</languageId>
  <preferredAddressFormat>
    <inherited>true</inherited>
    <inheritedFrom>testSystem1</inheritedFrom>
    <inheritedValue>FULL</inheritedValue>
    <value>FULL</value>
  </preferredAddressFormat>
  <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>