Hello,
I need to call ION API (url:7443/.../bc) POST method using H5 script on premise env.
I am receiving error " IonApiService is not defined" .
Some one can please help and advise why we are encountering this error ?
Thank you.
I am not an M3 expert, but normally calling an ION API from any client would mean they must be registered as an "Authorized app". And depending on what type of app H5 is - either a desktop client or mobile or calling on behalf of user from a pre-authenticated Ming.le/ Portal session or a backend process or service, you would follow slightly different trajectories to authenticate and make your call. You can refer to the video "How to call an ION API" that explains all such patterns: https://youtu.be/RJCEsnzSdIM ; You can get code samples for these authentication patterns from our market place: https://market.infor.com/en-US/apps/356658/infor-os-ion-api-gateway-sdk Hope this helps.
are getting this error in the console or your editor ?
Hi ,
this error in the console.
I have attached a sample, please check that [View:/cfs-file/__key/communityserver-discussions-components-files/75/H5SampleIonApiService.txt:320:240]
We tried the H5SampleIonApiService sample codes, it works well in cloud suite but on onpremise version, we have problems.
Actually we called the API using javascript Fetch and it works fine.