GET api/MailSchedule/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

MailScheduleModel
NameDescriptionTypeAdditional information
AccountId

integer

None.

ScheduleId

integer

None.

TemplateId

integer

None.

To

Collection of MailToInfo

None.

Cc

Collection of MailCcInfo

None.

Bcc

Collection of MailBccInfo

None.

Subject

string

None.

Action

string

None.

Frequency

string

None.

Start

date

None.

End

date

None.

Recurrence

integer

None.

Weekday

string

None.

Month

string

None.

Day

string

None.

TemplateName

string

None.

Content

string

None.

Description

string

None.

CategoryId

integer

None.

CategoryName

string

None.

Id

integer

None.

Status

string

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountId": 1,
  "ScheduleId": 2,
  "TemplateId": 3,
  "To": [
    {
      "mailTo": "sample string 1"
    },
    {
      "mailTo": "sample string 1"
    }
  ],
  "Cc": [
    {
      "mailCc": "sample string 1"
    },
    {
      "mailCc": "sample string 1"
    }
  ],
  "Bcc": [
    {
      "mailBcc": "sample string 1"
    },
    {
      "mailBcc": "sample string 1"
    }
  ],
  "Subject": "sample string 4",
  "Action": "sample string 5",
  "Frequency": "sample string 6",
  "Start": "2024-11-21T08:51:54.3640517+00:00",
  "End": "2024-11-21T08:51:54.3640517+00:00",
  "Recurrence": 9,
  "Weekday": "sample string 10",
  "Month": "sample string 11",
  "Day": "sample string 12",
  "TemplateName": "sample string 13",
  "Content": "sample string 14",
  "Description": "sample string 15",
  "CategoryId": 16,
  "CategoryName": "sample string 17",
  "Id": 18,
  "Status": "sample string 19",
  "CreatedBy": "sample string 20",
  "CreateTimestamp": "2024-11-21T08:51:54.3640517+00:00",
  "ModifiedBy": "sample string 22",
  "ModifiedTimestamp": "2024-11-21T08:51:54.3640517+00:00",
  "DataStateFlag": "sample string 23"
}

application/xml, text/xml

Sample:
<MailScheduleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.MailSchedules">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:51:54.3640517Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 20</CreatedBy>
  <DataStateFlag xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 23</DataStateFlag>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">18</Id>
  <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 22</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
    <d2p1:DateTime>2024-11-21T08:51:54.3640517Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">sample string 19</Status>
  <AccountId>1</AccountId>
  <Action>sample string 5</Action>
  <Bcc>
    <MailBccInfo>
      <mailBcc>sample string 1</mailBcc>
    </MailBccInfo>
    <MailBccInfo>
      <mailBcc>sample string 1</mailBcc>
    </MailBccInfo>
  </Bcc>
  <CategoryId>16</CategoryId>
  <CategoryName>sample string 17</CategoryName>
  <Cc>
    <MailCcInfo>
      <mailCc>sample string 1</mailCc>
    </MailCcInfo>
    <MailCcInfo>
      <mailCc>sample string 1</mailCc>
    </MailCcInfo>
  </Cc>
  <Content>sample string 14</Content>
  <Day>sample string 12</Day>
  <Description>sample string 15</Description>
  <End>2024-11-21T08:51:54.3640517+00:00</End>
  <Frequency>sample string 6</Frequency>
  <Month>sample string 11</Month>
  <Recurrence>9</Recurrence>
  <ScheduleId>2</ScheduleId>
  <Start>2024-11-21T08:51:54.3640517+00:00</Start>
  <Subject>sample string 4</Subject>
  <TemplateId>3</TemplateId>
  <TemplateName>sample string 13</TemplateName>
  <To>
    <MailToInfo>
      <mailTo>sample string 1</mailTo>
    </MailToInfo>
    <MailToInfo>
      <mailTo>sample string 1</mailTo>
    </MailToInfo>
  </To>
  <Weekday>sample string 10</Weekday>
</MailScheduleModel>