Exposing IFS APIs and invoke as REST services

  • 18 April 2021
  • 3 replies
  • 876 views

Badge +15

From APP10 UPD8 onwards, it is possible convert the Aurena projections as REST APIs and invoke them externally for integration purposes.

Aurena API explorer page in solution manager can be used to configure them.

You can enable a selected projection for Compatibility application type in the API explorer

 

Once the API is exposed it can be invoked  by a third party application.To test this postman software can be used.

Open Postman Software 

Use the correct GET call
https://cmbgse1916.corpnet.ifsworld.com:48080/int/ifsapplications/projection/v1/GLVoucherRowsAnalysis.svc/GenLedVoucherRows

Authorization should be basic
No other parameters required
Click Send

 


This topic has been closed for comments

3 replies

Userlevel 4
Badge +9

Hi Manoj,

 

This is great news - however struggling to get this to work (on IFS10 - UPD9)

 

Even after i enabled the projection for Compatibility application type in the API explorer,  it still shows error “Error 401--Unauthorized”

(The request requires user authentication. The response MUST include a WWW-Authenticate header field (section 14.46) containing a challenge applicable to the requested resource. The client MAY repeat the request with a suitable Authorization header field (section 14.8). If the request already included Authorization credentials, then the 401 response indicates that authorization has been refused for those credentials. If the 401 response contains the same challenge as the prior response, and the user agent has already attempted authentication at least once, then the user SHOULD be presented the entity that was given in the response, since that entity MAY include relevant diagnostic information. HTTP access authentication is explained in section 11.)

 

Any idea where this goes wrong?

(The user is having IFSALL permission set)

Userlevel 4
Badge +9

And then i found the issue - it was in the URL we had.

The link we used, contained “Main” instead of “INT”

 

problem solved.

Badge +4

Hi Manoj Ruwanhewa,

 

Is there any way to Include in Compatibility Application Type  any projection from IEE.
I don’t have an access for API Explorer in APP10 UPD6.

 

Thanks