Mail Controller

post
Authorizations
Body
contentstringOptional
htmlContentstringOptional
subjectstringOptional
usernamesstring[]Optional
Responses
204
No Content
post
POST /api/mail/send HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 221

{
  "content": "text",
  "htmlContent": "text",
  "attachments": [
    {
      "name": "text",
      "dataSource": {
        "contentType": "text",
        "outputStream": {},
        "name": "text",
        "inputStream": {}
      },
      "dataSourceInputStream": {}
    }
  ],
  "subject": "text",
  "usernames": [
    "text"
  ]
}

No content

post
Authorizations
Query parameters
Body
offDateEnstring · date-timeOptional
tostringOptional
fromstringOptional
onDateStstring · date-timeOptional
subjectstringOptional
Responses
200
OK
*/*
post
POST /api/mail/filter/pages HTTP/1.1
Host: inscada.cloud
Content-Type: application/json
Accept: */*
Content-Length: 121

{
  "offDateEn": "2025-07-05T19:13:27.122Z",
  "to": "text",
  "from": "text",
  "onDateSt": "2025-07-05T19:13:27.122Z",
  "subject": "text"
}
{
  "totalElements": 1,
  "totalPages": 1,
  "first": true,
  "last": true,
  "size": 1,
  "content": [
    {
      "creationDate": "2025-07-05T19:13:27.122Z",
      "lastModifiedBy": "text",
      "createdBy": "text",
      "lastModifiedDate": "2025-07-05T19:13:27.122Z",
      "id": "text",
      "to": "text",
      "content": "text",
      "from": "text",
      "subject": "text",
      "date": "2025-07-05T19:13:27.122Z"
    }
  ],
  "number": 1,
  "sort": [
    {
      "direction": "text",
      "nullHandling": "text",
      "ascending": true,
      "property": "text",
      "ignoreCase": true
    }
  ],
  "numberOfElements": 1,
  "pageable": {
    "offset": 1,
    "sort": [
      {
        "direction": "text",
        "nullHandling": "text",
        "ascending": true,
        "property": "text",
        "ignoreCase": true
      }
    ],
    "pageNumber": 1,
    "unpaged": true,
    "paged": true,
    "pageSize": 1
  },
  "empty": true
}