POST api/MMGScheduleRules

Request Information

URI Parameters

None.

Body Parameters

MMGSrvUpdateRuleModel
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

To

string

None.

Cc

string

None.

Bcc

string

None.

MinutesToSend

integer

None.

DaysToSend

integer

None.

RecurrenceTypeId

integer

None.

RecurrenceValue

string

None.

RecurrenceCount

integer

None.

Params

string

None.

Priority

integer

None.

Status

integer

None.

Consolidate

boolean

None.

RuleTypeId

integer

None.

MessageTypeId

integer

None.

AccountId

integer

None.

TemplateId

integer

None.

GlobalTemplateId

integer

None.

Subject

string

None.

Body

string

None.

TemplateName

string

None.

TemplateFormatId

integer

None.

Id

integer

None.

Request 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,
  "RecurrenceTypeId": 8,
  "RecurrenceValue": "sample string 9",
  "RecurrenceCount": 10,
  "Params": "sample string 11",
  "Priority": 1,
  "Status": 12,
  "Consolidate": true,
  "RuleTypeId": 13,
  "MessageTypeId": 14,
  "AccountId": 15,
  "TemplateId": 16,
  "GlobalTemplateId": 1,
  "Subject": "sample string 17",
  "Body": "sample string 18",
  "TemplateName": "sample string 19",
  "TemplateFormatId": 20,
  "Id": 21
}

application/xml, text/xml

Sample:
<MMGSrvUpdateRuleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
  <AccountId>15</AccountId>
  <Bcc>sample string 5</Bcc>
  <Body>sample string 18</Body>
  <Cc>sample string 4</Cc>
  <Consolidate>true</Consolidate>
  <DaysToSend>7</DaysToSend>
  <Description>sample string 2</Description>
  <GlobalTemplateId>1</GlobalTemplateId>
  <Id>21</Id>
  <MessageTypeId>14</MessageTypeId>
  <MinutesToSend>6</MinutesToSend>
  <Name>sample string 1</Name>
  <Params>sample string 11</Params>
  <Priority>1</Priority>
  <RecurrenceCount>10</RecurrenceCount>
  <RecurrenceTypeId>8</RecurrenceTypeId>
  <RecurrenceValue>sample string 9</RecurrenceValue>
  <RuleTypeId>13</RuleTypeId>
  <Status>12</Status>
  <Subject>sample string 17</Subject>
  <TemplateFormatId>20</TemplateFormatId>
  <TemplateId>16</TemplateId>
  <TemplateName>sample string 19</TemplateName>
  <To>sample string 3</To>
</MMGSrvUpdateRuleModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MMGSrvUpdateRuleModel
NameDescriptionTypeAdditional information
Name

string

None.

Description

string

None.

To

string

None.

Cc

string

None.

Bcc

string

None.

MinutesToSend

integer

None.

DaysToSend

integer

None.

RecurrenceTypeId

integer

None.

RecurrenceValue

string

None.

RecurrenceCount

integer

None.

Params

string

None.

Priority

integer

None.

Status

integer

None.

Consolidate

boolean

None.

RuleTypeId

integer

None.

MessageTypeId

integer

None.

AccountId

integer

None.

TemplateId

integer

None.

GlobalTemplateId

integer

None.

Subject

string

None.

Body

string

None.

TemplateName

string

None.

TemplateFormatId

integer

None.

Id

integer

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,
  "RecurrenceTypeId": 8,
  "RecurrenceValue": "sample string 9",
  "RecurrenceCount": 10,
  "Params": "sample string 11",
  "Priority": 1,
  "Status": 12,
  "Consolidate": true,
  "RuleTypeId": 13,
  "MessageTypeId": 14,
  "AccountId": 15,
  "TemplateId": 16,
  "GlobalTemplateId": 1,
  "Subject": "sample string 17",
  "Body": "sample string 18",
  "TemplateName": "sample string 19",
  "TemplateFormatId": 20,
  "Id": 21
}

application/xml, text/xml

Sample:
<MMGSrvUpdateRuleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models">
  <AccountId>15</AccountId>
  <Bcc>sample string 5</Bcc>
  <Body>sample string 18</Body>
  <Cc>sample string 4</Cc>
  <Consolidate>true</Consolidate>
  <DaysToSend>7</DaysToSend>
  <Description>sample string 2</Description>
  <GlobalTemplateId>1</GlobalTemplateId>
  <Id>21</Id>
  <MessageTypeId>14</MessageTypeId>
  <MinutesToSend>6</MinutesToSend>
  <Name>sample string 1</Name>
  <Params>sample string 11</Params>
  <Priority>1</Priority>
  <RecurrenceCount>10</RecurrenceCount>
  <RecurrenceTypeId>8</RecurrenceTypeId>
  <RecurrenceValue>sample string 9</RecurrenceValue>
  <RuleTypeId>13</RuleTypeId>
  <Status>12</Status>
  <Subject>sample string 17</Subject>
  <TemplateFormatId>20</TemplateFormatId>
  <TemplateId>16</TemplateId>
  <TemplateName>sample string 19</TemplateName>
  <To>sample string 3</To>
</MMGSrvUpdateRuleModel>