1.4.5 Current Address
Event notification for amendment in current address details of the party.
Address Details event is published during an amendment process through.
- User Interface (PUT API)
- PUT API Request
- PATCH API Request
Event for PUT API
The PUT API method, an HTTP request method, is utilized for updating the entire Data Segment of customer information. PUT method replaces the entire Data Segment with the new data provided in the request.
Using the PUT API method for amendments, event publishing will not be contingent on the information provided in the request and will include all the attributes of the data segment.
Note:
For PUT API Request “httpMethod” is populated as “PUT”.Table 1-9 Data Segment
| Data Segment Code | Data Segment Name | Topic Name | Party Type |
|---|---|---|---|
| DS0005 | CURRENT_ADDRESS | ObpyRetAmendCurrentAddr_v14_8_2_105_0 | Retail |
{
"branchCode": "string",
"userId": "string",
"applicationNumber": "string",
"partyId": "string",
"externalCustomerId": "string",
"partyType": "string",
"eventType": "string",
"handoffStatus": "string",
"sourceProductId": "string",
"datasegmentCode": "string",
"datasegmentName": "string",
"httpMethod": "string",
"amendPayload": "{\"recordId\":\"string\",\"parentId\":\"string\",\"partyId\":\"string\"
,\"versionNo\":0,\"recordStat\":\"string\",\"createdBy\":\"string\",\"createdDate\":\"stri
ng\",\"updatedBy\":\"string\",\"updatedDate\":\"string\",\"sourceCreatedDate\":\"string\",
\"sourceUpdatedDate\":\"string\",\"maxSequence\":\"string\",\"partyContactDetailsList\":[{
\"id\":\"string\",\"partyId\":\"string\",\"addressType\":\"string\",\"buildingName\":\"str
ing\",\"streetName\":\"string\",\"localityName\":\"string\",\"landmarkDetails\":\"string\"
,\"areaDetails\":\"string\",\"city\":\"string\",\"state\":\"string\",\"country\":\"string\
",\"zipCode\":\"string\",\"zipExtension\":\"string\",\"addressSource\":\"string\",\"mobile
Number\":\"string\",\"officialNumber\":\"string\",\"mobileNumberIsd\":\"string\",\"officia
lNumberIsd\":\"string\",\"emailId\":\"string\",\"contactName\":\"string\",\"createdBy\":\"
string\",\"createdDate\":\"string\",\"updatedBy\":\"string\",\"updatedDate\":\"string\",\"
sourceCreatedDate\":\"string\",\"sourceUpdatedDate\":\"string\",\"recordStat\":\"string\",
\"versionNo\":0,\"parentId\":\"string\",\"location\":\"string\",\"preferred\":true,\"curre
ntAddress\":true,\"addressFrom\":\"string\",\"addressTill\":\"string\",\"department\":\"st
ring\",\"subDepartment\":\"string\",\"buildingNumber\":\"string\",\"postBox\":\"string\",\
"districtName\":\"string\",\"floor\":\"string\",\"room\":\"string\",\"strDepartment\":\"st
ring\",\"strSubDepartment\":\"string\",\"strBuildingNumber\":\"string\",\"strPostBox\":\"s
tring\",\"strDistrictName\":\"string\",\"strFloor\":\"string\",\"strStreetName\":\"string\
",\"strBuildingName\":\"string\",\"strAddressLine1\":\"string\",\"strCountry\":\"string\",
\"strTownName\":\"string\",\"strPostCode\":\"string\",\"strCountrySubDivision\":\"string\"
,\"strAddressLine2\":\"string\",\"strRoom\":\"string\",\"recordIdentifier\":\"string\",\"m
axSequence\":\"string\",\"partyMediaContactDetails\":[{\"id\":\"string\",\"parentId\":\"st
ring\",\"mediaType\":\"string\",\"line1\":\"string\",\"line2\":\"string\",\"line3\":\"stri
ng\",\"line4\":\"string\",\"line5\":\"string\",\"line6\":\"string\",\"line7\":\"string\",\
"contactSubType\":\"string\",\"preferred\":\"string\",\"status\":null,\"versionNo\":\"stri
ng\",\"recordStat\":\"string\",\"createdBy\":\"string\",\"createdDate\":\"string\",\"recor
dIdentifier\":\"string\",\"updatedBy\":\"string\",\"updatedDate\":\"string\",\"sourceCreat
edDate\":\"string\",\"sourceUpdatedDate\":\"string\",\"activationStatus\":\"string\",\"ver
ificationStatus\":\"string\",\"verificationContactType\":\"string\",\"verificationDateTime
\":\"string\",\"verificationBy\":\"string\",\"manualVerificationChannel\":\"string\",\"man
ualVerificationStatus\":\"string\",\"manualVerificationDateTime\":\"string\"}]}]}",
"amendDateTime": "string",
"applicationDate": "string"
}
Event for PATCH API
The PATCH API method, an HTTP request method, is utilized for record and field-level modifications within a Data Segment of customer information, rather than updating the entire Data Segment Information.
Using PATCH API method for amendments, event publishing will be contingent on the information provided in the request and will solely include the attributes that have been modified. Through PATCH API method specific records can be added, updated, or deleted. During record update specific fields can be added, updated, or removed by specifying the attributes requiring modification.
Structure of the Event generated through PATCH API
The Event body is divided into the following key sections:
- "op": Defines the applicable operation to identify the nature of the action as
- Update of existing record ("op": "replace"): Update of specific fields in an existing record.
- New record ("op": "add"): New record added to the data segment.
- Delete of existing Record ("op": "remove"): Delete of an existing record from the data segment.
- "param": Attributes used to identify a unique record within the multi-record data segment.
- "values": Contains the attributes that are modified within the uniquely identified record.
Note:
For PATCH API Request “httpMethod” is populated as “PATCH”.Table 1-10 Param and Value availability with respect to Operation
| Operation | param | values |
|---|---|---|
| "op": "replace" | Attribute or combination of attributes used to uniquely identify the record | Modified fields |
| "op": "add" | Empty | New record added to the data segment. |
| "op": "remove" | Attribute or combination of attributes used to uniquely identify the record | Empty |
{
"branchCode": "string",
"userId": "string",
"applicationNumber": "string",
"partyId": "string",
"externalCustomerId": "string",
"partyType": "string",
"eventType": "string",
"handoffStatus": "string",
"sourceProductId": "string",
"datasegmentCode": "string",
"datasegmentName": "string",
"httpMethod": "string",
"amendPayload": "{\"externalCustomerNo\":\"string\",\"applicationNumber\":\"string\",\"s
ourceProductId\":\"string\",\"sourceCreatedDate\":\"string\",\"sourceUpdatedDate\":\"strin
g\",\"customerInduced\":\"string\",\"lastContactDetails\":{\"lastContactDate\":[{\"id\":\"
string\",\"cifId\":\"string\",\"partyId\":\"string\",\"parentId\":\"string\",\"lastContact
DateTime\":\"string\",\"sourceSystem\":\"string\",\"lastSystemUpdate\":\"string\",\"lastCu
stomerUpdateDate\":\"string\",\"branchCode\":\"string\",\"activityType\":\"string\",\"refe
renceNumber\":\"string\",\"remarks\":\"string\",\"operationType\":\"string\",\"customerInd
uced\":\"string\"}]},\"partyContactDetailsList\":[{\"op\":\"string\",\"params\":{\"id\":\"
string\",\"partyId\":\"string\",\"addressType\":\"string\",\"buildingName\":\"string\",\"s
treetName\":\"string\",\"localityName\":\"string\",\"landmarkDetails\":\"string\",\"areaDe
tails\":\"string\",\"city\":\"string\",\"state\":\"string\",\"country\":\"string\",\"zipCo
de\":\"string\",\"zipExtension\":\"string\",\"addressSource\":\"string\",\"mobileNumber\":
\"string\",\"officialNumber\":\"string\",\"mobileNumberIsd\":\"string\",\"officialNumberIs
d\":\"string\",\"emailId\":\"string\",\"contactName\":\"string\",\"createdBy\":\"string\",
\"createdDate\":\"string\",\"updatedBy\":\"string\",\"updatedDate\":\"string\",\"sourceCre
atedDate\":\"string\",\"sourceUpdatedDate\":\"string\",\"recordStat\":\"string\",\"version
No\":0,\"parentId\":\"string\",\"location\":\"string\",\"preferred\":true,\"currentAddress
\":true,\"addressFrom\":\"string\",\"addressTill\":\"string\",\"department\":\"string\",\"
subDepartment\":\"string\",\"buildingNumber\":\"string\",\"postBox\":\"string\",\"district
Name\":\"string\",\"floor\":\"string\",\"room\":\"string\",\"strDepartment\":\"string\",\"
strSubDepartment\":\"string\",\"strBuildingNumber\":\"string\",\"strPostBox\":\"string\",\
"strDistrictName\":\"string\",\"strFloor\":\"string\",\"strStreetName\":\"string\",\"strBu
ildingName\":\"string\",\"strAddressLine1\":\"string\",\"strCountry\":\"string\",\"strTown
Name\":\"string\",\"strPostCode\":\"string\",\"strCountrySubDivision\":\"string\",\"strAdd
ressLine2\":\"string\",\"strRoom\":\"string\",\"recordIdentifier\":\"string\",\"maxSequenc
e\":\"string\",\"partyMediaContactDetails\":[{\"id\":\"string\",\"parentId\":\"string\",\"
mediaType\":\"string\",\"line1\":\"string\",\"line2\":\"string\",\"line3\":\"string\",\"li
ne4\":\"string\",\"line5\":\"string\",\"line6\":\"string\",\"line7\":\"string\",\"contactS
ubType\":\"string\",\"preferred\":\"string\",\"status\":null,\"versionNo\":\"string\",\"re
cordStat\":\"string\",\"createdBy\":\"string\",\"createdDate\":\"string\",\"recordIdentifi
er\":\"string\",\"updatedBy\":\"string\",\"updatedDate\":\"string\",\"sourceCreatedDate\":
\"string\",\"sourceUpdatedDate\":\"string\",\"activationStatus\":\"string\",\"verification
Status\":\"string\",\"verificationContactType\":\"string\",\"verificationDateTime\":\"stri
ng\",\"verificationBy\":\"string\",\"manualVerificationChannel\":\"string\",\"manualVerifi
cationStatus\":\"string\",\"manualVerificationDateTime\":\"string\"}]},\"values\":{\"id\":
\"string\",\"partyId\":\"string\",\"addressType\":\"string\",\"buildingName\":\"string\",\
"streetName\":\"string\",\"localityName\":\"string\",\"landmarkDetails\":\"string\",\"area
Details\":\"string\",\"city\":\"string\",\"state\":\"string\",\"country\":\"string\",\"zip
Code\":\"string\",\"zipExtension\":\"string\",\"addressSource\":\"string\",\"mobileNumber\
":\"string\",\"officialNumber\":\"string\",\"mobileNumberIsd\":\"string\",\"officialNumber
Isd\":\"string\",\"emailId\":\"string\",\"contactName\":\"string\",\"createdBy\":\"string\
",\"createdDate\":\"string\",\"updatedBy\":\"string\",\"updatedDate\":\"string\",\"sourceC
reatedDate\":\"string\",\"sourceUpdatedDate\":\"string\",\"recordStat\":\"string\",\"versi
onNo\":0,\"parentId\":\"string\",\"location\":\"string\",\"preferred\":true,\"currentAddre
ss\":true,\"addressFrom\":\"string\",\"addressTill\":\"string\",\"department\":\"string\",
\"subDepartment\":\"string\",\"buildingNumber\":\"string\",\"postBox\":\"string\",\"distri
ctName\":\"string\",\"floor\":\"string\",\"room\":\"string\",\"strDepartment\":\"string\",
\"strSubDepartment\":\"string\",\"strBuildingNumber\":\"string\",\"strPostBox\":\"string\"
,\"strDistrictName\":\"string\",\"strFloor\":\"string\",\"strStreetName\":\"string\",\"str
BuildingName\":\"string\",\"strAddressLine1\":\"string\",\"strCountry\":\"string\",\"strTo
wnName\":\"string\",\"strPostCode\":\"string\",\"strCountrySubDivision\":\"string\",\"strA
ddressLine2\":\"string\",\"strRoom\":\"string\",\"recordIdentifier\":\"string\",\"maxSeque
nce\":\"string\",\"partyMediaContactDetails\":[{\"id\":\"string\",\"parentId\":\"string\",
\"mediaType\":\"string\",\"line1\":\"string\",\"line2\":\"string\",\"line3\":\"string\",\"
line4\":\"string\",\"line5\":\"string\",\"line6\":\"string\",\"line7\":\"string\",\"contac
tSubType\":\"string\",\"preferred\":\"string\",\"status\":null,\"versionNo\":\"string\",\"
recordStat\":\"string\",\"createdBy\":\"string\",\"createdDate\":\"string\",\"recordIdenti
fier\":\"string\",\"updatedBy\":\"string\",\"updatedDate\":\"string\",\"sourceCreatedDate\
":\"string\",\"sourceUpdatedDate\":\"string\",\"activationStatus\":\"string\",\"verificati
onStatus\":\"string\",\"verificationContactType\":\"string\",\"verificationDateTime\":\"st
ring\",\"verificationBy\":\"string\",\"manualVerificationChannel\":\"string\",\"manualVeri
ficationStatus\":\"string\",\"manualVerificationDateTime\":\"string\"}]}}]}",
"amendDateTime": "string",
"applicationDate": "string"
}
Parent topic: Retail Party Amendment