You need to sign in to do that
Don't have an account?
Nirav_Shah
Fetch Response from API and Show it on Visualforce Page
Hi Folks,
I have created one controller in which I am getting the API response in JSON format. The JSON format is as following
How to achieve this scenario?
Thanks
I have created one controller in which I am getting the API response in JSON format. The JSON format is as following
{ "APIResponse": { "APIResult": { "row": [ { "SR_NBR": "1-233391976021", "SR_CREATED": "2018-04-26T13:44:25.000Z", "SR_TYPE": "Repair", . . . . . . . } ] } } }Now, my requirement is I need to show this response in proper PDF format in Visualforce page.
How to achieve this scenario?
Thanks
https://github.com/Trigger2991/SFDC-JSON-Parser
https://wedgecommerce.com/json-parsing-salesforce/
http://blog.adityanaag.com/22/Parsing+JSON+the+easy+way+using+Apex
https://stackoverflow.com/questions/46579691/salesforce-parsing-json-with-apex-using-rest-callout-and-json2apex
https://opfocus.com/json-deserialization-techniques-in-salesforce/
Controller : Wrapper Class JSON Response
VF Page
Any Idea??
Thanks