POST
/
api
/
v1
/
cms
/
message
curl --request POST \
  --url https://saas.pads365.com/rdx/NDS.Services.Cms/api/v1/cms/message \
  --header 'Content-Type: application/json' \
  --data '{
  "Filter": {
    "SearchString": "<string>",
    "Destinations": [
      "<string>"
    ],
    "StartTime": "2023-11-07T05:31:56Z",
    "EndTime": "2023-11-07T05:31:56Z",
    "TemplateIds": [
      "<string>"
    ],
    "UserIds": [
      "<string>"
    ],
    "IncludeInvisible": true,
    "IncludeDeleted": true,
    "MessageIds": [
      "<string>"
    ]
  },
  "Sorting": {
    "SortBy": 0,
    "Descending": true
  },
  "Paging": {
    "Start": 123,
    "Items": 123
  }
}'
{
  "Succeeded": true,
  "Message": "<string>",
  "Code": "<string>",
  "Messages": [
    {
      "Id": "<string>",
      "Name": "<string>",
      "StartDate": "2023-11-07T05:31:56Z",
      "EndDate": "2023-11-07T05:31:56Z",
      "Destinations": [
        "<string>"
      ],
      "OccurenceCount": 123,
      "Occurrence": {
        "StartTime": "<string>",
        "EndTime": "<string>",
        "RecurrenceType": "Daily",
        "Interval": "<string>",
        "Duration": "<string>",
        "RecurrenceExceptions": [
          {
            "Id": "<string>",
            "PeriodId": "<string>",
            "OldStartDateTime": "2023-11-07T05:31:56Z",
            "NewStartDateTime": "2023-11-07T05:31:56Z",
            "NewEndDateTime": "2023-11-07T05:31:56Z"
          }
        ]
      },
      "Days": {
        "Monday": true,
        "Tuesday": true,
        "Wednesday": true,
        "Thursday": true,
        "Friday": true,
        "Saturday": true,
        "Sunday": true
      },
      "InternalInterval": 123,
      "InternalNumber": 123,
      "InternalPattern": 123,
      "TemplateId": "<string>",
      "Weight": 123,
      "TemplateWeight": 123,
      "Invisible": true,
      "Description": "<string>",
      "UserId": "<string>",
      "DisabledByTemplate": true,
      "Permissions": "<string>",
      "Deleted": "2023-11-07T05:31:56Z",
      "Metadata": "<any>",
      "Priority": "<string>"
    }
  ],
  "TotalItems": 123
}

Body

application/json

Response

200 - application/json

The response is of type object.