Hi @Jonathan Aditya , according to my understanding of your needs, you are using the Microsoft Search API to query Microsoft 365 data in your apps.
Here is the docuemtation for your reference: https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0
In the case of getting selected properties, you can include in the fields property specific entity properties, including custom managed properties from SharePoint and OneDrive.
And the query options are expressed in the POST body.
Here is a sample of request body, hope it will help you.
{
"requests": [
{
"entityTypes": [
"listItem"
],
"query": {
"queryString": "contoso product"
},
"from": 0,
"size": 25,
"fields": [
"title",
"description"
]
}
]
}
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.