GET api/DayEnd/Attachments/{id}/{date}?emailId={emailId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
emailId

integer

Required

date

date

Required

id

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of EmailAttachmentModel
NameDescriptionTypeAdditional information
Attachment

EmailAttachment

None.

IsAvailable

boolean

None.

FileName

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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"
  }
]