Expose OData endpoints from data entities
OData is a standard protocol for creating and consuming data. OData
provides a protocol that is based on Representational State Transfer
(REST) for create, read, update, and delete (CRUD) operations. OData
applies web technologies such as HTTP and JavaScript Object Notation
(JSON) to provide access to information from various programs. OData
allows you to interact with data by using RESTful web services. The public OData service endpoint enables access to data in a consistent manner across a broad range of clients. An OData REST endpoint exposes all data entities that are selected as IsPublic
in the AOT in Visual
Studio. The OData REST endpoint also supports CRUD functionality that
you can use to insert and retrieve data from the system.
Insomnia is a tool that is often used to interact with RESTful services (such as OData) in scenarios that involve the development and testing of application programming interfaces (APIs).
OData entities are based on an updatable view. When the
IsPublic
property for an updatable view is set to
True, then that view is exposed as a top-level OData entity. Links
between OData entities are described by navigation properties, which
detail the navigation from one end of an association to the other.
For more information about how to query finance and operations apps by using Insomnia, go to Use Insomnia with Dataverse Web API.