A.20 Requesting a List of Nicknames for a User

Request:
GET https://localhost:9710/gwadmin-service/domains/testDom1/postoffices/testPO1/users/testUser1/nicknames

Response Status: 
200 - OK

JSON Response: 
[ {
  "id" : "NICKNAME.testDom1.testPO1.testNicknameName1",
  "guid" : "3E2536E0-09EF-0000-8A08-20888CC82C5A",
  "name" : "testNicknameName1",
  "links" : null,
  "timeCreated" : 1371072314000,
  "timeLastMod" : 1371072314000,
  "legacyDn" : null,
  "lastModifiedBy" : "admin.testSystem1",
  "lastModifiedOp" : "ADD",
  "pendingOp" : null,
  "domainName" : "testDom1",
  "postOfficeName" : "testPO1",
  "description" : null,
  "emailAddresses" : null,
  "visibility" : "SYSTEM",
  "defaultInternetAgentName" : null,
  "allowedAddressFormats" : null,
  "internetDomainName" : null,
  "preferredAddressFormat" : null,
  "preferredEmailId" : null,
  "moveStatus" : null,
  "ldapDn" : null,
  "ldapId" : null,
  "directoryId" : null,
  "enableICalBrowse" : null,
  "restoreArea" : null,
  "expirationDate" : 0,
  "externalRecord" : null,
  "externalSync" : null,
  "fileId" : null,
  "accountId" : null,
  "city" : null,
  "company" : null,
  "country" : null,
  "department" : null,
  "externalEntity" : null,
  "externalSyncOverride" : null,
  "faxNumber" : null,
  "gatewayAccess" : null,
  "givenName" : null,
  "gwId" : null,
  "homePhoneNumber" : null,
  "ldapAuthentication" : null,
  "location" : null,
  "lastClientLoginTime" : null,
  "lastClientType" : null,
  "loginDisabled" : null,
  "mailboxId" : null,
  "middleInitial" : null,
  "mobilePhoneNumber" : null,
  "networkId" : null,
  "otherPhoneNumber" : null,
  "pagerNumber" : null,
  "postalZipCode" : null,
  "postOfficeBox" : null,
  "stateProvince" : null,
  "streetAddress" : null,
  "suffix" : null,
  "surname" : "testNicknameSurname1",
  "telephoneNumber" : null,
  "title" : null,
  "groupAccessControlUpdateList" : null,
  "groupMembersUpdateList" : null,
  "adminDefined1" : null,
  "adminDefined2" : null,
  "adminDefined3" : null,
  "adminDefined4" : null,
  "adminDefined5" : null,
  "adminDefined6" : null,
  "adminDefined7" : null,
  "adminDefined8" : null,
  "adminDefined9" : null,
  "adminDefined10" : null,
  "adminDefined11" : null,
  "adminDefined12" : null,
  "adminDefined13" : null,
  "adminDefined14" : null,
  "adminDefined15" : null,
  "adminDefined16" : null,
  "adminDefined17" : null,
  "adminDefined18" : null,
  "adminDefined19" : null,
  "adminDefined20" : null,
  "mailboxSizeMb" : null,
  "mailboxLicenseType" : null,
  "referredUserName" : null,
  "userName" : "testUser1",
  "userPostOfficeName" : "testPO1",
  "userDomainName" : "testDom1",
  "realMemberType" : "USER",
  "moveComplete" : null,
  "directoryUser" : false,
  "@type" : "nickname",
  "@url" : "/gwadmin-service/domains/testDom1/postoffices/testPO1/nicknames/testNicknameName1"
} ]

XML Response:
<list>
  <nickname>
    <id>NICKNAME.testDom1.testPO1.testNicknameName1</id>
    <guid>DAB356E0-09EF-0000-8A08-20888CC82C5A</guid>
    <name>testNicknameName1</name>
    <objType>nickname</objType>
    <url>/gwadmin-service/domains/testDom1/postoffices/testPO1/nicknames/testNicknameName1</url>
    <timeCreated>1371072577000</timeCreated>
    <timeLastMod>1371072577000</timeLastMod>
    <lastModifiedBy>admin.testSystem1</lastModifiedBy>
    <lastModifiedOp>ADD</lastModifiedOp>
    <forceNullOnAttrs/>
    <domainName>testDom1</domainName>
    <postOfficeName>testPO1</postOfficeName>
    <visibility>SYSTEM</visibility>
    <surname>testNicknameSurname1</surname>
    <userName>testUser1</userName>
    <userPostOfficeName>testPO1</userPostOfficeName>
    <userDomainName>testDom1</userDomainName>
    <realMemberType>USER</realMemberType>
  </nickname>
</list>