Skip to Content

B1if HTTP call

Hi everyone,

I was traing to create a simple scenario which make a http call. however i always get:

com.sap.b1i.xcellerator.XcelleratorException: XCE212 Error while performing HTTP call; HTTP status is 403, Forbidden

The api require variable apikey that i am including in "query" field

Also i tried to include the Key in httpheader.apykey field and so more tries.

any idea how to include the apikey variable ?

Thanks in advance

regards

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 10, 2020 at 03:19 AM

    Hi Francisco Fabiano

    Please check https://www.youtube.com/watch?v=j70yxNGEWtA for http call scenario .

    Kind Regards
    Nidhi Singh
    SAP Business One Support

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Nidhi Singh . Thanks for you answer. I have already see that video, however it creating a Http Call where the user acces from a url to B1. And there is no authorization in that example

      I am trying to go in the other way. I mean when something happend in B1 make a http call (get o post) to an URL.

      The problem that i have is to don´t know how to complete the parameters to assign the "apikey" to the URL.

  • Posted on Jul 17, 2020 at 03:40 PM

    Hi Nidhi Singh . Thanks for you answer. I have already see that video, however it creating a Http Call where the user acces from a url to B1. And there is no authorization in that example

    I am trying to go in the other way. I mean when something happend in B1 make a http call (get o post) to an URL.

    The problem that i have is to don´t know how to complete the parameters to assign the "apikey" to the URL.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.