WADL for Person Manager Resource
WADL for Person Manager Resource
This section provide the WADL document for the Person Manager Resource This forms the high-level documentation for all the methods exposed through the Person Manager Resource.
      <resource path="/person-manager-resource">
         <resource path="/addPerson">
            <method id="addPerson" name="PUT">
               <request>
                  <ns2:representation element="person" mediaType="*/*" />
               </request>
               <response>
                  <ns2:representation element="person" mediaType="application/xml" />
                  <ns2:representation element="person" mediaType="application/json" />
               </response>
            </method>
         </resource>
         <resource path="/deletePerson">
            <method id="deletePerson" name="PUT">
               <request>
                  <ns2:representation element="personIdentifier"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/updatePerson">
            <method id="updatePerson" name="PUT">
               <request>
                  <ns2:representation element="person" mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/unlinkPersons">
            <method id="unlinkPersons" name="PUT">
               <request>
                  <ns2:representation element="personLink"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/addIdentifierDomain">
            <method id="addIdentifierDomain" name="PUT">
               <request>
                  <ns2:representation element="identifierDomain"
                     mediaType="*/*" />
               </request>
               <response>
                  <ns2:representation element="identifierDomain"
                     mediaType="application/xml" />
                  <ns2:representation element="identifierDomain"
                     mediaType="application/json" />
               </response>
            </method>
         </resource>
         <resource path="/updateIdentifierDomain">
            <method id="updateIdentifierDomain" name="PUT">
               <request>
                  <ns2:representation element="identifierDomain"
                     mediaType="*/*" />
               </request>
               <response>
                  <ns2:representation element="identifierDomain"
                     mediaType="application/xml" />
                  <ns2:representation element="identifierDomain"
                     mediaType="application/json" />
               </response>
            </method>
         </resource>
         <resource path="/deleteIdentifierDomain">
            <method id="deleteIdentifierDomain" name="PUT">
               <request>
                  <ns2:representation element="identifierDomain"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/deletePersonById">
            <method id="deletePersonById" name="PUT">
               <request>
                  <ns2:representation element="person" mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/removePersonById">
            <method id="removePersonById" name="POST">
               <request>
                  <param name="personId" style="query" type="xs:int"/>
               </request>
            </method>
         </resource>
         <resource path="/updatePersonById">
            <method id="updatePersonById" name="PUT">
               <request>
                  <ns2:representation element="person" mediaType="*/*" />
               </request>
               <response>
                  <ns2:representation element="person" mediaType="application/xml" />
                  <ns2:representation element="person" mediaType="application/json" />
               </response>
            </method>
         </resource>
         <resource path="/matchReviewRecordPair">
            <method id="matchReviewRecordPair" name="PUT">
               <request>
                  <ns2:representation element="reviewRecordPair"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/addIdentifierDomainAttribute">
            <method id="addIdentifierDomainAttribute" name="PUT">
               <request>
                  <ns2:representation element="identifierDomainAttributeRequest"
                     mediaType="*/*" />
               </request>
               <response>
                  <ns2:representation element="identifierDomainAttribute"
                     mediaType="application/xml" />
                  <ns2:representation element="identifierDomainAttribute"
                     mediaType="application/json" />
               </response>
            </method>
         </resource>
         <resource path="/updateIdentifierDomainAttribute">
            <method id="updateIdentifierDomainAttribute" name="PUT">
               <request>
                  <ns2:representation element="identifierDomainAttribute"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/removeIdentifierDomainAttribute">
            <method id="removeIdentifierDomainAttribute" name="PUT">
               <request>
                  <ns2:representation element="identifierDomainAttribute"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/addReviewRecordPair">
            <method id="addReviewRecordPair" name="PUT">
               <request>
                  <ns2:representation element="reviewRecordPair"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/linkPersons">
            <method id="linkPersons" name="PUT">
               <request>
                  <ns2:representation element="personLink"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/mergePersons">
            <method id="mergePersons" name="PUT">
               <request>
                  <ns2:representation element="mergePersonsRequest"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/importPerson">
            <method id="importPerson" name="PUT">
               <request>
                  <ns2:representation element="person" mediaType="*/*" />
               </request>
               <response>
                  <ns2:representation element="person" mediaType="application/xml" />
                  <ns2:representation element="person" mediaType="application/json" />
               </response>
            </method>
         </resource>
         <resource path="/obtainUniqueIdentifierDomain">
            <method id="obtainUniqueIdentifierDomain" name="PUT">
               <request>
                  <representation mediaType="*/*" />
               </request>
               <response>
                  <ns2:representation element="identifierDomain"
                     mediaType="application/xml" />
                  <ns2:representation element="identifierDomain"
                     mediaType="application/json" />
               </response>
            </method>
         </resource>
         <resource path="/deleteReviewRecordPair">
            <method id="deleteReviewRecordPair" name="PUT">
               <request>
                  <ns2:representation element="reviewRecordPair"
                     mediaType="*/*" />
               </request>
            </method>
         </resource>
         <resource path="/deleteReviewRecordPairs">
            <method id="deleteReviewRecordPairs" name="PUT" />
         </resource>
      </resource>
   </resources>