# Which components for calling REST endpoints in application

**URL:** <https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173>\
**Category:** \[Q&A\] Components, Datasets and Plug-ins\
**Created:** [May 15, 2024, 8:25am UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173 "2024-05-15T08:25:58Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![SvenDR](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SvenDR](https://community.novulo.com/u/SvenDR)\
**Post date:** [May 15, 2024, 8:25am UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/1 "2024-05-15T08:25:58Z")

</div>

Can you tell which components to install to be able to call REST End points using configuration in the application

---

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [May 15, 2024, 9:44am UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/2 "2024-05-15T09:44:57Z")

</div>

Hey Sven 🙂

I would recommend M10074 Novulo API Calls and responses. This component depends on M7899 Novulo Basic Calls and responses.  
It allows you to configure and debug call templates and group them in call template collections. This is an example call template:

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/1X/5b4eaf714efa2683f7945b64947bd8d24320d9ce.png)

You can execute test calls, create dynamic URLs, bodies and import the response and map it onto Novulo records, if you want.  
Furthermore, each call is logged and the response that has been received.

Once your calls are working, you might want to use M10388 Novulo Call template processes. It allows you to configure the execution of Novulo processes before/after building/processing.

Let me know if it works out or if you get stuck, I am happy to help 🙂

---

<div class="post-metadata">

**Author:** ![SvenDR](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SvenDR](https://community.novulo.com/u/SvenDR)\
**Post date:** [May 15, 2024, 10:56am UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/3 "2024-05-15T10:56:37Z")

</div>

Thanks Joachim,  
I will try this method in our solution. I seems a lot easier then building them in the architect

---

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [May 15, 2024, 11:34am UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/4 "2024-05-15T11:34:52Z")

</div>

Indeed, it is intended to be flexible and reusable for all kinds of calls, similar to what is possible with the postman UI. If you have any suggestions, let me know. We are currently improving this component on a weekly basis.

Using dynamic URL parameters and/or dynamic bodies can be challenging when you use it for the first time. I am happy to write more detailed instructions on that if you want 🙂

Also see: [Call Templates - Using call parameters in a call template export - #2 by j.batzke](https://community.novulo.com/t/call-templates-using-call-parameters-in-a-call-template-export/165/2)

---

<div class="post-metadata">

**Author:** ![SvenDR](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SvenDR](https://community.novulo.com/u/SvenDR)\
**Post date:** [May 15, 2024, 12:09pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/5 "2024-05-15T12:09:55Z")

</div>

Hi Joachim, I got stuck with the generation/installation. I had a few errors and fixed them with the suggested solutions. Can you check order 44564 what the logs mean why the generation is not succeeded? Don’t know if it is caused by the implementation of the different models for REST calls or the change I made in M10079

---

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [May 15, 2024, 12:33pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/6 "2024-05-15T12:33:41Z")

</div>

> [@SvenDR](#):
>
> 44564

I do not have access to order with ID 44564, unfortunately. Please contact your partner manger.

---

<div class="post-metadata">

**Author:** ![SvenDR](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SvenDR](https://community.novulo.com/u/SvenDR)\
**Post date:** [May 15, 2024, 1:13pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/7 "2024-05-15T13:13:34Z")

</div>

> [@j.batzke](#):
>
> 10074

The problem is somewhere with the implementation of the different models. The suggested models are:

 ![image](https://canada1.discourse-cdn.com/flex008/uploads/novulo/original/1X/97d52e08c8a2ecc3fb19acd0accf78f644398ef3.png)  
Is this correct?

And then I again get an other error: No producer of N\_WebSiteUser  
But all the suggested fixes are either specific made models OR removing one of the ones above OR using novulo cms component  
I tried to add m7708 Novulo Dummy N\_Websitegebruiker as a fix but then the generation of the solution failes

---

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [May 15, 2024, 1:19pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/8 "2024-05-15T13:19:21Z")

</div>

Hey!

The dependency of 8737 and 3624 is correct and desirable.  
8737 allows you to configure custom JSON bodies  
3624 allows you to import the responses that you receive as Novulo records.

However, 8737 should not depend on CMS components, in my opinion.  
I will investigate this issue with the goal to solve the undesirable dependencies.

---

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [May 15, 2024, 1:43pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/9 "2024-05-15T13:43:37Z")

</div>

Please add the new component M10485 r3 “Novulo Website user dummy” to the cart.  
It should fix the undesirable dependency from 3031 Novulo CMS.

Let me know if you encounter any further issues/errors, good luck 🙂

---

<div class="post-metadata">

**Author:** ![SvenDR](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SvenDR](https://community.novulo.com/u/SvenDR)\
**Post date:** [May 15, 2024, 4:58pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/10 "2024-05-15T16:58:23Z")

</div>

I added that component but it still fails when generating with the following log:  
Generation finished with this error log (last 1000 characters):  
odel at Novulo.Connector.ApplicationServerConnector.callProcess(String processName, Dictionary`2 parDict) at Novulo.Connector.ApplicationServerConnector.GetRevisionRecord(Int32 modelID, Nullable`1 revision)  
at Novulo.Connector.ApplicationServerConnector.loadWithoutLock(Int32 modelID, Nullable`1 revision)  
at Novulo.Generator.Generator.LoadSystem()  
at Novulo.Generator.Generator.Start()  
at Novulo.Generator.GeneratorHTTPHandler.ProcessRequest(HttpContext context)  
Error processing queue item fd91dca0-35b2-4cb1-b78e-eac87d3f75ca: System.Exception: Generation failed  
at GeneratorQueueService.Queue.QueueItem.Start() in C:\Users\wim\Documents\Visual Studio 2017\Projects\NovuloGeneratorQueueService\GeneratorQueueService\Queue\QueueItem.cs:line 214  
at GeneratorQueueService.Queue.QueueItem.\<\>c\_\_DisplayClass32\_0.b\_\_0() in C:\Users\wim\Documents\Visual Studio 2017\Projects\NovuloGeneratorQueueService\GeneratorQueueService\Queue\QueueItem.cs:line 257

---

<div class="post-metadata">

**Author:** ![j.batzke](https://yyz2.discourse-cdn.com/flex008/user_avatar/community.novulo.com/j.batzke/32/9_2.png) [@j.batzke](https://community.novulo.com/u/j.batzke)\
**Post date:** [May 15, 2024, 7:59pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/11 "2024-05-15T19:59:01Z")

</div>

This issue seems to be related to the generation and not the chosen components, if I am not mistaken.  
@Wim do you know how to solve the generation error?

---

<div class="post-metadata">

**Author:** ![Wim](https://avatars.discourse-cdn.com/v4/letter/w/da6949/32.png) [@Wim](https://community.novulo.com/u/Wim)\
**Post date:** [May 15, 2024, 8:29pm UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/12 "2024-05-15T20:29:06Z")

</div>

The generator queue that was used here appears to have no rights to open this model. It should, so I have corrected this.

---

<div class="post-metadata">

**Author:** ![SvenDR](https://avatars.discourse-cdn.com/v4/letter/s/13edae/32.png) [@SvenDR](https://community.novulo.com/u/SvenDR)\
**Post date:** [May 16, 2024, 7:08am UTC](https://community.novulo.com/t/which-components-for-calling-rest-endpoints-in-application/173/13 "2024-05-16T07:08:41Z")

</div>

Thanks guys, the installation is done and I can play around now!
