GET restapi/personal/instantmessages/messagethreads/{threadId}/messages/search/v1?searchText={searchText}

Searches inside the given thread for messages matching the given search text.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
threadId

The thread id.

integer

Required

searchText

Text to search in message thread

string

Required

Body Parameters

None.

Response Information

Resource Description

Array with message ids that match the text

Collection of integer, 64 bit

Response Formats

application/json, text/json

Sample:
[
  1,
  2
]

application/xml, text/xml

Sample:
<ArrayOflong xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <long>1</long>
  <long>2</long>
</ArrayOflong>