Simple C# POST example (lists) using XDocument

Occasional Participant

Simple C# POST example (lists) using XDocument

Hello,

 

Building upon a previous example, I have posted sample code showing how to create a new Constant Contact list using XDocument.  Through the magic of extension methods, a new list may be created with just one line of code:

 

string Response = NewList.Post(Url, CredentialCache);

 

where NewList is an XDocument.

 

Hopefully folks will find this useful.

 

Cheers-

1 REPLY 1
Employee

Thank you again for your example

Ryan Davis
Quality Engineer
Developer Portal

View API documentation, code samples, get your API key.

Visit Page