cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Process Automation Action Open API

parab_neha
Explorer
926

Hello,

In my existing workflow service , I have service task which calls odata service(Post method) from ECC system. Destination is created using Basic authentication. As I understood, similar is possible with action project. As a first step of creating action project I need to provide openapi spec of json type. How to get this open api file from existing odata service ? How can I create API from odata service ?

Thanks,

Neha Rane.

tobias_breyer
Advisor
Advisor
0 Kudos

Hi Neha,

have you checked the respective API page on api.sap.com? Technically, it is possible that besides the OData-related EDMX format, API documentation can also be made available in other formats, like OpenAPI YAML or JSON.

Regards,

Tobias

parab_neha
Explorer
0 Kudos

Hi Tobias,

I am using custom odata service . So it is not available on api.sap.com.

Thanks,

Neha Rane

View Entire Topic
nishantbansal91
Active Contributor
0 Kudos

Hello Neha,

I also have the similar case. I need to consume the approvers from API( ABAP on Cloud Service) into process automation.

I am trying to consume it via action project. But I didn't get how to generate the open API specification for custom oData service.

Which information needs to pass to below tool.

I tried to pass the metadata file of the service in the .xml format and it downloaded the empty file

https://convert.odata-openapi.net/

Karthik-Thiru
Product and Topic Expert
Product and Topic Expert

Hi Nishant,

It is not needed anymore to generate Open API spec from the OData metadata. Actions already supports direct upload of OData specification file. You can download the $metadata response of your OData API into a .xml file and then upload this file during the Action creation.

Additionally, soon there would be a feature to create Actions from a BTP destination pointing to a OData API, which would be simpler than the current approach to download and upload specification file.