GET api/DayEnd/Email/{id}/{date}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

date

date

Required

Body Parameters

None.

Response Information

Resource Description

EmailModel
NameDescriptionTypeAdditional information
Email

Email

None.

Message

string

None.

TimesSent

Collection of EmailDate

None.

Attachments

Collection of EmailAttachmentModel

None.

ToRecipients

Collection of EmailRecipient

None.

CcRecipients

Collection of EmailRecipient

None.

BccRecipients

Collection of EmailRecipient

None.

Response Formats

application/json, text/json

Sample:
{
  "Email": {
    "Id": 1,
    "Description": "sample string 2",
    "Subject": "sample string 3",
    "Message": "sample string 4",
    "Frequency": "sample string 5",
    "IsInactive": true,
    "IsTradeData": true
  },
  "Message": "sample string 1",
  "TimesSent": [
    {
      "Id": 1,
      "EmailId": 2,
      "SendDateTime": "2019-07-21T00:35:00.8933354+00:00",
      "DataDate": "2019-07-21T00:35:00.8933354+00:00"
    },
    {
      "Id": 1,
      "EmailId": 2,
      "SendDateTime": "2019-07-21T00:35:00.8933354+00:00",
      "DataDate": "2019-07-21T00:35:00.8933354+00:00"
    }
  ],
  "Attachments": [
    {
      "Attachment": {
        "Id": 1,
        "EmailId": 2,
        "FilePath": "sample string 3",
        "FileName": "sample string 4",
        "PreMask": "sample string 5",
        "Mask": "sample string 6",
        "PostMask": "sample string 7",
        "Suffix": "sample string 8",
        "AttachIfEmpty": true,
        "MessageWithData": "sample string 9",
        "MessageIfEmpty": "sample string 10",
        "HasHeaderRow": true,
        "Email": {
          "Id": 1,
          "Description": "sample string 2",
          "Subject": "sample string 3",
          "Message": "sample string 4",
          "Frequency": "sample string 5",
          "IsInactive": true,
          "IsTradeData": true
        }
      },
      "IsAvailable": true,
      "FileName": "sample string 2"
    },
    {
      "Attachment": {
        "Id": 1,
        "EmailId": 2,
        "FilePath": "sample string 3",
        "FileName": "sample string 4",
        "PreMask": "sample string 5",
        "Mask": "sample string 6",
        "PostMask": "sample string 7",
        "Suffix": "sample string 8",
        "AttachIfEmpty": true,
        "MessageWithData": "sample string 9",
        "MessageIfEmpty": "sample string 10",
        "HasHeaderRow": true,
        "Email": {
          "Id": 1,
          "Description": "sample string 2",
          "Subject": "sample string 3",
          "Message": "sample string 4",
          "Frequency": "sample string 5",
          "IsInactive": true,
          "IsTradeData": true
        }
      },
      "IsAvailable": true,
      "FileName": "sample string 2"
    }
  ],
  "ToRecipients": [
    {
      "FundCode": "sample string 1",
      "ReportCode": "sample string 2",
      "Recipient": "sample string 3",
      "RecipientType": "sample string 4",
      "EmailId": 5
    },
    {
      "FundCode": "sample string 1",
      "ReportCode": "sample string 2",
      "Recipient": "sample string 3",
      "RecipientType": "sample string 4",
      "EmailId": 5
    }
  ],
  "CcRecipients": [
    {
      "FundCode": "sample string 1",
      "ReportCode": "sample string 2",
      "Recipient": "sample string 3",
      "RecipientType": "sample string 4",
      "EmailId": 5
    },
    {
      "FundCode": "sample string 1",
      "ReportCode": "sample string 2",
      "Recipient": "sample string 3",
      "RecipientType": "sample string 4",
      "EmailId": 5
    }
  ],
  "BccRecipients": [
    {
      "FundCode": "sample string 1",
      "ReportCode": "sample string 2",
      "Recipient": "sample string 3",
      "RecipientType": "sample string 4",
      "EmailId": 5
    },
    {
      "FundCode": "sample string 1",
      "ReportCode": "sample string 2",
      "Recipient": "sample string 3",
      "RecipientType": "sample string 4",
      "EmailId": 5
    }
  ]
}