Skip to Content
avatar image
Former Member

Error in Channel Using SFSF REST Adpter While Calling LMS APIs (SearchStudents)

Hi PI Experts

I created 2 simple interfaces, In first interface, I used the following URL

https://<LMS_SERVER>/learning/public-api/rest/v1/current-user/curricula?creationDate=1400507439999∾tive=true in Resource Path in sender channel using SFSF REST adapter.

This interface works fine. However when I tried the URL below to search Students

https://<LMS_SERVER>/learning/odatav4/searchStudent/v1/Students?$filter=criteria/isActive%20eq%20true

It throws the error below

com.sap.aii.adapter.sfsf.ra.xi.util.SFSFAdapterException: REST_CALL_ERROR:An error occurred while calling rest service. Please check the logs.

I have tried all permutations and combinations by creating a synchronous interface and putting the API in receiver channel instead of the sender but it throws the same error.

Is there anyone who has been able to call the LMS APIs successfully? Please assist.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 07 at 01:33 PM

    Former Member

    Hi Sonal,

    Could you please help if you were able to resolve that issue and how?

    Alim

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 17 at 01:32 AM

    Hi All,

    My colleague found SAP NOTE 2549565 and it says that ODATA v4 calls were not supported by the current SFSF Adapter with Rest Protocol. Please see below details.

    When should you use SFSF Adaptor? SFSF Adaptor allows for SOAP and REST calls and with new extensions can make OData calls such as those made to Success Factors EC OData API. However, it does not support newer OData v4 calls which means it no longer supports integration to LMS OData API until it gets upgraded and it becomes compatible with the latest OData libraries (v4 onwards).

    Why should you use newer OData/REST Adaptor? The newer adaptor supports OData V4 and gives you free access to consume all available LMS OData APIs where all operations are available.

    Regards,

    Rigie

    Add comment
    10|10000 characters needed characters exceeded