TransWikia.com

REST API to add replies to a share point discussion

SharePoint Asked by yamini on August 20, 2020

I am able to post a reply to share point discussion with help of below link.

REST Call to Post a Reply to a Discussion Board Topic w/o JSOM

but here for posting a message ContentTypeId is required.As of now am getting it from existing replies that have added directly from share point site when a discussion is created.

But when i start to post a first message through sharepoint REST API,it fails because ContentTypeId is undefined.

Is there any way to find ContentTypeId for replies?

One Answer

In your discussion list, click the "Message" content type. You would see the ContentTypeId in the url:

enter image description here

enter image description here

Answered by Michael Han_MSFT on August 20, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP