GET api/MMGScheduleRules/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

MMGSrvRuleModel
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

To

string

None.

Cc

string

None.

Bcc

string

None.

MinutesToSend

integer

None.

DaysToSend

integer

None.

RecurrenceValue

string

None.

RecurrenceCount

integer

None.

Params

string

None.

Priority

integer

None.

Consolidate

boolean

None.

RuleTypeId

integer

None.

RuleType

string

None.

MessageTypeId

integer

None.

MessageType

string

None.

RecurrenceTypeId

integer

None.

RecurrenceType

string

None.

StatusName

string

None.

AccountId

integer

None.

TemplateId

integer

None.

TemplateFormatId

integer

None.

GlobalTemplateId

integer

None.

Subject

string

None.

Body

string

None.

TemplateName

string

None.

IsImmediate

integer

None.

Id

integer

None.

Status

integer

None.

CreatedBy

string

None.

CreateTimestamp

date

None.

ModifiedBy

string

None.

ModifiedTimestamp

date

None.

DataStateFlag

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Name": "sample string 1",
  "Description": "sample string 2",
  "To": "sample string 3",
  "Cc": "sample string 4",
  "Bcc": "sample string 5",
  "MinutesToSend": 6,
  "DaysToSend": 7,
  "RecurrenceValue": "sample string 8",
  "RecurrenceCount": 9,
  "Params": "sample string 10",
  "Priority": 1,
  "Consolidate": true,
  "RuleTypeId": 1,
  "RuleType": "sample string 11",
  "MessageTypeId": 12,
  "MessageType": "sample string 13",
  "RecurrenceTypeId": 14,
  "RecurrenceType": "sample string 15",
  "StatusName": "sample string 16",
  "AccountId": 17,
  "TemplateId": 18,
  "TemplateFormatId": 19,
  "GlobalTemplateId": 1,
  "Subject": "sample string 20",
  "Body": "sample string 21",
  "TemplateName": "sample string 22",
  "IsImmediate": 23,
  "Id": 24,
  "Status": 25,
  "CreatedBy": "sample string 26",
  "CreateTimestamp": "2024-11-21T09:04:52.814122+00:00",
  "ModifiedBy": "sample string 28",
  "ModifiedTimestamp": "2024-11-21T09:04:52.814122+00:00",
  "DataStateFlag": "sample string 29"
}

application/xml, text/xml

Sample:
<MMGSrvRuleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
  <CreateTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T09:04:52.814122Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </CreateTimestamp>
  <CreatedBy>sample string 26</CreatedBy>
  <DataStateFlag>sample string 29</DataStateFlag>
  <Id>24</Id>
  <ModifiedBy>sample string 28</ModifiedBy>
  <ModifiedTimestamp xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
    <d2p1:DateTime>2024-11-21T09:04:52.814122Z</d2p1:DateTime>
    <d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
  </ModifiedTimestamp>
  <Status>25</Status>
  <AccountId>17</AccountId>
  <Bcc>sample string 5</Bcc>
  <Body>sample string 21</Body>
  <Cc>sample string 4</Cc>
  <Consolidate>true</Consolidate>
  <DaysToSend>7</DaysToSend>
  <Description>sample string 2</Description>
  <GlobalTemplateId>1</GlobalTemplateId>
  <IsImmediate>23</IsImmediate>
  <MessageType>sample string 13</MessageType>
  <MessageTypeId>12</MessageTypeId>
  <MinutesToSend>6</MinutesToSend>
  <Name>sample string 1</Name>
  <Params>sample string 10</Params>
  <Priority>1</Priority>
  <RecurrenceCount>9</RecurrenceCount>
  <RecurrenceType>sample string 15</RecurrenceType>
  <RecurrenceTypeId>14</RecurrenceTypeId>
  <RecurrenceValue>sample string 8</RecurrenceValue>
  <RuleType>sample string 11</RuleType>
  <RuleTypeId>1</RuleTypeId>
  <StatusName>sample string 16</StatusName>
  <Subject>sample string 20</Subject>
  <TemplateFormatId>19</TemplateFormatId>
  <TemplateId>18</TemplateId>
  <TemplateName>sample string 22</TemplateName>
  <To>sample string 3</To>
</MMGSrvRuleModel>