# Problem retrieving information from API in Form

**URL:** https://community.ofelia.com/t/problem-retrieving-information-from-api-in-form/9507
**Category:** Q&A
**Created:** [11 March 2019 10:27 UTC](https://community.ofelia.com/t/problem-retrieving-information-from-api-in-form/9507 "2019-03-11T10:27:59Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![j.kerdal](https://avatars.discourse-cdn.com/v4/letter/j/a4c791/32.png) [@j.kerdal](https://community.ofelia.com/u/j.kerdal)
#### Post date: [11 March 2019 10:27 UTC](https://community.ofelia.com/t/problem-retrieving-information-from-api-in-form/9507/1 "2019-03-11T10:27:59Z")

</div>

Hi Guys,

&nbsp;

Last week I downloaded the Bonnitasoft Community Edition 7.8.3.

I am testing it followinf the Bonitasoft&nbsp;Bootcamp (https://www.bonitasoft.com/videos/bonita-camp-bonita-7-7).

Following exercise 3, I need to retrieve information from API to populate the approval form. In my case, it is not working:

Here are the form variables I have created:

requestor : External API \_&nbsp;../API/identity/user/{{request.requestorId}}

In a text box, I try to use it:\<b\> Requestor: \</b\> {{requestor.firstname}} {{requestor.lastname}}&nbsp;

It does not display the information in my form. If I test the REST url directly, the proper JASON object is retrieved.

Any idea is welcome

---

<div class="post-metadata">

### Author: ![system](https://europe1.discourse-cdn.com/flex013/uploads/community_bonitasoft/original/2X/6/6b7b18c0478f2645369e82e009b65e3b97f2cc12.svg) [@system](https://community.ofelia.com/u/system)
#### Post date: [3 April 2019 10:27 UTC](https://community.ofelia.com/t/problem-retrieving-information-from-api-in-form/9507/2 "2019-04-03T10:27:26Z")

</div>

To help figure out what happen I recommend to use the web browser tools (usually with F12 key shortcut) to display the HTTP request being sent from Bonita form to the Bonita Engine. You might get more details there.

Also you might want to share your process by exporting the diagram as a .bos file and use a service such as Google Drive, Dropbox… to share the file here.

Did you also define the `request` variable with type “External API”?  
Can you take a look at the web developers tools has mention above to see the result of the REST request to get the vacation request and requestor information?  
Also in your process definition did you named the business variable `request`?  
And in the BDM definition did you name the attribute of the vacation request `requestorId`?

I’m asking all those question because naming convention is used and if it’s not exactly the same name between what has been declared in process / BDM and what is used in forms it might lead to some issues.
