Sample code
The following code samples are included for Microsoft Dynamics Marketing. The sample code can be found in the following location after you download and install the Microsoft Dynamics Marketing SDK: Samples\CS.
To know more about how to install, build, and run the sample codes, see Quick start with sample code or view the Readme file that is available with each sample code.
| Sample code | Demonstrates | Folder location |
|---|---|---|
How to create, update, and delete external entities using Microsoft Dynamics Marketing. |
|
|
How to create and update a category using Microsoft Dynamics Marketing. |
|
|
Sample: Create, read, update, and delete a company (including UDF custom fields) |
How to create, retrieve, update, and delete a company using Microsoft Dynamics Marketing. |
|
Sample: Create, read, update, and delete contact (including custom fields) |
How to create, retrieve, update, and delete a contact using Microsoft Dynamics Marketing. |
|
How to create, retrieve, update, and cancel an event attendance using Microsoft Dynamics Marketing. |
|
|
How to create, retrieve, update, and cancel an event registration using Microsoft Dynamics Marketing. |
|
|
Sample: Create, read, update, and delete lead (including UDF custom fields) |
How to create, retrieve, update, and cancel a lead using Microsoft Dynamics Marketing. |
|
How to create, retrieve, update, and cancel a marketing results using Microsoft Dynamics Marketing. |
|
|
Sample: Retrieve custom fields by Belongs-To company and entity |
How to retrieve user defined fields in a company using Microsoft Dynamics Marketing. |
|
Sample: Manage lists and send transactional or commercial email |
How to send and receive transactional emails where the “Send Externally" option is selected, and send commercial email marketing messages using Microsoft Dynamics Marketing. Additionally, this sample also demonstrates how to set and retrieve contact permissions for a single or multiple email addresses, retrieve list of email addresses for which contact permissions are missing and get or set email hard bounces to be processed for a contact. |
|
How to work with marketing lists via the SDK as part of the list segmentation functionality in Microsoft Dynamics Marketing. |
|
|
See Also
Tasks
Concepts
Developer overview of Microsoft Dynamics Marketing
Getting started with the SDK
Assembly included in the Microsoft Dynamics Marketing SDK
Other Resources
Programming reference for Microsoft Dynamics Marketing
Web service and assembly reference
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.