Share via


Web API Samples

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

You can use the Microsoft Dynamics 365 Web API with a wide variety of programming languages or libraries. The Microsoft Dynamics 365 SDK 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 Dynamics 365 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)

Web API Basic Operations Sample

Web API Basic Operations Sample (C#)

Web API Basic Operations Sample (Client-side JavaScript)

Web API Query Data Sample

Web API Query Data Sample (C#)

Web API Query Data Sample (Client-side JavaScript)

Web API Conditional Operations Sample

Web API Conditional Operations Sample (C#)

Web API Conditional Operations Sample (Client-side JavaScript)

Web API Functions and Actions Sample

Web API Functions and Actions Sample (C#)

Web API Functions and Actions Sample (Client-side JavaScript)

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.

Group

Description

Web API Basic Operations Sample

How to perform basic CRUD (Create, Retrieve, Update, and Delete) and associative operations.

More information:

Web API Query Data Sample

How to perform basic query requests.

More information:

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.

More information:

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)

Describes the common elements used in this group of samples using client-side JavaScript with asynchronous functions and Promises.

See Also

Use the Microsoft Dynamics 365 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#)
Web API Samples (Client-side JavaScript)

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright