POST alarm/addClientTestConfig

Request Information

URI Parameters

None.

Body Parameters

AlarmTestSchedConfig
NameDescriptionTypeAdditional information
TSID

integer

None.

CP_Specific

boolean

None.

ClientGroupId

integer

None.

ScheduleDesc

string

None.

TestingPeriod

string

None.

TestingInterval

integer

None.

DynamicZoneTesting

boolean

None.

SendWarning

boolean

None.

WarningDays

integer

None.

WarningContentTemplateId

integer

None.

SendExpired

boolean

None.

ExpiredContentTemplateId

integer

None.

WarningContentTemplateName

string

None.

ExpiredContentTemplateName

string

None.

GroupName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "TSID": 1,
  "CP_Specific": true,
  "ClientGroupId": 1,
  "ScheduleDesc": "sample string 3",
  "TestingPeriod": "sample string 4",
  "TestingInterval": 5,
  "DynamicZoneTesting": true,
  "SendWarning": true,
  "WarningDays": 8,
  "WarningContentTemplateId": 1,
  "SendExpired": true,
  "ExpiredContentTemplateId": 1,
  "WarningContentTemplateName": "sample string 10",
  "ExpiredContentTemplateName": "sample string 11",
  "GroupName": "sample string 12"
}

text/html

Sample:
{"TSID":1,"CP_Specific":true,"ClientGroupId":1,"ScheduleDesc":"sample string 3","TestingPeriod":"sample string 4","TestingInterval":5,"DynamicZoneTesting":true,"SendWarning":true,"WarningDays":8,"WarningContentTemplateId":1,"SendExpired":true,"ExpiredContentTemplateId":1,"WarningContentTemplateName":"sample string 10","ExpiredContentTemplateName":"sample string 11","GroupName":"sample string 12"}

application/xml, text/xml

Sample:
<AlarmTestSchedConfig xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.ClientPortal">
  <CP_Specific>true</CP_Specific>
  <ClientGroupId>1</ClientGroupId>
  <DynamicZoneTesting>true</DynamicZoneTesting>
  <ExpiredContentTemplateId>1</ExpiredContentTemplateId>
  <ExpiredContentTemplateName>sample string 11</ExpiredContentTemplateName>
  <GroupName>sample string 12</GroupName>
  <ScheduleDesc>sample string 3</ScheduleDesc>
  <SendExpired>true</SendExpired>
  <SendWarning>true</SendWarning>
  <TSID>1</TSID>
  <TestingInterval>5</TestingInterval>
  <TestingPeriod>sample string 4</TestingPeriod>
  <WarningContentTemplateId>1</WarningContentTemplateId>
  <WarningContentTemplateName>sample string 10</WarningContentTemplateName>
  <WarningDays>8</WarningDays>
</AlarmTestSchedConfig>

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 'AlarmTestSchedConfig'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.