cancel
Showing results for 
Search instead for 
Did you mean: 

how to call a custom api using this.alfrescoApiService.getInstance().

dharmraj
Confirmed Champ
Confirmed Champ

I have created jar for custom api . so i don't want to call using custom http . I want to call using alfrescoApiService.

oauth2Auth for AAE  but i am not using AAE.

Which one is correct ?

1. this.alfrescoApiService.getInstance().oauth2Auth.callCustomApi()

2. this.alfrescoApiService.getInstance().authClient.callCustomApi()

3. this.alfrescoApiService.getInstance().bpmClient.callCustomApi()

How  to pass complete Url with host and port number using callAPI() method ?

1 REPLY 1

dvuika
Star Collaborator
Star Collaborator

You can search the code in the GitHub repository to see how the apis are used by the components:

https://github.com/Alfresco/alfresco-ng2-components/search?l=TypeScript&q=callcustomapi