Question

IFS Connect - call IFS Rest API (APPS10 UPD13)

  • 22 December 2021
  • 3 replies
  • 527 views

Userlevel 5
Badge +9
  • Sidekick (Employee)
  • 50 replies

I would like to call IFS standard Rest API via IFS Connect - REST Transport Connector.

(eg, a json file inbound in FTP , and I pass it to REST API)

While, seems IFS doesn't support call itself's RestAPI.

It keeps getting error.

Is anyone know the correct setting?

My Setting:

 

Error:

 

to simpliy the issue, I changed the Auth from OAth2.0 to basic for that API

and succedd to call via Postman:

 


This topic has been closed for comments

3 replies

Userlevel 7
Badge +20

Hi @Shou 

 

I see you have used two content-type headers in routing address. that could be the issue. remove the content-type=text/plain and try again

 

Regards,

Damith

Userlevel 5
Badge +9

@dsj 

  Thanks for your reply.

  I tried a lot of pattern (even removed all header-paramemters) , but still same error.

  I think it may a bug of IFS.

Userlevel 7
Badge +20

Hi @Shou 

 

It could be because you are routing from FILE_IN to the rest endpoint. Have you tried to call the same rest api from plsql using plsql_rest_sender_api.call_rest_endpoint and what’s the result?

 

Otherwise, setJ2EE logging to debug and there you can see the raw http request including headers in the log. You might find what’s wrong with the request from that.

 

Cheers!

Damith