I use SP SEARCH api and below is my enpdoint:


It doesn't seem to show anywhere that "$expand" is supported. I also tried to match the stringId from ContentType to another REST call to this endpoint:


But I get a result that is specific to that site only.

The question is simple: How do I get the Content Type Name for the results in SEARCH API?

https://siteurl/_api/search/query?querytext="keyword to search"&selectproperties='Title,ContentType'

This should help

| improve this answer | |
  • This did it! That was pretty simple. Thank you so much. – Michael Soriano Oct 19 '16 at 17:59

Does this answer your question? How to get all items with a specific content type using REST Api

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.