Web API Data operations Samples
Effective November 2020:
- Common Data Service has been renamed to Microsoft Dataverse. Learn more
- Some terminology in Microsoft Dataverse has been updated. For example, entity is now table and field is now column. Learn more
This article will be updated soon to reflect the latest terminology.
You can use the Microsoft Dataverse Web API with a wide variety of programming languages or libraries. This guide provides a matrix of samples demonstrating how to use the Web API in a number of different ways. This topic introduces the samples available for each group of operations and how to perform these operations using different languages or libraries.
Web API Sample Matrix
The following table describes the Dataverse Web API samples and their language-specific implementations.
The following tables categorize the sample topics by the groups of operations demonstrated and by implementation issues.
Groups of operations
The following table classifies the samples by demonstrated operation groups.
|Web API Basic Operations Sample||How to perform basic CRUD (Create, Retrieve, Update, and Delete) and associative operations.
- Create an entity using the Web API
- Retrieve an entity using the Web API
- Update and delete entities using the Web API
- Associate and disassociate entities using the Web API
|Web API Query Data Sample||How to perform basic query requests.
- Query Data using the Web API
- Retrieve and execute predefined queries
|Web API Conditional Operations Sample||How to perform certain categories of operations that are conditionally based upon the version of the entity record contained on the server and/or currently maintained by the client. More information:Perform conditional operations using the Web API|
|Web API Functions and Actions Sample||How to use bound/unbound functions and actions, including custom actions.
- Use Web API functions
- Use Web API actions
Language or library
The following table lists the topics that cover the common language- or library-specific implementation issues.
|Language or library||Description|
|Web API Samples (C#)||Describes the common elements used in this group of C# samples which demonstrate operations using basic .NET classes and a minimum of helper libraries.|