Solved

Integrate List output from custom API in FreshChat

  • 29 June 2021
  • 2 replies
  • 9 views

Hi ,

This is the output from my API, i need to get list of claimno from below response to integrate on FreshChat dialog as 2 buttons. So buttons should be multiplied depending on number of rows in data array.

{

"success": 1,

"msg": "User Claim Data",

"data": [  {

"claimNo": "220202026853",

"claimCreatedOn": "Oct 7, 2020 6:30 PM",

"claimAmount": 26930,

"claimApprovedAmout": 26930,

"claimStatus": "APPROVED AND PAID",

"customerName": "SHASHANK HN",

"claimType": "REIMBURSEMENT",

"DOA": "Sep 12, 2020 6:30 PM",

"DOD": "Sep 17, 2020 6:30 PM"

},  {

"claimNo": "RC-HS20-10899235",

"claimCreatedOn": "May 25, 2020 6:30 PM",

"claimAmount": 0,

"claimApprovedAmout": 0,

"claimStatus": "Rejected",

"customerName": "SHASHANK HN",

"claimType": "Cashless",

"DOA": "",

"DOD": ""

}],

}

icon

Best answer by Naro06514 29 June 2021, 18:10

This is solved.. We have fetch as data[].claimNo

View original

2 replies

This is solved.. We have fetch as data[].claimNo

Userlevel 4
Badge +2

Hello @Naro06514, it’s great that you’ve solved the issue. Thanks for sharing the details here. If you have any further queries on this, you can send the details to support@freshchat.com and our Freshchat  specialists would love to help you. 

 

Have a good day! 

Reply