<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: API REST integration (new UI) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13979413#M2038757</link>
    <description>&lt;P&gt;Hello there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted to jump also to this topic as the new UI was causing me some headache as well when it came out. I didn't bother too much with it, rather just duplicated some old REST API resources, and could keep on with those.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But I did find some pretty good use of it in finally being able to implement `PATCH` requests to a Xano backend.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some useful thoughts could potentially be:&amp;nbsp;&lt;BR /&gt;1. for simple query parameter setting you can use the `APPEND_URL_PARAMETERS()` formula to easily combine an object or variable into a GET query string.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2. to ensure that your backend (in our case Xano) can identify the content of a POST/PUT/PATCH request, we found it useful to also wrap the request body into an `ENCODE_JSON()` formula.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;3. this is something I plan on exploring a little bit more: it seems that this new UI also enables the REST api to be used with Data Components (even including pagination)&lt;BR /&gt;&lt;BR /&gt;I honestly hope that the UI can get slightly better and there can be more documentation about this kind of implementation, but until then this page helped me a lot:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://help.sap.com/docs/build-apps/service-guide/sap-btp-destination-rest-api?locale=en-US" target="_blank" rel="noopener"&gt;SAP BTP REST direct integration&lt;/A&gt;&amp;nbsp;as it seems that the new universal REST API integration is just an SAP BTP REST integration, without predefined routes. Also I presume that as we can slowly notice other significant UI changes, I presume that the REST api integration also goes into this direction:&amp;nbsp;&lt;A href="https://help.sap.com/docs/build-apps/service-guide/configuring-additional-http-request-headers?locale=en-US" target="_blank" rel="noopener"&gt;SAP Build Help centre&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jan 2025 15:46:00 GMT</pubDate>
    <dc:creator>mihaly-toth-nc</dc:creator>
    <dc:date>2025-01-07T15:46:00Z</dc:date>
    <item>
      <title>API REST integration (new UI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13969522#M2038754</link>
      <description>&lt;P&gt;Hi. I'm facing a problem when trying to use the new UI in "Universal REST API Integration".&lt;/P&gt;&lt;P&gt;Where do I can put query parameters in a GET Method?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ramg_0-1734717435438.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/204139iDE5D7E41BD858E90/image-size/medium?v=v2&amp;amp;px=400" alt="ramg_0-1734717435438.png" title="ramg_0-1734717435438.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 17:57:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13969522#M2038754</guid>
      <dc:creator>ramg</dc:creator>
      <dc:date>2024-12-20T17:57:55Z</dc:date>
    </item>
    <item>
      <title>Re: API REST integration (new UI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13969722#M2038755</link>
      <description>&lt;P&gt;Hi, I too am facing issues and sadly haven't gotten any responses on here. However for your situation I'd like to help as best I can by showing you how I handle this for my workflow&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly you'd want to set up your Query parameters from within the &lt;STRONG&gt;Base Api&lt;/STRONG&gt; menu. You can then refer to these parameters on all menus depending on when you need them.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-21 at 11.11.46 AM.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/204209i55BE4E03288637D5/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2024-12-21 at 11.11.46 AM.png" title="Screenshot 2024-12-21 at 11.11.46 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;As for the actual binding, I use the &lt;EM&gt;query.aditionalInputs&lt;/EM&gt; Formula or select from the &lt;STRONG&gt;Data query&lt;/STRONG&gt; on the left side within the formula input screen. I then add these paramaters within the &lt;STRONG&gt;Relative path and query&lt;/STRONG&gt; to the URL using all the conventional syntax of the formula field (plus sign, string &amp;amp; variable notations etc..)&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-21 at 11.21.41 AM.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/204213iB35032980EA98552/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2024-12-21 at 11.21.41 AM.png" title="Screenshot 2024-12-21 at 11.21.41 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Additionally if you are using Firebase as a Database and your data lies within documents, you might need to specify this through the API response within the &lt;STRONG&gt;response mapper &lt;/STRONG&gt;formula input i.e &lt;EM&gt;response.data.&lt;STRONG&gt;documents&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-21 at 11.29.59 AM.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/204210iF94DD69D68E8C891/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2024-12-21 at 11.29.59 AM.png" title="Screenshot 2024-12-21 at 11.29.59 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There could also be something I missed or better ways to do a step I explained therefore I'm open to corrections but I hope you find your solution through this response!&lt;/P&gt;&lt;P&gt;While I'm here I would also like to take the chance to ask a question I had previously asked hopefully some passing readers might offer a solution. That being said I'm facing issues configuring a universal REST API &lt;STRONG&gt;Create&lt;/STRONG&gt; request to my Firebase database using the &lt;STRONG&gt;POST&lt;/STRONG&gt; method specifically with configuring the schema and testing it. I can't seem to add formulas anymore and it seems like the payload is Different compared to the old API REST integration UI. For the exact same Data Entity I configured in an older application with the older UI still available, I get no errors, however with this new UI I get "Invalid" payload&lt;/P&gt;&lt;P&gt;Has anyone managed to get this to work with Firebase or offer any solutions to this?&lt;/P&gt;&lt;P&gt;MfG&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-21 at 11.42.37 AM.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/204212i2EDCED8EB5BD85D7/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2024-12-21 at 11.42.37 AM.png" title="Screenshot 2024-12-21 at 11.42.37 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Edit, Solved: &lt;/STRONG&gt;for anyone stumbling across this problem I had, I found a solution&lt;STRONG&gt;- &lt;/STRONG&gt;after tinkering about with the new UI. Request body mapper had to be set to &lt;EM&gt;query.record&lt;/EM&gt; so that the API recognizes the body request. regards&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot 2024-12-24 at 7.19.48 PM.png"&gt;&lt;img src="https://community.sap.com/t5/image/serverpage/image-id/205820i4256985E22D42585/image-size/large?v=v2&amp;amp;px=999" alt="Screenshot 2024-12-24 at 7.19.48 PM.png" title="Screenshot 2024-12-24 at 7.19.48 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 29 Dec 2024 23:53:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13969722#M2038755</guid>
      <dc:creator>Tinashe_Mukombe</dc:creator>
      <dc:date>2024-12-29T23:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: API REST integration (new UI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13969738#M2038756</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.sap.com/t5/user/viewprofilepage/user-id/175947"&gt;@Tinashe_Mukombe&lt;/a&gt;&amp;nbsp;for your quick answer.&amp;nbsp;&lt;BR /&gt;I'll try that but it shouldn't be the definitive solution.&lt;BR /&gt;The older interface was more clear and intuitive. Maybe this new one is in progress...&lt;/P&gt;&lt;P&gt;It's not common to have developers answers here. So we have to wait. This new interface looks like to have potential for example with formulas in endpoints.&lt;/P&gt;</description>
      <pubDate>Sat, 21 Dec 2024 12:33:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13969738#M2038756</guid>
      <dc:creator>ramg</dc:creator>
      <dc:date>2024-12-21T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: API REST integration (new UI)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13979413#M2038757</link>
      <description>&lt;P&gt;Hello there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just wanted to jump also to this topic as the new UI was causing me some headache as well when it came out. I didn't bother too much with it, rather just duplicated some old REST API resources, and could keep on with those.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But I did find some pretty good use of it in finally being able to implement `PATCH` requests to a Xano backend.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some useful thoughts could potentially be:&amp;nbsp;&lt;BR /&gt;1. for simple query parameter setting you can use the `APPEND_URL_PARAMETERS()` formula to easily combine an object or variable into a GET query string.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;2. to ensure that your backend (in our case Xano) can identify the content of a POST/PUT/PATCH request, we found it useful to also wrap the request body into an `ENCODE_JSON()` formula.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;3. this is something I plan on exploring a little bit more: it seems that this new UI also enables the REST api to be used with Data Components (even including pagination)&lt;BR /&gt;&lt;BR /&gt;I honestly hope that the UI can get slightly better and there can be more documentation about this kind of implementation, but until then this page helped me a lot:&amp;nbsp;&lt;BR /&gt;&lt;A href="https://help.sap.com/docs/build-apps/service-guide/sap-btp-destination-rest-api?locale=en-US" target="_blank" rel="noopener"&gt;SAP BTP REST direct integration&lt;/A&gt;&amp;nbsp;as it seems that the new universal REST API integration is just an SAP BTP REST integration, without predefined routes. Also I presume that as we can slowly notice other significant UI changes, I presume that the REST api integration also goes into this direction:&amp;nbsp;&lt;A href="https://help.sap.com/docs/build-apps/service-guide/configuring-additional-http-request-headers?locale=en-US" target="_blank" rel="noopener"&gt;SAP Build Help centre&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jan 2025 15:46:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/api-rest-integration-new-ui/m-p/13979413#M2038757</guid>
      <dc:creator>mihaly-toth-nc</dc:creator>
      <dc:date>2025-01-07T15:46:00Z</dc:date>
    </item>
  </channel>
</rss>

