Skip to main content
Solved

How to Integrate IFS Cloud (23.2.10) with external application using RESTful API and Bearer Token Authentication

  • November 6, 2024
  • 2 replies
  • 190 views

pwlm
Hero (Partner)
Forum|alt.badge.img+11
  • Hero (Partner)
  • 70 replies

Simple Integration from IFS Cloud 23.2.10 to an application called Blackline that uses REST APIs.

 

This is the authentication method using Postman – everything is sent over in the message Body:

This returns a Bearer token.

 

Then I call an accounts reconciliation endpoint and authenticate using the Bearer token returned above, like so:

The message body contains the accounts information and amounts, like so:

(dummy data)

C0004 9001        AT020 1102  BK    12111                   BKD - Cash - Group      Cash  A     Asset TRUE  TRUE  GBP   USD      06/30/2018  10000.00    12000.00    11000.00

 

I believe I should be able to create a Routing Address like this:

Link this to a Routing Rule and then create a procedure in a package (using Dev Studio) that uses the PLSQL_REST_SENDER_API.Call_Rest_Endpoint method to create the PUT message, construct the message body with accounts data (from a SQL statement) and then send to IFS CONNECT to be picked up by the routing address/rule above.

 

This routine will need to be scheduled to run once or more times per day with the facility to be triggered manually by a user if needed – which I would normally setup as a Scheduled Task in IFS.

 

I am not expecting a finished product but hopefully someone may have some time for some pointers or a similar example they can share 😊

Best answer by dsj

@kvbe Glad that you found the post so quickly 😁

View original
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+10
  • Hero (Partner)
  • 187 replies
  • November 7, 2024

 

@pwlm  I think @dsj to the rescue? 

https://dsj23.me/2024/11/07/quick-tips-for-ifs-cloud-integration-development-and-troubleshooting/

 

Could it be you have to add a property name = ifs.includeClientCredentials?

(All credits to @dsj for this nice blog article)

 

 

dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 844 replies
  • Answer
  • November 7, 2024

@kvbe Glad that you found the post so quickly 😁


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings