编辑

Web API data operations samples

Use these Microsoft Dataverse Web API data operations samples to learn how to work with table rows, query data, apply conditional operations, and call functions and actions in C#, PowerShell, and JavaScript. Compare the implementations and choose the sample that fits your development scenario.

Dataverse Web API samples by language

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

Dataverse Web API sample operation groups

The following table classifies the samples by demonstrated operation groups.

Group Description
Basic Operations 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

Query Data How to perform basic query requests.

More information:
- Query Data using the Web API
- Retrieve and execute predefined queries

Conditional Operations 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

Functions and Actions How to use bound and unbound functions and actions, including custom actions.

More information:
- Use Web API functions
- Use Web API actions

Table schema operations 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