cancel
Showing results for 
Search instead for 
Did you mean: 

B1if HTTP call

ffabiano
Explorer
0 Kudos

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

ffabiano
Explorer
0 Kudos

Adding screenshoot of the HTTP call

Accepted Solutions (0)

Answers (2)

Answers (2)

nidhisingh14
Advisor
Advisor

Hi ffabiano84

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

Kind Regards
Nidhi Singh
SAP Business One Support

ffabiano
Explorer
0 Kudos

Hi nidhisingh14 . 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.

ffabiano
Explorer
0 Kudos

Hi nidhisingh14 . 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.

dzani
Discoverer

Did you find solutions for this?

waqas_majeed1993
Discoverer
0 Kudos

Did you find the solution for that?