{
"parentWinnerInactivePartyID": "",
"childMergeLoserPartyID": "",
"eventType": "M&A",
"startData": "2020-01-03",
"endDate": null,
"eventDate": "01-03-2020 08:09:14",
"status": null,
"mnaID": "1",
"newMNAendDate": null,
"createdBy": "abcd"
}
I have another field called transactionKey and I want to send only for certain eventTypes. How do I modify the request accordingly. What do I need to define in my POJO class?
My POST request would be something like,
{
"parentWinnerInactivePartyID": "",
"childMergeLoserPartyID": "",
"eventType": "M&A Redo",
"startData": "2020-01-03",
"endDate": null,
"eventDate": "01-03-2020 08:09:14",
"status": null,
"mnaID": "1",
"newMNAendDate": null,
"createdBy": "abcd",
"transactionKey": "Andsf1234"
}