MergePeopleRequest

October2010

Service:People
Method:Merge
Permission:MergePeopleRequest

Properties


Name Type Required Description
MergePerson PersonIdentifier Required
KeepPerson PersonIdentifier Required
IsComingFromGallupAccess Boolean Optional

Exceptions


Exception Severity Code Condition
ArgumentsMatch Critical 10010022 Specified input parameter(Merge person and keep person) are same.
InteractionProtectedByEdition Critical 10050004 Interaction record has a relationship in edition and cannot be deleted.
InteractionProtectedByParticipation Critical 10050005 Interaction record has a participation date and cannot be deleted.
AggregatingRelationshipAlreadyExists Critical 10100001 Only one aggregating relationship is allowed for an interaction in a hierarchical structure.

Examples


The following is an XML example of the MergePeopleRequest sent to the People.Merge method.

<soapenv:Envelope xmlns:ns="http://schemas.gallup.com/oms/2010/10/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
  <soapenv:Header />
  <soapenv:Body>
    <ns:Merge xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <ns:request i:type="a:MergePeopleRequest" xmlns:a="http://schemas.gallup.com/oms/2010/10/People">
        <a:MergePerson i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:PersonId>1</b:PersonId>
        </a:MergePerson>
        <a:KeepPerson i:type="b:PersonIdIdentifier" xmlns:b="http://schemas.gallup.com/oms/2010/10/Identifiers">
          <b:PersonId>1</b:PersonId>
        </a:KeepPerson>
        <a:IsComingFromGallupAccess>false</a:IsComingFromGallupAccess>
      </ns:request>
    </ns:Merge>
  </soapenv:Body>
</soapenv:Envelope>

[PRINT]© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.

© Gallup, Inc. All Rights Reserved. All information contained on this site is the property of Gallup and contains proprietary trade secrets of Gallup. This information is confidential and protected under the confidentiality agreements signed by each Gallup employee, and is to be used solely by Gallup employees in the performance of their responsibilities. None of the information contained in this site is to be copied, viewed, forwarded, downloaded or shred outside of Gallup without permission.