In this blog, I am going to share the code snippet which can be used to do callout from Apex in order to search content on Box. You need to have access token in order to perform this callout.
To learn how to get access token from box, please refer Box and Salesforce Integration
Box provide content search API through which you can search for files and folders present in Box.
I have created a wrapper class in apex which will be used to parse the JSON response from Box.
Below is code snippet:
You can call this static method and pass the parameters to get results.
Hope this will help!!
To learn how to get access token from box, please refer Box and Salesforce Integration
Box provide content search API through which you can search for files and folders present in Box.
I have created a wrapper class in apex which will be used to parse the JSON response from Box.
Below is code snippet:
You can call this static method and pass the parameters to get results.
Hope this will help!!
No comments:
Post a Comment