Web API data operations samples

Note

Unsure about entity vs. table? See Developers: Understand terminology in Microsoft Dataverse.

You can use the Microsoft Dataverse Web API with a wide variety of programming languages or libraries. This guide provides a number of code samples demonstrating how to use the Web API in 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 samples list

The following table describes the Dataverse Web API samples and their language-specific implementations.

Language-neutral description C# implementation Client-side JavaScript implementation
Web API Samples (this topic) Web API Samples (C#) Web API Samples (Client-side JavaScript)

Groups of operations

The following table classifies the samples by demonstrated operation groups.

Group Description
Web API Basic Operations Sample How to perform basic CRUD (Create, Retrieve, Update, and Delete) and associative operations.

More information:
- Create a table row using the Web API
- Retrieve a table row using the Web API
- Update and delete table rows using the Web API
- Associate and disassociate table rows using the Web API

Web API Query Data Sample How to perform basic query requests.

More information:
- 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 table row 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.

More information:
- 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.
Web API Samples (Client-side JavaScript) Under construction.

See also

Use the Dataverse Web API
Web API Basic Operations Sample
Web API Query Data Sample
Web API Conditional Operations Sample
Web API Functions and Actions Sample
Web API Samples (C#)