What is OData? REST Easy with Our Quick Guide (2024)

ProgressBlogs What is OData? REST Easy with Our Quick Guide

by Sumit Sarkar

Posted on November 09, 2016 0 Comments

What is OData? REST Easy with Our Quick Guide (1)

OData, or "SQL for the Web"—what is it? Do you need it? Here is a comprehensive guide to OData to help you answer these questions.

OData is a REST-based protocol for querying and updating data. It is built on technologies like HTTP, ATOM/XML and JSON. It is more flexible than other REST-based web services and provides a uniform way to describe the data and the data model for easy interoperability between data sources, applications, services and clients. Similar to ODBC and JDBC, OData gives you a single way of accessing various data sources.

Consumers of OData master one API and use it to consume multiple data sources. As a producer, OData relieves you from spending your resources to defining and maintaining data access and discovery API. OData is an OASIS standard and is beginning the standardization process with ISO. It defines the best practice for building and consuming RESTful APIs.

What is OData? REST Easy with Our Quick Guide (2)

Why Use OData?

With the vast amount of data from web browsers, mobile apps and business intelligence tools, how could you possibly combine all of this disparate data and make use of it in applications? The monumental task of crafting unique code for every different data source to create a unified, robust application discourages organizations from approaching serious application development.

What OData does is take this interconnected ecosystem of data from all these disparate sources and builds upon existing web standards to facilitate simple, high caliber data connectivity. These standards enable greater efficiency than ever before in everything from custom applications, to cloud storage, to content management.

The best part about OData is that it is basically a standardized REST interface. So, when you think OData, you should also think REST/JSON. This enables you to use the OData standards with any RESTful interface—whether you are programming in Android, iOS, Salesforce Connect or other similar interfaces.

Dissecting OData Technology

Feeds (collections of typed entries) are at the center of OData. Every entry is represented by a structured record with a key that holds a list of properties of both primitive and complex types. Entries can be part of a hierarchy and can also have related entries and related feeds through links. OData services also have the ability to expose Service Operations (simple, service-specific functions that accept input parameters and return entries or complex/primitive values).

In order to find the shape of an OData Service along with its structure, known links and service operations, OData services also expose a Service Metadata Document. These documents describe a given service’s Entity Data Model (the underlying abstract data model used by OData services to formalize the description of the resources it exposes).

What is OData? REST Easy with Our Quick Guide (3)

Four Fundamentals of OData

In its most basic form, the OData model is fundamentally broken down into four different pieces:

  1. The OData Data Model—The OData Data Model is a server-side model, meaning that the data set is only available on the server and the client only knows the currently visible (requested) data. Operations, such as sorting and filtering, are done on the server. The client sends a request to the server and shows the returned data.

    Another key aspect of the model is an OData metadata document. They describe the Entity Data Model (EDM) for a given service, which is the underlying abstract data model used by OData services to formalize the description of the resources it exposes.

  2. The OData Protocol—This enables clients to make requests and retrieve responses from an OData service. This includes CRUD operations and OData defined query language. An OData service can be represented in XML-based format defined by Atom/AtomPub or in JSON.
  3. OData Client LibrariesOData libraries enable you to quickly and easily access and produce OData APIs. They exist for all kinds of interfaces including .NET, Java, C++, JavaScript, Python, Objective C, iOS and more.
  4. An OData Service—Simple OData services may consist of just a feed. More sophisticated services can have several feeds, and in that case it is useful to expose a service document that lists all the top-level feeds so clients can discover them and find out the addresses of each of them. For example, this URI, http://services.odata.org/OData/OData.svc, identifies the service document for a sample OData service.

To fully understand OData and practice these concepts on your own in C#, Olingo JavaScript client, C++ or Node.js, or if you want to contribute to OData as an Open Source project, we advise you try OData.org’s interactive tutorial, Understand OData in 6 Steps.

Our Personal OData Story

OData, originally started by Microsoft in 2007, began to grow until the Microsoft team realized that for the standard to be fully embraced, it would need to move to Open Group (Open Standards Organization). Following this move, Microsoft approached our team at Progress DataDirect (known as the Switzerland of data access) to cosign the project. We believe in a future of open standards and writing them in such a way as to apply to as many data sources as possible.

We care about standards like OData, JDBC and ODBC and take part in their development and innovation because this is how we make the highest quality data connectivity products in the industry. We connect any data source to any application via OData, JDBC or ODBC.

Start Using OData

The OData standard is powerful. From producers to consumers, it offers tremendous benefits. Knowing this, what are your next steps? How do you expose your data as OData or consume it? That’s where our newest solution, Hybrid Data Pipeline, becomes your best friend.

Hybrid Data Pipeline

Hybrid Data Pipeline is the industry’s first lightweight, embeddable hybrid data access service. DataDirect Hybrid Data Pipeline will “disrupt the disruption” of cloud applications by providing direct SQL (ODBC or JDBC) or REST (OData) standards-based data access for hybrid cloud and on-premises architectures, completely changing the way cloud applications access external data. This solution is incredibly flexible and is hosted on your own servers.

You can learn more about Hybrid Data Pipeline in the video below—and don't forget to registerto watch our on-demandwebinar on the topic too.

Explore Hybrid Data Pipeline

What is OData? REST Easy with Our Quick Guide (4)

Sumit Sarkar

Technology researcher, thought leader and speaker working to enable enterprises to rapidly adopt new technologies that are adaptive, connected and cognitive. Sumit has been working in the data access infrastructure field for over 10 years servicing web/mobile developers, data engineers and data scientists. His primary areas of focus include cross platform app development, serverless architectures, and hybrid enterprise data management that supports open standards such as ODBC, JDBC, ADO.NET, GraphQL, OData/REST. He has presented dozens of technology sessions at conferences such as Dreamforce, Oracle OpenWorld, Strata Hadoop World, API World, Microstrategy World, MongoDB World, etc.

Next:

  • Webinar: New Data Pipeline Transforms How Clouds Access Data

Comments

Comments are disabled in preview mode.

Follow us viaRSS Feed

Topics
  • Application Development
  • Mobility
  • Digital Experience
  • Company and Community
    • DataDirect
    • MarkLogic
    • Semaphore
  • Security and Compliance
  • Infrastructure
    Management

Sitefinity Training and Certification Now Available.

Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.

Learn More

More From Progress

What is OData? REST Easy with Our Quick Guide (5)

Shadow Analytics: Why You Can’t Afford to Leave It Unchecked

What is OData? REST Easy with Our Quick Guide (6)

Then, Now and Beyond: The Future of Back Office Software

What is OData? REST Easy with Our Quick Guide (7)

2022 Progress Data Connectivity Report

Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

What is OData? REST Easy with Our Quick Guide (2024)

References

Top Articles
Feet to cm Conversion (ft to cm) - Inch Calculator
What is 5/16 as a decimal? (Convert 5/16 to decimal)
No Hard Feelings Showtimes Near Metropolitan Fiesta 5 Theatre
Craigslist Apartments For Rent Cheap
Jeff Liebler Wife
Dr Paul Memorial Medical Center
Top Scorers Transfermarkt
Nccer Log In
Ttw Cut Content
Does Cvs Sell Ulta Gift Cards
Elisabeth Fuchs, Conductor : Magazine : salzburg.info
Huniepop Jessie Questions And Answers
Overton Funeral Home Waterloo Iowa
Mugshots In Waco Texas
Kroger Liquor Hours
Pechins Ad
Elven Signet Osrs
Eotech Eflx Torque Specs
Scrap Metal Prices in Indiana, Pennsylvania Scrap Price Index,United States Scrap Yards
Death Valley National Park: The Complete Guide
Amex Platinum Cardholders: Get Up to 10¢ Off Each Gallon of Gas via Walmart Plus Gas Discount
Active Parent Aberdeen Ms
Dragon Ball Devolution 2 Unblocked
Free Time Events/Kokichi Oma
Pearl City Hall Pearl Ms
How to Start a Travel Agency: Steps and Tips | myPOS
Late Bloomers Summary and Key Lessons | Rich Karlgaard
Speedstepper
Top Chef Airer Nyt Crossword Clue
How to Choose Where to Stay When You Visit Pittsburgh
How To Create A Top Uber Boss Killer In POE 3.25 League?
454 Cubic Inches To Litres
Sim7 Bus Time
FedEx in meiner Nähe - Wien
Carlynchristy
Sveta Håkansson
Sherwin Williams Buttercream
Elaina Scotto Wedding
Boostmaster Lin Yupoo
Baroque Violin Shop Cincinnati Oh
Rub Md Okc
Smartmove Internet Provider
Directions To Lubbock
Workspace.emory.og
Is Chanel West Coast Pregnant Due Date
Georgiatags.us/Mvdkiosk
Craigslist Groton
my Control Vitality Female Support Complex (10 ml)
Ladyva Is She Married
Welcome to the Newest Members of the Lawrenceville School Faculty
Lharkies
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 6649

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.