Post new comment using Sharepoint API

SOLVED
Highlighted
Occasional Visitor

Post new comment using Sharepoint API

i have problem with sharepoint, i can't find correcte api to post new comment. and also i can't set value to "ParentItemID"

 

 

/_api/web/lists/GetByTitle('Liste de discussions')/items
 client.DefaultRequestHeaders.Add("X-HTTP-Method", "POST");
  obj.Body = PostText;
  obj.ContentTypeId = ContentTypeId;
  obj.ParentFolderId = IdDiscussion;
  obj.ParentID = Convert.ToInt32(IdDiscussion);
  obj.__metadata = new MetadataCommentes();
  obj.__metadata.type = MetadataTyp  
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Moderator

Re: Post new comment using Sharepoint API

Hello @mabroukm,

 

Thank you for reaching out to Constant Contact's API Support.

 

I'd like to clarify your request. The code you posted does not contain any of our API endpoints, nor does it contain any type of data that I would think someone would be submitting to a Constant Contact account. Can you verify what endpoint you are using when you submit this and what the result you are receiving back?


Regards,
Jimmy D.
Tier II API Support Engineer

View solution in original post

2 REPLIES 2
Highlighted
Moderator

Re: Post new comment using Sharepoint API

Hello @mabroukm,

 

Thank you for reaching out to Constant Contact's API Support.

 

I'd like to clarify your request. The code you posted does not contain any of our API endpoints, nor does it contain any type of data that I would think someone would be submitting to a Constant Contact account. Can you verify what endpoint you are using when you submit this and what the result you are receiving back?


Regards,
Jimmy D.
Tier II API Support Engineer

View solution in original post

Occasional Visitor

Re: Post new comment using Sharepoint API

Hello Mr.

 

thank you,

i was contant microsoft ,they told that there's plugin Of sharepoint using in xamarin android his name "Csom" you can find all the APIs of sharepoint and also is very simple to use it.

thank you guys have good day 

Developer Portal

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

Visit Page

Register for our "Making Sense of Online Marketing for Retail" Webinar

Join us on Thursday, August 13th at 2pm ET for a free webinar where we'll discuss how to incorporate online marketing into your retail store.

Read More
Featured