Update Existing Individual Customer
The following section includes sample REST and SOAP XML request call as well as the XML response.
Required values to identify match:
- Name
- Address
- Phone
Update Existing Individual Customer Web Service Request
REST
Copy
[{
"correlationID": "1",
"entity": {
"id": "",
"name": "string",
"objectType": "IndividualCustomer",
"parent": "111656",
"values": {
"FirstName": {
"value": {
"value": "Meg"
}
},
"LastName": {
"value": {
"value": "Bright"
}
}
},
"dataContainers": {
"MainAddressDataContainer": {
"dataContainers": [{
"values": {
"InputStreet": {
"value": {
"value": "539 59th St"
}
},
"InputCountry": {
"value": {
"value": "US"
}
}
}
}
]
},
"PhoneDataContainer": {
"dataContainers": [{
"values": {
"PhoneNumber": {
"value": {
"value": "(225) 168-9574"
}
}
}
}
]
},
"EmailDataContainer": {
"dataContainers": [{
"values": {
"EmailField": {
"value": {
"value": "Aliquam.nisl.Nulla@Donecsollicitudinadipiscing.co.uk"
}
}
}
}
]
}
}
}
}
]
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>IndividualRequest</webserviceConfigurationID>
<matchAndMergeRecord CorrelationID="9">
<ns1:Entity ParentID="111656" UserTypeID="IndividualCustomer">
<step:Name>Meg Bright</step:Name>
<step:Entity/>
<step:Values>
<step:Value AttributeID="FirstName">Meg</step:Value>
<step:Value AttributeID="LastName">Bright</step:Value>
</step:Values>
<step:DataContainers>
<step:DataContainer Type="MainAddressDataContainer">
<step:Values>
<step:Value AttributeID="InputStreet">539 59th St</step:Value>
<step:Value AttributeID="InputCountry">US</step:Value>
</step:Values>
</step:DataContainer>
<step:MultiDataContainer Type="PhoneDataContainer">
<step:DataContainer>
<step:Values>
<step:Value AttributeID="PhoneNumber">(225) 168-9574</step:Value>
</step:Values>
</step:DataContainer>
</step:MultiDataContainer>
<step:MultiDataContainer Type="EmailDataContainer">
<step:DataContainer>
<step:Values>
<step:Value AttributeID="EmailField">Aliquam.nisl.Nulla@Donecsollicitudinadipiscing.co.uk</step:Value>
</step:Values>
</step:DataContainer>
</step:MultiDataContainer>
</step:DataContainers>
</ns1:Entity>
</matchAndMergeRecord>
</ns:matchAndMergeRequest>
</soapenv:Body>
</soapenv:Envelope>
Update Existing Individual Customer Web Service Response
REST
Copy
{
"matchAndMergeGeneralExecutionReport": {
"httpStatus": 200,
"message": null,
"httpReason": "OK"
},
"matchAndMergeResponses": [
{
"correlationID": "1",
"status": "PROCESSED",
"potentialDuplicates": [],
"matchAndMergeExecutionReport": {
"operation": "UPDATE",
"errorMessage": null,
"rejectedByBusinessCondition": [],
"rejectedByPotentialDuplicates": false
},
"entity": {
"id": "233899",
"name": null,
"objectType": "IndividualCustomer",
"parent": "111656",
"values": {
"FirstName": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "Meg",
"valueId": null,
"unit": null
}
},
"LastName": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "Bright",
"valueId": null,
"unit": null
}
}
},
"references": {
"CustomerSourceSystem": {
"references": [
{
"contextLocal": true,
"target": "SystemX",
"targetType": "entity",
"values": {
"SourceRecordID": {
"contextLocal": true,
"values": [
{
"value": "16660526-6110",
"valueId": null,
"unit": null
},
{
"value": "16210614-6273",
"valueId": null,
"unit": null
}
]
}
},
"entity": null
},
{
"contextLocal": true,
"target": "SystemY",
"targetType": "entity",
"values": {
"SourceRecordID": {
"contextLocal": true,
"values": [
{
"value": "16750301-0253",
"valueId": null,
"unit": null
}
]
}
},
"entity": null
}
]
}
},
"dataContainers": {
"EmailDataContainer": {
"dataContainers": [
{
"values": {
"EmailField": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "RaymondAGomez@dayrep.com",
"valueId": null,
"unit": null
}
}
},
"references": {}
},
{
"values": {
"EmailField": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "Aliquam.nisl.Nulla@Donecsollicitudinadipiscing.co.uk",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
]
},
"PhoneDataContainer": {
"dataContainers": [
{
"values": {
"PhoneNumber": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "(350) 495-4572",
"valueId": null,
"unit": null
}
}
},
"references": {}
},
{
"values": {
"PhoneNumber": {
"calculated": false,
"contextLocal": true,
"value": {
"value": "(225) 168-9574",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
]
},
"MainAddressDataContainer": {
"dataContainer": {
"values": {
"CalcFormattedAddress": {
"calculated": true,
"contextLocal": true,
"value": {
"value": "539 59th St\nUS",
"valueId": null,
"unit": null
}
}
},
"references": {}
}
}
}
}
}
]
}
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>PROCESSED</ns2:status>
<ns2:matchAndMergeExecutionReport>
<ns2:operation>UPDATE</ns2:operation>
</ns2:matchAndMergeExecutionReport>
<ns2:Entity UserTypeID="IndividualCustomer" ID="233899" ParentID="111656">
<ns3:EntityCrossReference EntityID="SystemY" Type="CustomerSourceSystem">
<ns3:MetaData>
<ns3:MultiValue AttributeID="SourceRecordID">
<ns3:Value>16750301-0253</ns3:Value>
</ns3:MultiValue>
</ns3:MetaData>
</ns3:EntityCrossReference>
<ns3:EntityCrossReference EntityID="SystemX" Type="CustomerSourceSystem">
<ns3:MetaData>
<ns3:MultiValue AttributeID="SourceRecordID">
<ns3:Value>999</ns3:Value>
</ns3:MultiValue>
</ns3:MetaData>
</ns3:EntityCrossReference>
<ns3:Values>
<ns3:Value AttributeID="FirstName">Meg</ns3:Value>
<ns3:Value AttributeID="LastName">Bright</ns3:Value>
</ns3:Values>
<ns3:DataContainers>
<ns3:MultiDataContainer Type="EmailDataContainer">
<ns3:DataContainer ID="233902">
<ns3:Values>
<ns3:Value AttributeID="EmailField">RaymondAGomez@dayrep.com</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
<ns3:DataContainer ID="233901">
<ns3:Values>
<ns3:Value AttributeID="EmailField">Aliquam.nisl.Nulla@Donecsollicitudinadipiscing.co.uk</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
<ns3:MultiDataContainer Type="PhoneDataContainer">
<ns3:DataContainer ID="233904">
<ns3:Values>
<ns3:Value AttributeID="PhoneNumber">(350) 495-4572</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
<ns3:DataContainer ID="233903">
<ns3:Values>
<ns3:Value AttributeID="PhoneNumber">(225) 168-9574</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:MultiDataContainer>
<ns3:DataContainer Type="MainAddressDataContainer" ID="379274">
<ns3:Values>
<ns3:Value Derived="true" AttributeID="CalcFormattedAddress">539 59th St
US</ns3:Value>
</ns3:Values>
</ns3:DataContainer>
</ns3:DataContainers>
</ns2:Entity>
</matchAndMergeRecord>
</ns5:matchAndMergeResponse>
</S:Body>
</S:Envelope>