You need to sign in to do that
Don't have an account?

How to send the data in JSON format to external system via custom button click
I need to create a custom detail page button on the Case object.
When this button is clicked it validates data to be sent via JSON to API(external system)
When JSON is sent a success response should be received/confirmed
I have following things with me:
client_id
client_secret
Third party URL
What is the way to implement it please explain in detail. Thanks
When this button is clicked it validates data to be sent via JSON to API(external system)
When JSON is sent a success response should be received/confirmed
I have following things with me:
client_id
client_secret
Third party URL
What is the way to implement it please explain in detail. Thanks
#1 You ned JSON structure define to be sent and use by the third party (Using wrapper class or simple List map can be used)
#2 Create button and call the third party API. Also embed the api in remote site setting
#3 Use the apex Req/Res code to do the same.
Once validated its fine else try debugging the same using postman/other chrome req/ tools