Visual Builder

Get Involved. Join the Conversation.

Topic

    Venkata Thota
    Calling parametrized REST url from VBCS
    Topic posted July 1, 2018 by Venkata ThotaBlue Ribbon: 750+ Points, tagged Action Flows, Business Objects, Custom Code, Layout, REST, Services 
    626 Views, 2 Comments
    Title:
    Calling parametrized REST url from VBCS
    Summary:
    Calling parametrized REST url from VBCS
    Content:

    Hi

    I have the below requirement

    1) Landing page has text box, button, table format for output.

    2) when I click the button, it will take the text from text box and call below url, and show the results below as table. Attached screen shot for reference.

    https://xxxxxxxxxx.oraclecloud.com:443/ic/api/integration/v1/flows/rest/BRM_GET_ACCOUNT_DETAILS/1.0/accounts/{accid}

    How to pass the input text to the above url accid? Also need to pass authentication to fetch the values from URL.

    It could be great if any javaScipt exist OR suggest any simple solution.

    Thanks

    Venkat..

    Image:

    Comment

     

    • JT Thomas

      Hi Venkat,

      Take a look at this blog post which describes the steps to accomplish a similar task:

      https://blogs.oracle.com/vbcs/connecting-to-an-external-rest-api-twitter-in-a-visual-builder-cloud-service-application

      ~/jt

       

    • Venkata Thota

      Hi Thomas

      Thanks for reply. However I found the solution in below link.

      https://blogs.oracle.com/vbcs/single-page-master-detail-in-vbcs

      Thanks

      Venkat..