Reject Organization Customer as Potential Duplicate
The following section includes sample REST and SOAP XML request call as well as the XML response.
Required values to identify match:
- Legal Name
- Address
- Phone
Reject Organization Customer as Potential Duplicate Web Service Request
REST
Copy
[{
"correlationID": "1",
"entity": {
"id": "",
"name": "Stibo Systems",
"objectType": "OrganizationCustomer",
"parent": "111301",
"values": {
"LegalName": {
"value": {
"value": "Stibo Systems"
}
}
},
"dataContainers": {
"MainAddressDataContainer": {
"dataContainers": [{
"values": {
"InputStreet": {
"value": {
"value": "3200 Windy Hill rd"
}
},
"InputCountry": {
"value": {
"value": "USA"
}
},
"InputCity": {
"value": {
"value": "Atlanta"
}
},
"InputState": {
"value": {
"value": "Georgia"
}
},
"InputZip": {
"value": {
"value": "30339"
}
}
}
}
]
},
"PhoneDataContainer": {
"dataContainers": [{
"values": {
"PhoneNumber": {
"value": {
"value": "7701231234"
}
}
}
}
]
},
"EmailDataContainer": {
"dataContainers": [{
"values": {
"EmailField": {
"value": {
"value": "stibo@stibo.com"
}
}
}
}
]
}
}
}
}
]
SOAP
Copy
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://stibo.com/step/ws/matching/1.0" xmlns:ns1="http://stibo.com/step/ws/types/1.0" xmlns:step="http://www.stibosystems.com/step">
<soapenv:Header/>
<soapenv:Body>
<ns:matchAndMergeRequest>
<accessContext>
<ns1:userName>stepsys</ns1:userName>
<ns1:password>stepsys</ns1:password>
<ns1:contextUrl>step://context?id=Context1</ns1:contextUrl>
</accessContext>
<webserviceConfigurationID>OrganizationRequest</webserviceConfigurationID>
<matchAndMergeRecord CorrelationID="9">
<ns1:Entity ParentID="111301" UserTypeID="OrganizationCustomer">
<step:Name>Stibo Systems</step:Name>
<step:Entity/>
<step:Values>
<step:Value AttributeID="LegalName">Stibo Systems</step:Value>
</step:Values>
<step:DataContainers>
<step:DataContainer Type="MainAddressDataContainer">
<step:Values>
<step:Value AttributeID="InputStreet">3200 Windy Hill rd</step:Value>
<step:Value AttributeID="InputCity">Atlanta</step:Value>
<step:Value AttributeID="InputCountry">USA</step:Value>
<step:Value AttributeID="InputState">Georgia</step:Value>
<step:Value AttributeID="InputZip">30339</step:Value>
</step:Values>
</step:DataContainer>
<step:MultiDataContainer Type="PhoneDataContainer">
<step:DataContainer>
<step:Values>
<step:Value AttributeID="PhoneNumber">7701231234</step:Value>
</step:Values>
</step:DataContainer>
</step:MultiDataContainer>
<step:MultiDataContainer Type="EmailDataContainer">
<step:DataContainer>
<step:Values>
<step:Value AttributeID="EmailField">stibo@stibo.com</step:Value>
</step:Values>
</step:DataContainer>
</step:MultiDataContainer>
</step:DataContainers>
</ns1:Entity>
</matchAndMergeRecord>
</ns:matchAndMergeRequest>
</soapenv:Body>
</soapenv:Envelope>
Reject Organization Customer as Potential Duplicate Web Service Response
REST
Copy
{
"matchAndMergeGeneralExecutionReport": {
"httpStatus": 200,
"message": null,
"httpReason": "OK"
},
"matchAndMergeResponses": [
{
"correlationID": "1",
"status": "REJECTED",
"potentialDuplicates": [
{
"rank": "92.5",
"entity": {
"id": "382430",
"name": "Stibo Systems",
"objectType": "OrganizationCustomer",
"parent": "111301",
"values": {
"LegalName": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "Stibo Systems",
"valueId": null,
"unit": null
}
}
},
"references": {
"CustomerSourceSystem": {
"references": [
{
"contextLocal": true,
"target": "SystemX",
"targetType": "entity",
"values": {},
"entity": null
}
]
}
},
"dataContainers": {
"EmailDataContainer": {
"dataContainers": [
{
"values": {
"EmailField": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "stibo@stibo.com",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
]
},
"PhoneDataContainer": {
"dataContainers": [
{
"values": {
"PhoneNumber": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "7701231234",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
]
},
"MainAddressDataContainer": {
"dataContainer": {
"values": {
"CalcFormattedAddress": {
"calculated": true,
"contextLocal": true,
"value": {
"value": "3200 Windy Hill Rd SE\nAtlanta GA 30339-5640\nUnited States",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
}
}
}
},
{
"rank": "92.5",
"entity": {
"id": "371699",
"name": "Stibo Systems",
"objectType": "OrganizationCustomer",
"parent": "111301",
"values": {
"LegalName": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "Stibo Systems",
"valueId": null,
"unit": null
}
}
},
"references": {
"CustomerSourceSystem": {
"references": [
{
"contextLocal": true,
"target": "SystemX",
"targetType": "entity",
"values": {},
"entity": null
}
]
}
},
"dataContainers": {
"EmailDataContainer": {
"dataContainers": [
{
"values": {
"EmailField": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "stibo@stibo.com",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
]
},
"PhoneDataContainer": {
"dataContainers": [
{
"values": {
"PhoneNumber": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "7701231234",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
]
},
"MainAddressDataContainer": {
"dataContainer": {
"values": {
"CalcFormattedAddress": {
"calculated": true,
"contextLocal": true,
"value": {
"value": "3200 Windy Hill Rd SE\nAtlanta GA 30339-5640\nUnited States",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
}
}
}
}
],
"matchAndMergeExecutionReport": {
"operation": "FAILED",
"errorMessage": null,
"rejectedByBusinessCondition": [],
"rejectedByPotentialDuplicates": true
},
"entity": null
}
]
}
SOAP
Copy
<S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
<S:Body>
<ns5:matchAndMergeResponse xmlns:ns2="http://stibo.com/step/ws/types/1.0" xmlns:ns3="http://www.stibosystems.com/step" xmlns:ns4="http://www.stibosystems.com/step/outputtemplate" xmlns:ns5="http://stibo.com/step/ws/matching/1.0">
<matchAndMergeRecord CorrelationID="9">
<ns2:status>REJECTED</ns2:status>
<ns2:potentialDuplicate>
<ns2:rank>92.5</ns2:rank>
<ns2:Entity UserTypeID="OrganizationCustomer" ID="382430" ParentID="111301">
<ns3:Name>Stibo Systems</ns3:Name>
<ns3:EntityCrossReference EntityID="SystemX" Type="CustomerSourceSystem"/>
<ns3:Values>
<ns3:Value AttributeID="LegalName">Stibo Systems</ns3:Value>
</ns3:Values>
<ns3:DataContainers>
<ns3:MultiDataContainer Type="EmailDataContainer">
<ns3:DataContainer ID="741febc2-e472-4c17-b5ee-c433fa6eac54">
<ns3:Values>
<ns3:Value AttributeID="EmailField">stibo@stibo.com</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
<ns3:MultiDataContainer Type="PhoneDataContainer">
<ns3:DataContainer ID="382432">
<ns3:Values>
<ns3:Value AttributeID="PhoneNumber">7701231234</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
<ns3:DataContainer Type="MainAddressDataContainer" ID="382431">
<ns3:Values>
<ns3:Value Derived="true" AttributeID="CalcFormattedAddress">3200 Windy Hill Rd SE
Atlanta GA 30339-5640
United States</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:DataContainers>
</ns2:Entity>
</ns2:potentialDuplicate>
<ns2:potentialDuplicate>
<ns2:rank>92.5</ns2:rank>
<ns2:Entity UserTypeID="OrganizationCustomer" ID="371699" ParentID="111301">
<ns3:Name>Stibo Systems</ns3:Name>
<ns3:EntityCrossReference EntityID="SystemX" Type="CustomerSourceSystem"/>
<ns3:Values>
<ns3:Value AttributeID="LegalName">Stibo Systems</ns3:Value>
</ns3:Values>
<ns3:DataContainers>
<ns3:MultiDataContainer Type="EmailDataContainer">
<ns3:DataContainer ID="c0a7ebb4-a1b8-4705-b3bf-4e22ad1416bf">
<ns3:Values>
<ns3:Value AttributeID="EmailField">stibo@stibo.com</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
<ns3:MultiDataContainer Type="PhoneDataContainer">
<ns3:DataContainer ID="382428">
<ns3:Values>
<ns3:Value AttributeID="PhoneNumber">7701231234</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
<ns3:DataContainer Type="MainAddressDataContainer" ID="382427">
<ns3:Values>
<ns3:Value Derived="true" AttributeID="CalcFormattedAddress">3200 Windy Hill Rd SE
Atlanta GA 30339-5640
United States</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:DataContainers>
</ns2:Entity>
</ns2:potentialDuplicate>
<ns2:matchAndMergeExecutionReport>
<ns2:recordRejectedBy>
<ns2:rejectedByPotentialDuplicates>true</ns2:rejectedByPotentialDuplicates>
</ns2:recordRejectedBy>
</ns2:matchAndMergeExecutionReport>
<ns2:Entity UserTypeID="OrganizationCustomer" ParentID="111301">
<ns3:Name>Stibo Systems</ns3:Name>
<ns3:Entity/>
<ns3:Values>
<ns3:Value AttributeID="LegalName">Stibo Systems</ns3:Value>
</ns3:Values>
<ns3:DataContainers>
<ns3:DataContainer Type="MainAddressDataContainer">
<ns3:Values>
<ns3:Value AttributeID="InputStreet">3200 Windy Hill rd</ns3:Value>
<ns3:Value AttributeID="InputCity">Atlanta</ns3:Value>
<ns3:Value AttributeID="InputCountry">USA</ns3:Value>
<ns3:Value AttributeID="InputState">Georgia</ns3:Value>
<ns3:Value AttributeID="InputZip">30339</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
<ns3:MultiDataContainer Type="PhoneDataContainer">
<ns3:DataContainer ID="">
<ns3:Values>
<ns3:Value AttributeID="PhoneNumber">7701231234</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
<ns3:MultiDataContainer Type="EmailDataContainer">
<ns3:DataContainer ID="">
<ns3:Values>
<ns3:Value AttributeID="EmailField">stibo@stibo.com</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
</ns3:DataContainers>
</ns2:Entity>
</matchAndMergeRecord>
</ns5:matchAndMergeResponse>
</S:Body>
</S:Envelope>