.NET Code Samples
This page contains code samples written to help .NET/C# developers work with SOAP API.
These code samples illustrate common actions a .NET/C# developer might perform when working with SOAP API.
These code samples can help you understand how to perform certain actions in a .NET/C# environment. These code samples can be modified or changed to match your needs.
- Add Data to a Data Extension
- Add Subscribers to a List
- Add a User to an Account
- Asynchronous Processing Syntax Guide
- Create a Data Extension
- Create a List
- Create a List-Based Email Send Definition
- Create a Query Activity
- Create a Sender Profile
- Create a Subscriber
- Create a Triggered Send Definition
- Create a Triggered Send Using the Async API
- Create an Account
- Create an Agency Client Object
- Create an Email Send Definition with Dynamic Content
- Create an Import Definition
- Access Child Account Objects
- Retrieve Account Object Using the CustomerKey Attribute
- Retrieve Additional Email Attributes
- Retrieve All Links for a Send
- Retrieve All Lists a Subscriber is On
- Retrieve All Lists for a Send
- Retrieve All Subscribers on a List
- Retrieve Bounce Events Details
- Retrieve a Data Extension Using Customer Key
- Retrieve Data from a Data Extension
- Retrieve Open Events Details
- Retrieve Sent Event Details
- Retrieve Subscribers by Subscriber Key
- Retrieve a Tracking Summary of an Email Send Using JobID
- Retrieve the Email Folder Hierarchy
- Retrieve the Results of an Import
- Schedule an Email Send Definition
- Send an Email Using a TriggeredSend Object
- Start a Triggered Send Definition
- Submit a Triggered Send Definition Call Using the Asynchronous API
- Submit a Triggered Send Definition with Tracking Via HTTPGETWRAP
- Use Regular Expressions to Validate Email Addresses
- Work with the SOAP API