Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Sends an email notification

API

POST /api/v1/notifications

Parameters:

  • dto: [EmailNotificationDTO] - Email notification dto.

{
  "NotificationTemplateName": "string",
  "ServiceRequestId": 0,
  "UserId": 0,
  "UserName": "string",
  "Language": "string",
  "From": "string",
  "To": "string",
  "IsHtml": true,
  "Attachements": [
    {
      "Name": "string",
      "Type": "string",
      "Sream": {
        "__identity": {}
      },
      "AttachmentBytes": "string"
    }
  ],
  "Parameters": [
    {
      "key": "string",
      "value": "string"
    }
  ]
}

Expected Return:
HTTP 200 OK if successful, 401 if unauthorized, 400 otherwise.

  • No labels