What OData Protocol Versions Are Supported?
What Is OData?
OData is an open standard for building and consuming RESTful APIs. It defines a query language to send and retrieve data via HTTP and to perform operations on data.
There are two widely used versions of the protocol: OData v2 and OData v4. The latter comes with more and improved functionality. Full details on the standards are to be found in the documentation.
Entity Data Model (EDM)
You can use the SAP Cloud SDK generator to generate a typed API client for any OData service.
The necessary service definitions use the
.edmx file format and contain metadata of OData service.
If you have access to the service, you can obtain them by navigating to the
The generator can be called via a command-line interface or programmatically.
The SAP Cloud SDK simplifies connectivity to SAP-enabled OData services via type-safe abstractions over destinations, authentication, and related concepts.