Dear Sir
How to consuming Web service using IRestResponse
I want only Transaction Details to bind a Gridview with Page wise.
Can somebody help me out.
IRestResponse result = restClient.Execute(request);
var Data = JsonConvert.DeserializeObject<Details>(result.Content);
{
"CustomerId": 20285342,
"TransactionDetails": [
{
"ProcessingDateTime": "2020-09-25T07:50:11.230+05:30",
"TransactionDateTime": "2020-09-25T07:44:22+05:30",
"TransactionAmount": 260.0000,
"TransactionId": 626430406,
"HexTagId": "34161FA8203289720265BAA0",
"VehicleNumber": "GJ01ET3610",
"LaneCode": "LANE10",
"PlazaCode": "002004",
"TransactionStatus": "POSTED",
"TransactionReferenceNumber": "00703296980",
"PlazaName": "IRB Choryasi"
},
{
"ProcessingDateTime": "2020-09-25T07:39:37.430+05:30",
"TransactionDateTime": "2020-09-25T07:33:50+05:30",
"TransactionAmount": 65.0000,
"TransactionId": 626421253,
"HexTagId": "34161FA8203289720AD1B280",
"VehicleNumber": "GJ18BT0201",
"LaneCode": "LANE03",
"PlazaCode": "330077",
"TransactionStatus": "POSTED",
"TransactionReferenceNumber": "66160099977732598974bP",
"PlazaName": "UNDVARIYA TOLL PLAZA "
}
],
"TotalPages": 3,
"CurrentPageNumber": 1,
"NoofTxnsForEachPage": 50,
"TotalTransactions": 114,
"VehicleNumber": null
}