How to consume a custom rest API from ADF application?

cancel
Showing results for 
Search instead for 
Did you mean: 
gtarafder
Active Member

How to consume a custom rest API from ADF application?

Jump to solution

I have written a custom rest API in Java for ECM. But not able to see any proper way to consume it from ADF application.  How can I consume a custom rest API from ADF application? Is there any dynamic interface to consume rest service? Please help. 

1 Solution

Accepted Solutions
roberto_gamiz
Established Member II

Re: How to consume a custom rest API from ADF application?

Jump to solution

Hello,

In this thread you can find the answer to your question.

How to Call Remote API from ADF  

You must use the Alfresco Api Service to access an initialized AlfrescoJSApi instance and then call the method executeWebScript.

https://www.alfresco.com/abn/adf/docs/core/alfresco-api.service/ 

Regards,

View solution in original post

2 Replies
roberto_gamiz
Established Member II

Re: How to consume a custom rest API from ADF application?

Jump to solution

Hello,

In this thread you can find the answer to your question.

How to Call Remote API from ADF  

You must use the Alfresco Api Service to access an initialized AlfrescoJSApi instance and then call the method executeWebScript.

https://www.alfresco.com/abn/adf/docs/core/alfresco-api.service/ 

Regards,

gtarafder
Active Member

Re: How to consume a custom rest API from ADF application?

Jump to solution

Thanks a lot.