GET api/Message/GetSortedMessageByName?isIncoming={isIncoming}&isDesc={isDesc}

GetSortedMessageByName

Request Information

URI Parameters

NameDescriptionTypeAdditional 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
NameDescriptionTypeAdditional information
MessageList

Collection of MessageItem

None.

Response Formats

application/json, text/json

Sample:
{
  "MessageList": [
    {
      "MessageId": "02beaff0-1b1f-4011-a908-b92c715afca0",
      "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:17.513163+02:00",
      "NextNotificationDate": "2025-12-06T06:06:17.513163+02:00",
      "IsNewMessage": true,
      "IsSleep": true,
      "InnerRecipientId": "b93c1e4d-7f13-4cdc-b7c2-e8fd3cd5291d"
    },
    {
      "MessageId": "02beaff0-1b1f-4011-a908-b92c715afca0",
      "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:17.513163+02:00",
      "NextNotificationDate": "2025-12-06T06:06:17.513163+02:00",
      "IsNewMessage": true,
      "IsSleep": true,
      "InnerRecipientId": "b93c1e4d-7f13-4cdc-b7c2-e8fd3cd5291d"
    }
  ]
}