MergePeopleRequest
Permission:MergePeopleRequest
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. |
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>