POST api/EventMailer/SaveMailer

Request Information

URI Parameters

None.

Body Parameters

MailerEditModel
NameDescriptionTypeAdditional information
EventId

integer

None.

Mailer

EVE_Mailer_LIST_GETResult

None.

Criteria

ListCriteria

None.

Send

boolean

None.

SetToSend

boolean

None.

RegisterId

integer

None.

Add

boolean

None.

SmsLogItemId

integer

None.

EmailLogItemId

integer

None.

Remove

boolean

None.

TestEmail

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EventId": 1,
  "Mailer": {
    "MailerId": 1,
    "MailerStatusId": 2,
    "Title": "sample string 3",
    "EventId": 4,
    "EmailLogHeaderId": 1,
    "EmailTemplateId": 1,
    "SmsLogHeaderId": 1,
    "SmsTemplateId": 1,
    "Body": "sample string 5",
    "Subject": "sample string 6",
    "CreatedDate": "2024-11-26T17:21:47.6466224+02:00",
    "CreatedBy": 8,
    "MailerTypeId": 9,
    "StatusName": "sample string 10",
    "TypeName": "sample string 11",
    "UserId": 12,
    "MembersToSendId": 1,
    "MembersToSendName": "sample string 13",
    "IsInvite": true,
    "Subheading": "sample string 14",
    "Image1": "QEA=",
    "Image2": "QEA=",
    "Image3": "QEA=",
    "Image4": "QEA=",
    "Image5": "QEA=",
    "MailerAttachment": "QEA=",
    "Image1Description": "sample string 15",
    "Image2Description": "sample string 16",
    "Image3Description": "sample string 17",
    "Image4Description": "sample string 18",
    "Image5Description": "sample string 19",
    "MailerAttachmentName": "sample string 20",
    "ShowImage1": "sample string 21",
    "ShowImage2": "sample string 22",
    "ShowImage3": "sample string 23",
    "ShowImage4": "sample string 24",
    "ShowImage5": "sample string 25",
    "ShowAttachmenImage": "sample string 26",
    "TemplateImageExample": "sample string 27"
  },
  "Criteria": {
    "AuthToken": "sample string 1",
    "Search": "sample string 2",
    "Page": 1,
    "PageSize": 1,
    "SortDirection": "sample string 3",
    "SortExpression": "sample string 4",
    "SelectedRecordId": 1,
    "PaymentReference": "sample string 5",
    "MembershipNumber": 1,
    "StartDate": "2024-11-26T17:21:47.6622269+02:00",
    "MonthStartDate": "2024-11-26T17:21:47.6622269+02:00",
    "MonthEndDate": "2024-11-26T17:21:47.6622269+02:00",
    "EndDate": "2024-11-26T17:21:47.6622269+02:00",
    "Date": "2024-11-26T17:21:47.6622269+02:00",
    "CreatedStartDate": "2024-11-26T17:21:47.6622269+02:00",
    "CreatedEndDate": "2024-11-26T17:21:47.6622269+02:00",
    "FromInvoiceDate": "2024-11-26T17:21:47.6622269+02:00",
    "ForDate": "2024-11-26T17:21:47.6622269+02:00",
    "IsTest": true,
    "MeetingTypeId": 1,
    "MailerStatusId": 1
  },
  "Send": true,
  "SetToSend": true,
  "RegisterId": 1,
  "Add": true,
  "SmsLogItemId": 1,
  "EmailLogItemId": 1,
  "Remove": true,
  "TestEmail": "sample string 6"
}

application/xml, text/xml

Sample:
<MailerEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sahiv.Event.Webapp.ViewModels.Event">
  <Add>true</Add>
  <Criteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria">
    <d2p1:AuthToken>sample string 1</d2p1:AuthToken>
    <d2p1:CreatedEndDate>2024-11-26T17:21:47.6622269+02:00</d2p1:CreatedEndDate>
    <d2p1:CreatedStartDate>2024-11-26T17:21:47.6622269+02:00</d2p1:CreatedStartDate>
    <d2p1:Date>2024-11-26T17:21:47.6622269+02:00</d2p1:Date>
    <d2p1:EndDate>2024-11-26T17:21:47.6622269+02:00</d2p1:EndDate>
    <d2p1:ForDate>2024-11-26T17:21:47.6622269+02:00</d2p1:ForDate>
    <d2p1:FromInvoiceDate>2024-11-26T17:21:47.6622269+02:00</d2p1:FromInvoiceDate>
    <d2p1:IsTest>true</d2p1:IsTest>
    <d2p1:MailerStatusId>1</d2p1:MailerStatusId>
    <d2p1:MeetingTypeId>1</d2p1:MeetingTypeId>
    <d2p1:MembershipNumber>1</d2p1:MembershipNumber>
    <d2p1:MonthEndDate>2024-11-26T17:21:47.6622269+02:00</d2p1:MonthEndDate>
    <d2p1:MonthStartDate>2024-11-26T17:21:47.6622269+02:00</d2p1:MonthStartDate>
    <d2p1:Page>1</d2p1:Page>
    <d2p1:PageSize>1</d2p1:PageSize>
    <d2p1:PaymentReference>sample string 5</d2p1:PaymentReference>
    <d2p1:Search>sample string 2</d2p1:Search>
    <d2p1:SelectedRecordId>1</d2p1:SelectedRecordId>
    <d2p1:SortDirection>sample string 3</d2p1:SortDirection>
    <d2p1:SortExpression>sample string 4</d2p1:SortExpression>
    <d2p1:StartDate>2024-11-26T17:21:47.6622269+02:00</d2p1:StartDate>
  </Criteria>
  <EmailLogItemId>1</EmailLogItemId>
  <EventId>1</EventId>
  <Mailer xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo">
    <d2p1:Body>sample string 5</d2p1:Body>
    <d2p1:CreatedBy>8</d2p1:CreatedBy>
    <d2p1:CreatedDate>2024-11-26T17:21:47.6466224+02:00</d2p1:CreatedDate>
    <d2p1:EmailLogHeaderId>1</d2p1:EmailLogHeaderId>
    <d2p1:EmailTemplateId>1</d2p1:EmailTemplateId>
    <d2p1:EventId>4</d2p1:EventId>
    <d2p1:Image1>QEA=</d2p1:Image1>
    <d2p1:Image1Description>sample string 15</d2p1:Image1Description>
    <d2p1:Image2>QEA=</d2p1:Image2>
    <d2p1:Image2Description>sample string 16</d2p1:Image2Description>
    <d2p1:Image3>QEA=</d2p1:Image3>
    <d2p1:Image3Description>sample string 17</d2p1:Image3Description>
    <d2p1:Image4>QEA=</d2p1:Image4>
    <d2p1:Image4Description>sample string 18</d2p1:Image4Description>
    <d2p1:Image5>QEA=</d2p1:Image5>
    <d2p1:Image5Description>sample string 19</d2p1:Image5Description>
    <d2p1:IsInvite>true</d2p1:IsInvite>
    <d2p1:MailerAttachment>QEA=</d2p1:MailerAttachment>
    <d2p1:MailerAttachmentName>sample string 20</d2p1:MailerAttachmentName>
    <d2p1:MailerId>1</d2p1:MailerId>
    <d2p1:MailerStatusId>2</d2p1:MailerStatusId>
    <d2p1:MailerTypeId>9</d2p1:MailerTypeId>
    <d2p1:MembersToSendId>1</d2p1:MembersToSendId>
    <d2p1:MembersToSendName>sample string 13</d2p1:MembersToSendName>
    <d2p1:ShowAttachmenImage>sample string 26</d2p1:ShowAttachmenImage>
    <d2p1:ShowImage1>sample string 21</d2p1:ShowImage1>
    <d2p1:ShowImage2>sample string 22</d2p1:ShowImage2>
    <d2p1:ShowImage3>sample string 23</d2p1:ShowImage3>
    <d2p1:ShowImage4>sample string 24</d2p1:ShowImage4>
    <d2p1:ShowImage5>sample string 25</d2p1:ShowImage5>
    <d2p1:SmsLogHeaderId>1</d2p1:SmsLogHeaderId>
    <d2p1:SmsTemplateId>1</d2p1:SmsTemplateId>
    <d2p1:StatusName>sample string 10</d2p1:StatusName>
    <d2p1:Subheading>sample string 14</d2p1:Subheading>
    <d2p1:Subject>sample string 6</d2p1:Subject>
    <d2p1:TemplateImageExample>sample string 27</d2p1:TemplateImageExample>
    <d2p1:Title>sample string 3</d2p1:Title>
    <d2p1:TypeName>sample string 11</d2p1:TypeName>
    <d2p1:UserId>12</d2p1:UserId>
  </Mailer>
  <RegisterId>1</RegisterId>
  <Remove>true</Remove>
  <Send>true</Send>
  <SetToSend>true</SetToSend>
  <SmsLogItemId>1</SmsLogItemId>
  <TestEmail>sample string 6</TestEmail>
</MailerEditModel>

multipart/form-data

Sample:
<MailerEditModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sahiv.Event.Webapp.ViewModels.Event"><Add>true</Add><Criteria xmlns:d2p1="http://schemas.datacontract.org/2004/07/Sahiv.Midtier2.Criteria"><d2p1:AuthToken>sample string 1</d2p1:AuthToken><d2p1:CreatedEndDate>2024-11-26T17:21:47.6622269+02:00</d2p1:CreatedEndDate><d2p1:CreatedStartDate>2024-11-26T17:21:47.6622269+02:00</d2p1:CreatedStartDate><d2p1:Date>2024-11-26T17:21:47.6622269+02:00</d2p1:Date><d2p1:EndDate>2024-11-26T17:21:47.6622269+02:00</d2p1:EndDate><d2p1:ForDate>2024-11-26T17:21:47.6622269+02:00</d2p1:ForDate><d2p1:FromInvoiceDate>2024-11-26T17:21:47.6622269+02:00</d2p1:FromInvoiceDate><d2p1:IsTest>true</d2p1:IsTest><d2p1:MailerStatusId>1</d2p1:MailerStatusId><d2p1:MeetingTypeId>1</d2p1:MeetingTypeId><d2p1:MembershipNumber>1</d2p1:MembershipNumber><d2p1:MonthEndDate>2024-11-26T17:21:47.6622269+02:00</d2p1:MonthEndDate><d2p1:MonthStartDate>2024-11-26T17:21:47.6622269+02:00</d2p1:MonthStartDate><d2p1:Page>1</d2p1:Page><d2p1:PageSize>1</d2p1:PageSize><d2p1:PaymentReference>sample string 5</d2p1:PaymentReference><d2p1:Search>sample string 2</d2p1:Search><d2p1:SelectedRecordId>1</d2p1:SelectedRecordId><d2p1:SortDirection>sample string 3</d2p1:SortDirection><d2p1:SortExpression>sample string 4</d2p1:SortExpression><d2p1:StartDate>2024-11-26T17:21:47.6622269+02:00</d2p1:StartDate></Criteria><EmailLogItemId>1</EmailLogItemId><EventId>1</EventId><Mailer xmlns:d2p1="http://schemas.datacontract.org/2004/07/Rysis.Sahiv.Midtier2.Repo"><d2p1:Body>sample string 5</d2p1:Body><d2p1:CreatedBy>8</d2p1:CreatedBy><d2p1:CreatedDate>2024-11-26T17:21:47.6466224+02:00</d2p1:CreatedDate><d2p1:EmailLogHeaderId>1</d2p1:EmailLogHeaderId><d2p1:EmailTemplateId>1</d2p1:EmailTemplateId><d2p1:EventId>4</d2p1:EventId><d2p1:Image1>QEA=</d2p1:Image1><d2p1:Image1Description>sample string 15</d2p1:Image1Description><d2p1:Image2>QEA=</d2p1:Image2><d2p1:Image2Description>sample string 16</d2p1:Image2Description><d2p1:Image3>QEA=</d2p1:Image3><d2p1:Image3Description>sample string 17</d2p1:Image3Description><d2p1:Image4>QEA=</d2p1:Image4><d2p1:Image4Description>sample string 18</d2p1:Image4Description><d2p1:Image5>QEA=</d2p1:Image5><d2p1:Image5Description>sample string 19</d2p1:Image5Description><d2p1:IsInvite>true</d2p1:IsInvite><d2p1:MailerAttachment>QEA=</d2p1:MailerAttachment><d2p1:MailerAttachmentName>sample string 20</d2p1:MailerAttachmentName><d2p1:MailerId>1</d2p1:MailerId><d2p1:MailerStatusId>2</d2p1:MailerStatusId><d2p1:MailerTypeId>9</d2p1:MailerTypeId><d2p1:MembersToSendId>1</d2p1:MembersToSendId><d2p1:MembersToSendName>sample string 13</d2p1:MembersToSendName><d2p1:ShowAttachmenImage>sample string 26</d2p1:ShowAttachmenImage><d2p1:ShowImage1>sample string 21</d2p1:ShowImage1><d2p1:ShowImage2>sample string 22</d2p1:ShowImage2><d2p1:ShowImage3>sample string 23</d2p1:ShowImage3><d2p1:ShowImage4>sample string 24</d2p1:ShowImage4><d2p1:ShowImage5>sample string 25</d2p1:ShowImage5><d2p1:SmsLogHeaderId>1</d2p1:SmsLogHeaderId><d2p1:SmsTemplateId>1</d2p1:SmsTemplateId><d2p1:StatusName>sample string 10</d2p1:StatusName><d2p1:Subheading>sample string 14</d2p1:Subheading><d2p1:Subject>sample string 6</d2p1:Subject><d2p1:TemplateImageExample>sample string 27</d2p1:TemplateImageExample><d2p1:Title>sample string 3</d2p1:Title><d2p1:TypeName>sample string 11</d2p1:TypeName><d2p1:UserId>12</d2p1:UserId></Mailer><RegisterId>1</RegisterId><Remove>true</Remove><Send>true</Send><SetToSend>true</SetToSend><SmsLogItemId>1</SmsLogItemId><TestEmail>sample string 6</TestEmail></MailerEditModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.