GET api/Message/SearchMessages?pattern={pattern}&isIncoming={isIncoming}
SearchMessages by pattern
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| pattern | string |
Required |
|
| isIncoming |
if true - sorting incoming, if false - outgoing |
boolean |
Required |
Body Parameters
None.
Response Information
Resource Description
MessageListDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| MessageList | Collection of MessageItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"MessageList": [
{
"MessageId": "93979fba-eaff-43b5-af93-9771de63f4fb",
"ContentType": 0,
"Reminder": 0,
"IsTranx": true,
"IsSecret": true,
"TrooxType": "sample string 4",
"Topic": "sample string 5",
"SenderPhone": "sample string 6",
"SenderName": "sample string 7",
"SendDate": "2025-12-06T06:04:46.6696101+02:00",
"NextNotificationDate": "2025-12-06T06:04:46.6696101+02:00",
"IsNewMessage": true,
"IsSleep": true,
"InnerRecipientId": "dbb9b8fb-6664-4f91-a9e7-c814ba5a40d4"
},
{
"MessageId": "93979fba-eaff-43b5-af93-9771de63f4fb",
"ContentType": 0,
"Reminder": 0,
"IsTranx": true,
"IsSecret": true,
"TrooxType": "sample string 4",
"Topic": "sample string 5",
"SenderPhone": "sample string 6",
"SenderName": "sample string 7",
"SendDate": "2025-12-06T06:04:46.6696101+02:00",
"NextNotificationDate": "2025-12-06T06:04:46.6696101+02:00",
"IsNewMessage": true,
"IsSleep": true,
"InnerRecipientId": "dbb9b8fb-6664-4f91-a9e7-c814ba5a40d4"
}
]
}