GET api/Message/GetSortedMessageByOwnMessage?isIncoming={isIncoming}&isDesc={isDesc}
GetSortedMessageByOwnMessage
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| isIncoming |
if true - sorting incoming, if false - outgoing |
boolean |
Required |
| isDesc |
if true - descending sort, if false - ascending |
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": "63856a3a-8d1d-4823-a28c-cfcd3ca11676",
"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:09:47.6532299+02:00",
"NextNotificationDate": "2025-12-06T06:09:47.6532299+02:00",
"IsNewMessage": true,
"IsSleep": true,
"InnerRecipientId": "38e63379-d848-47de-ade8-0dd85cd597a2"
},
{
"MessageId": "63856a3a-8d1d-4823-a28c-cfcd3ca11676",
"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:09:47.6532299+02:00",
"NextNotificationDate": "2025-12-06T06:09:47.6532299+02:00",
"IsNewMessage": true,
"IsSleep": true,
"InnerRecipientId": "38e63379-d848-47de-ade8-0dd85cd597a2"
}
]
}