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

Highlighted
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

Product Updates: July 2020

Alongside introducing our new branding (check out that fresh new logo!), our teams were busy bringing you new updates to your Constant Contact account. Read on to find out what was new in your Constant Contact account during the month of July

Read More
Featured