In C# side I have DataTable AccountRecords – in AccountRecords there are 2 columns with multiple rows.
For example :
AccountRecords :-
OldNumber NewNumber
726536 98237498
123756 12786877
716666 65693466
Using C# How do I add the AccountRecords information to InvalidPolicies section as mentioned below :-
{
"InvalidPolicies": [
{
" OldNumber": "726536",
" NewNumber": "98237498"
},
{
" OldNumber": "123756",
" NewNumber": "12786877"
},
{
" OldNumber": "716666",
" NewNumber": "65693466"
}
],
"ReceivedCount": 3,
"SuccessCount": 2,
"FailedCount": 1,
"Notices": [],
"Actions": {}
}
Tahir AnsariPosted Aug 11, 2023, 3:25 AM
Kumar AUPosted Aug 11, 2023, 2:07 PM
Thank you Tahir for your response it worked