A.50 Finding a Nickname in a Post Office

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

Response Status: 
200 - OK

JSON Response: 
{
  "id" : "NICKNAME.testDom1.testPO1.testNicknameName1",
  "guid" : "3E2536E0-09EF-0000-8A08-20888CC82C5A",
  "name" : "testNicknameName1",
  "links" : [ {
    "@title" : "domain",
    "@href" : "/gwadmin-service/domains/testDom1"
  }, {
    "@title" : "postoffice",
    "@href" : "/gwadmin-service/domains/testDom1/postoffices/testPO1"
  }, {
    "@title" : "emailaddresses",
    "@href" : "/gwadmin-service/domains/testDom1/postoffices/testPO1/nicknames/testNicknameName1/emailaddresses"
  } ],
  "timeCreated" : 1371072314000,
  "timeLastMod" : 1371072314000,
  "legacyDn" : null,
  "lastModifiedBy" : "admin.testSystem1",
  "lastModifiedOp" : "ADD",
  "pendingOp" : null,
  "domainName" : "testDom1",
  "postOfficeName" : "testPO1",
  "description" : null,
  "emailAddresses" : [ "testNicknameName1.testPO1.testDom1@testdomain.com" ],
  "visibility" : "SYSTEM",
  "defaultInternetAgentName" : null,
  "allowedAddressFormats" : {
    "inherited" : true,
    "inheritedFrom" : "testSystem1",
    "inheritedValue" : [ "FLAST", "USER", "FIRST_LAST", "HOST", "LAST_FIRST" ],
    "value" : [ "FLAST", "USER", "FIRST_LAST", "HOST", "LAST_FIRST" ]
  },
  "internetDomainName" : {
    "inherited" : true,
    "inheritedFrom" : "testSystem1",
    "inheritedValue" : "testdomain.com",
    "value" : "testdomain.com",
    "exclusive" : null
  },
  "preferredAddressFormat" : {
    "inherited" : true,
    "inheritedFrom" : "testSystem1",
    "inheritedValue" : "FULL",
    "value" : "FULL"
  },
  "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" : null,
  "@url" : "/gwadmin-service/domains/testDom1/postoffices/testPO1/nicknames/testNicknameName1"
}

XML Response:
<nickname>
  <id>NICKNAME.testDom1.testPO1.testNicknameName1</id>
  <guid>DAB356E0-09EF-0000-8A08-20888CC82C5A</guid>
  <name>testNicknameName1</name>
  <url>/gwadmin-service/domains/testDom1/postoffices/testPO1/nicknames/testNicknameName1</url>
  <links key="domain" href="/gwadmin-service/domains/testDom1"/>
  <links key="postoffice" href="/gwadmin-service/domains/testDom1/postoffices/testPO1"/>
  <links key="emailaddresses" href="/gwadmin-service/domains/testDom1/postoffices/testPO1/nicknames/testNicknameName1/emailaddresses"/>
  <timeCreated>1371072577000</timeCreated>
  <timeLastMod>1371072577000</timeLastMod>
  <lastModifiedBy>admin.testSystem1</lastModifiedBy>
  <lastModifiedOp>ADD</lastModifiedOp>
  <forceNullOnAttrs/>
  <domainName>testDom1</domainName>
  <postOfficeName>testPO1</postOfficeName>
  <emailAddresses>
    <string>testNicknameName1.testPO1.testDom1@testdomain.com</string>
  </emailAddresses>
  <visibility>SYSTEM</visibility>
  <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>
  <internetDomainName>
    <inherited>true</inherited>
    <inheritedFrom>testSystem1</inheritedFrom>
    <inheritedValue>testdomain.com</inheritedValue>
    <value>testdomain.com</value>
  </internetDomainName>
  <preferredAddressFormat>
    <inherited>true</inherited>
    <inheritedFrom>testSystem1</inheritedFrom>
    <inheritedValue>FULL</inheritedValue>
    <value>FULL</value>
  </preferredAddressFormat>
  <surname>testNicknameSurname1</surname>
  <userName>testUser1</userName>
  <userPostOfficeName>testPO1</userPostOfficeName>
  <userDomainName>testDom1</userDomainName>
  <realMemberType>USER</realMemberType>
</nickname>