GET api/Message/GetSortedMessageByDate?isIncoming={isIncoming}&isDesc={isDesc}
GetSortedMessageByDate
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": "88470a57-ff71-4780-9f82-e9ce95b297c3",
"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:06:21.6225269+02:00",
"NextNotificationDate": "2025-12-06T06:06:21.6225269+02:00",
"IsNewMessage": true,
"IsSleep": true,
"InnerRecipientId": "2a224631-a82b-472f-9899-b0bef9100461"
},
{
"MessageId": "88470a57-ff71-4780-9f82-e9ce95b297c3",
"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:06:21.6225269+02:00",
"NextNotificationDate": "2025-12-06T06:06:21.6225269+02:00",
"IsNewMessage": true,
"IsSleep": true,
"InnerRecipientId": "2a224631-a82b-472f-9899-b0bef9100461"
}
]
}