cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring homepage and redirect URL for integration third party API through SAP destination

offline84
Member
0 Kudos

Hi,
I want to integrate the Zoho invoice API through a destination in the BTP platform in my sapui5 application, but to achieve that I first have to register a new client on the API console. Previously, I used the self-client option of zoho which worked perfectly for GET requests, but when I tried POST request, it gave me zoho error code 9, that states I am not authorised to perform the operation. I found out that the self client is for testing purposes only, so I have to register my app with another client. The other client registrations demands that I configure a homepage URL and a redirect URL.

What values do I fill in there, and how do I configure this in my application? Because as far as I know is the url of a destination dynamically created.

I have contacted Zoho developer support several times, but that was extremely uneventful, with support citing parts of their documentation, avoiding the questions posed.

ManolV
Advisor
Advisor
0 Kudos

Hi offline84 ,

In a destination in BTP, you can configure the needed technical connection attributes as either the already dedicated and well-known attributes or use the option for additional attributes. The handling of the result is client specific, i.e. one app using the destination can interpret it in a specific way while another one - differently.

The URL attribute in the destination can be configured with the complete URL (incl. path, fragment, etc.) but it can also be configured with root URL and then the app can use the same destination for accessing multiple paths and fragments for the same URL. It is up to the app the way how it's written in terms of logic.

How is your "sapui5 application" handling the destinations - do you rely on your app backend logic or do you use any ready for use app or a service? If it's your own app backend, then it's more in control on your side. If it's any ready for use app or a service, then you'd need to see what exactly is supported by those in terms of handling and align the config accordingly.

Kind Regards,
Manol

Accepted Solutions (0)

Answers (0)