Skip to main content
Solved

Perform data transactions on Custom Logic Units via REST API?

  • April 30, 2021
  • 4 replies
  • 367 views

Forum|alt.badge.img+9

Hi, we have a Custom Logical Unit in our Apps 10 U9 environment and would like to be able to insert data into it from another application via a REST API call.

Is it possible to do this and expose a CLU via the REST API?

Our CLU is a “staging” table where once data is imported into it (currently via migration job from a flat file), additional processing is done (again via migration jobs).

I’d like to get rid of the flat file and data import migration jobs and just insert the data directly into the CLU via API call.

If it is, can someone point me in the direction of where to find the documentation on how to do this, if it exists?

Best answer by Rifki Razick

Hi,

This should be possible by configuring a new projection using Projection Configurations and attaching the custom entity (LU) to it. The new configured projection would then expose the REST API.

Please have a look at:

https://docs.ifs.com/techdocs/Foundation1/045_administration_aurena/220_Configuration/300_projection_configurations/

This topic has been closed for replies.

4 replies

Rifki Razick
Hero (Employee)
Forum|alt.badge.img+9
  • Hero (Employee)
  • Answer
  • April 30, 2021

Hi,

This should be possible by configuring a new projection using Projection Configurations and attaching the custom entity (LU) to it. The new configured projection would then expose the REST API.

Please have a look at:

https://docs.ifs.com/techdocs/Foundation1/045_administration_aurena/220_Configuration/300_projection_configurations/


Rifki Razick
Hero (Employee)
Forum|alt.badge.img+9
  • Hero (Employee)
  • April 30, 2021

Please note that using the REST API for loading very large datasets may cause performance issues, so use this approach cautiously.


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • May 3, 2021

Thanks for the reply. I will do some testing over the coming weeks and attempt to set this up.

Cheers


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • May 4, 2021

Can confirm this worked beautifully!