A.2 Requesting a List of Post Offices in a Domain

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

Response Status: 
200 - OK

JSON Response: 
[ {
  "id" : "POST_OFFICE.testDom1.testPO1",
  "guid" : "56A986B0-0870-0000-8A08-FB644894ACE1",
  "name" : "testPO1",
  "links" : null,
  "timeCreated" : 1370907858000,
  "timeLastMod" : 1370907860000,
  "legacyDn" : null,
  "lastModifiedBy" : "Unknown admin",
  "lastModifiedOp" : "MODIFY",
  "pendingOp" : null,
  "adminChanges" : null,
  "accessMode" : "CLIENT_SERVER",
  "allowedAddressFormats" : null,
  "archiveServiceTrustedAppName" : null,
  "clientLockout" : null,
  "clientLockoutDate" : null,
  "clientLockoutVersion" : null,
  "defaultInternetAgentName" : null,
  "description" : null,
  "domainName" : "testDom1",
  "deliveryMode" : "APP_THRESHOLD",
  "disableDeltaRecords" : null,
  "disableLdapPasswordChange" : null,
  "disableLiveMove" : null,
  "disableLogins" : false,
  "deltaRecordsMaxAge" : null,
  "enableICalBrowse" : null,
  "externalRecord" : false,
  "externalSync" : null,
  "fileId" : "tes1072",
  "gwId" : null,
  "internetDomainName" : null,
  "intruderDetection" : true,
  "intruderLockoutAttempts" : 5,
  "intruderLockoutAttemptsInterval" : 30,
  "intruderLockoutResetInterval" : 30,
  "language" : "English - US",
  "languageId" : "0",
  "ldapDefaultDirectory" : null,
  "ldapUser" : null,
  "ldapPassword" : null,
  "ldapInactiveConnectionTimeout" : null,
  "ldapPoolServerResetTimeout" : null,
  "ldapQuarantineThreshold" : null,
  "linkAddress" : "C:\\Novell\\GroupWise\\testPostOffice1",
  "linkAddressType" : "TCP_IP",
  "mtpAppName" : "POA",
  "mtpMaxSendSize" : null,
  "platform" : null,
  "postOfficeVersion" : 1212,
  "preferredAddressFormat" : null,
  "remoteUser" : null,
  "remotePassword" : null,
  "restoreAreaName" : null,
  "securitySettings" : [ "HIGH" ],
  "softwareAreaGuid" : null,
  "softwareVersion" : null,
  "syncContext" : null,
  "timezone" : "(GMT-07:00) Mountain Time (US & Canada)",
  "timezoneId" : "MST",
  "path" : "C:\\Novell\\GroupWise\\testPostOffice1",
  "associationsUpdate" : null,
  "poaAddress" : null,
  "poaCsPort" : null,
  "poaMtpPort" : null,
  "poaHttpPort" : null,
  "timeStamp" : null,
  "clientUpdateBumpNumber" : 0,
  "poaAdminPort" : null,
  "remoteCreation" : null,
  "displayName" : "testPO1",
  "draggable" : true,
  "@type" : "postOffice",
  "@url" : "/gwadmin-service/domains/testDom1/postoffices/testPO1"
} ]

XML Response:
<list>
  <postOffice>
    <id>POST_OFFICE.testDom1.testPO1</id>
    <guid>56A986B0-0870-0000-8A08-FB644894ACE1</guid>
    <name>testPO1</name>
    <objType>postOffice</objType>
    <url>/gwadmin-service/domains/testDom1/postoffices/testPO1</url>
    <timeCreated>1370907858000</timeCreated>
    <timeLastMod>1370907860000</timeLastMod>
    <lastModifiedBy>Unknown admin</lastModifiedBy>
    <lastModifiedOp>MODIFY</lastModifiedOp>
    <forceNullOnAttrs/>
    <accessMode>CLIENT_SERVER</accessMode>
    <domainName>testDom1</domainName>
    <deliveryMode>APP_THRESHOLD</deliveryMode>
    <disableLogins>false</disableLogins>
    <externalEntity>false</externalEntity>
    <externalRecord>false</externalRecord>
    <fileId>tes1072</fileId>
    <intruderDetection>true</intruderDetection>
    <intruderLockoutAttempts>5</intruderLockoutAttempts>
    <intruderLockoutAttemptsInterval>30</intruderLockoutAttemptsInterval>
    <intruderLockoutResetInterval>30</intruderLockoutResetInterval>
    <language>English - US</language>
    <languageId>0</languageId>
    <linkAddress>C:\Novell\GroupWise\testPostOffice1</linkAddress>
    <linkAddressType>TCP_IP</linkAddressType>
    <mtpAppName>POA</mtpAppName>
    <postOfficeVersion>1212</postOfficeVersion>
    <securitySettings class="AttrNoUsed">HIGH</securitySettings>
    <timezone>(GMT-07:00) Mountain Time (US &amp; Canada)</timezone>
    <timezoneId>MST</timezoneId>
    <path>C:\Novell\GroupWise\testPostOffice1</path>
    <clientUpdateBumpNumber>0</clientUpdateBumpNumber>
  </postOffice>
</list>