1.5.16 Consent and Preferences

Event notification for amendment in consent details of the party.

Consent and Preference event is published during an amendment process through.

  • User Interface (PUT API)
  • PUT API Request

Table 1-76 Data Segment

Data Segment Code Data Segment Name Topic Name Party Type
DS0026 CONSENT obpySmbAmendConsent SMB

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”.
Event Payload

{
    "applicationNumber": "has4aUjbhX3aZOi951QD",
    "branchCode": "R01",
    "userId": "USER1",
    "partyId": "PTY0001",
    "externalCustomerId": "PTY0001",
    "partyType": "S",
    "eventType": "AMEND",
    "handoffStatus": "SUCCESS",
    "sourceProductId": "OBPY",
    "datasegmentCode": "DS0026",
    "datasegmentName": "CONSENT",
    "httpMethod": "PUT",
    "amendPayload": "{\"recordId\":\"1349361846771998720\",\"parentId\":\"1349361831919968256\",\"partyId\":\"PTY0001\",\"versionNo\":2,\"recordStat\":\"O\",\"createdBy\":\"USER1\",\"createdDate\":\"2021-01-20T07:42:03\",\"updatedBy\":\"USER1\",\"updatedDate\":\"2022-09-20T08:42:26\",\"eSignConsent\":false,\"marketingConsent\":false,\"partyMarketingCommsDetailsList\":[],\"partyConsentDetailsList\":[{\"id\":\"1349361897820872706\",\"parentId\":\"1349361846771998720\",\"consentType\":\"PRIVACY_INFO\",\"questionCode\":\"e7a714c1-b959-49c8-8a95-00b2ab44e3e3\",\"question\":\"Can we share your credit report from a credit reporting agency?\",\"answerDescription\":\"Yes\"}],\"links\":[]}",
    "amendDateTime": "2025-03-12T12:42:32.584486",
    "applicationDate": "2022-09-20"
}