Hi
I want to create list on icontact.com following is my code.
string accountId = "49";
string clientFolderId = "67";
WebRequest myWebRequest = WebRequest.Create("https://app.icontact.com/icp/a/{'" + accountId + "'}/c/{'" + clientFolderId + "'}/lists");
myWebRequest.PreAuthenticate = true;
string UserName = "abc";
string Password = "56";
NetworkCredential networkCredential = new NetworkCredential(UserName, Password);
myWebRequest.Credentials = networkCredential;
myWebRequest.Method = "POST";
myWebRequest.ContentType = "text/xml";
string appId = "61SdHqg8nD0YDNgW8DvdqRhmV";
string context = "xyz";
StringBuilder data = new StringBuilder();
data.Append("appid=" + HttpUtility.UrlEncode(appId));
data.Append("$context=" + HttpUtility.UrlEncode(context));
byte[] byteData = UTF8Encoding.UTF8.GetBytes(d ...
Go to the complete details ...