編輯

共用方式為


Web API data operations samples

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

This topic introduces language neutral (HTTP request/response) examples for Dataverse web API.

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

Language Sample article
C# C# Web API samples
PowerShell PowerShell Web API samples
Client-side JavaScript Client-side JavaScript Web API samples

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

Web API table schema operations sample How to create, update, and delete table, column, and relationship definitions. More information: Use the Web API with table definitions

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 table schema operations sample