POST scheduledReports/SaveScheduleGroup

Request Information

URI Parameters

None.

Body Parameters

ScheduleGroup
NameDescriptionTypeAdditional information
GroupId

integer

None.

OnDay

integer

None.

Description

string

None.

DefaultAlarmGroup

integer

None.

DefaultEventGroup

integer

None.

CustId

integer

None.

ScheduleReporting

string

None.

Frequency

string

None.

ReportingMethod

string

None.

AlarmGroup

integer

None.

EventGroup

integer

None.

PrintIfNoHistory

boolean

None.

DesignReportName

string

None.

DesignReportId

integer

None.

DesignReportNameDesc

string

None.

AlarmGroupName

string

None.

EventGroupName

string

None.

FrequencyName

string

None.

ReportingMethodName

string

None.

Email

string

None.

UseClientEmailFax

string

None.

SendTo

string

None.

ClientUserId

integer

None.

DistributeHeader

string

None.

ScheduleGroupName

string

None.

ScheduleGroupId

integer

None.

Fax

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupId": 1,
  "OnDay": 1,
  "Description": "sample string 2",
  "DefaultAlarmGroup": 1,
  "DefaultEventGroup": 1,
  "CustId": 3,
  "ScheduleReporting": "sample string 4",
  "Frequency": "sample string 5",
  "ReportingMethod": "sample string 6",
  "AlarmGroup": 1,
  "EventGroup": 1,
  "PrintIfNoHistory": true,
  "DesignReportName": "sample string 8",
  "DesignReportId": 1,
  "DesignReportNameDesc": "sample string 9",
  "AlarmGroupName": "sample string 10",
  "EventGroupName": "sample string 11",
  "FrequencyName": "sample string 12",
  "ReportingMethodName": "sample string 13",
  "Email": "sample string 14",
  "UseClientEmailFax": "sample string 15",
  "SendTo": "sample string 16",
  "ClientUserId": 1,
  "DistributeHeader": "sample string 17",
  "ScheduleGroupName": "sample string 18",
  "ScheduleGroupId": 1,
  "Fax": "sample string 19"
}

text/html

Sample:
{"GroupId":1,"OnDay":1,"Description":"sample string 2","DefaultAlarmGroup":1,"DefaultEventGroup":1,"CustId":3,"ScheduleReporting":"sample string 4","Frequency":"sample string 5","ReportingMethod":"sample string 6","AlarmGroup":1,"EventGroup":1,"PrintIfNoHistory":true,"DesignReportName":"sample string 8","DesignReportId":1,"DesignReportNameDesc":"sample string 9","AlarmGroupName":"sample string 10","EventGroupName":"sample string 11","FrequencyName":"sample string 12","ReportingMethodName":"sample string 13","Email":"sample string 14","UseClientEmailFax":"sample string 15","SendTo":"sample string 16","ClientUserId":1,"DistributeHeader":"sample string 17","ScheduleGroupName":"sample string 18","ScheduleGroupId":1,"Fax":"sample string 19"}

application/xml, text/xml

Sample:
<ScheduleGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.ScheduledReports">
  <AlarmGroup>1</AlarmGroup>
  <AlarmGroupName>sample string 10</AlarmGroupName>
  <ClientUserId>1</ClientUserId>
  <CustId>3</CustId>
  <DefaultAlarmGroup>1</DefaultAlarmGroup>
  <DefaultEventGroup>1</DefaultEventGroup>
  <Description>sample string 2</Description>
  <DesignReportId>1</DesignReportId>
  <DesignReportName>sample string 8</DesignReportName>
  <DesignReportNameDesc>sample string 9</DesignReportNameDesc>
  <DistributeHeader>sample string 17</DistributeHeader>
  <Email>sample string 14</Email>
  <EventGroup>1</EventGroup>
  <EventGroupName>sample string 11</EventGroupName>
  <Fax>sample string 19</Fax>
  <Frequency>sample string 5</Frequency>
  <FrequencyName>sample string 12</FrequencyName>
  <GroupId>1</GroupId>
  <OnDay>1</OnDay>
  <PrintIfNoHistory>true</PrintIfNoHistory>
  <ReportingMethod>sample string 6</ReportingMethod>
  <ReportingMethodName>sample string 13</ReportingMethodName>
  <ScheduleGroupId>1</ScheduleGroupId>
  <ScheduleGroupName>sample string 18</ScheduleGroupName>
  <ScheduleReporting>sample string 4</ScheduleReporting>
  <SendTo>sample string 16</SendTo>
  <UseClientEmailFax>sample string 15</UseClientEmailFax>
</ScheduleGroup>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ScheduleGroup'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.