cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is it possible to consume custom Sale Cloud services with Kyma?

Former Member

Accepted Solutions (1)

Accepted Solutions (1)

jamie_cawley
Product and Topic Expert
Product and Topic Expert
0 Likes

HI Ana-Maria,

When connecting C4C to kyma, the registration of the APIs is based on what is returned by the odata endpoint "/sap/c4c/odata/v1/c4codataapi/$metadata". The entities within this doc can then be consumed in kyma with the application connector feature of kyma handling the authentication aspects for you.

If you wanted to call a custom C4C service within kyma the features of the application connector would not be available, which would require you to add the authentication pieces into your code. So you can call the custom services, but it would be a little more work.

Regards,

Jamie

Former Member
0 Likes

Hi Jamie,

thanks a lot for your answer, the description of the note was a bit confusing for me. So basically, now I can consume any of the standard services/APIs with the help of Kyma. For custom services I would take care of the authentication myself.

Answers (1)

Answers (1)

brendan_dobbs
Associate
Associate

Hi Ana-Maria,

it's certainly possible to manually register APIs. There is documentation here that explains how to do that. I've created a repo here that include some instructions and scripts to help with registering the APIs. The API json file (c4c-v1-api.json) registers the v1 OData API but you can change the name, targetUrl etc to match your custom API.

Hope that helps.

Regards,

Brendan

Former Member
0 Likes

Thanks a lot, Brendan!