One of the common scenarios is to work with CRM Web APIs to get details of records that are present in Dynamics CRM. To test quickly CRM WEB API requests, CRM REST Builder was used, which needs to be installed inside Dynamics CRM.
Navigate to the following url https://github.com/jlattimer/CRMRESTBuilder/releases and download CRM REST Builder v184.108.40.206 release, CRMRESTBuilder_2_6_0_0_managed.zip zip file as shown in the below figure.
After Step 1, we need to open Dynamics CRM and navigate to solutions as shown in the below figure.
After Step 2, click on import and import REST Builder Managed zip file which was downloaded in Step 1 and click on Next as shown in the below figure.
After Step 3, click on Import as shown in the below figure.
After Step 4, respective managed solution will be imported with a success message, click on Close as shown in the below figure.
After Step 5, navigate back to the CRM Solutions window and refresh the page to see newly installed CRM REST Builder near to the Ribbon as shown in the below figure.
After Step 6, now click on CRM REST BUILDER and it opens a new window as shown in the below figure.
After Step 7, try retrieve multiple request action with output format as jQuery on Account entity to get required jQuery code to use from web resource in Dynamics CRM also select AccountId from Fields to Select section and click on Create Request as shown in the below figure.
After Step 8, screen changes to another screen with Execute Code (Read-Only) button at the top with Code(Read-Only) Section expanded with equivalent jquery code , click on Execute Code Button to get multiple Account Id’s for the selected Account as shown in the below figure.
After Step 9, we can observe list of Account ID’s retrieved as shown in the below figure.
- Make sure to refresh page as specified in Step 6.
- As an example just explained multiple request , similarly with the help of other actions Retrieve Single,Create,Update,Delete,Associate,Disassociate different code snippets can be generated and for quick testing.
Conclusion: In this way , one can easily query CRM Data using CRM REST Builder to get results and also use automatically generated code.