Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the XML web service, the exportReleaseLevel, exportTable, retainSysIds, and version properties are specified as attributes in the <trigger> element.

<nextScheduleTime>2021-03-04 00:00:00 -0500</nextScheduleTime>



Examples

XML

JSON

Example for Trigger

Expand
titleXML
<triggerTime exportReleaseLevel="7.2.0.0" exportTable="ops_trigger_time" retainSysIds="true" version="1">
       <variables />
       <action>Do Not Trigger</action>
<notes />
<adjustInterval>true</adjustInterval>
<adjustmentAmount>1</adjustmentAmount>
<adjustmentType>Day</adjustmentType> <calendar>System Default</calendar> <dateAdjective>Every</dateAdjective>
<dateAdjustment>None</dateAdjustment>
<dateNouns>
<dateNoun>Saturday</dateNoun>
</dateNouns>
<dateQualifiers>
<dateQualifier>Year<dateQualifier>
</dateQualifiers>
<dayInterval>2</dayInterval>
<dayStyle>Complex</dayStyle> <description />
<disabledBy></disabledBy>
<disabledTime></disabledTime>
<enabled>true</enabled>
<enabledBy>ops.admin</enabledBy>
<enabledTime>2021-03-03 12:46:11 -0500</enabledTime>
<enabledEnd>00:00</enabledEnd>
<enabledStart>00:00</enabledStart>
<forecast>false</forecast>
<fri>false</fri>
<intervalStartingDate>2015-06-17</intervalStartingDate>
<mon>false</mon>
<name>test special day</name>
<nextScheduleTime>2021-03-04 00:00:00 -0500</nextScheduleTime>
<opswiseGroups />
<rdExcludeBackup>true</rdExcludeBackup>
<restrictedTimes>false</restrictedTimes>
<restriction>false</restriction>
<restrictionAdjective>Every</restrictionAdjective>
<restrictionComplex>false</restrictionComplex>
<restrictionMode>Or</restrictionMode>
<restrictionNouns>
<restrictionNoun>Day</restrictionNoun>
</restrictionNouns>
<restrictionNthAmount />
<restrictionQualifiers>
<restrictionQualifier>Year</retsrictionQualifier>
</restrictionQualifiers>
<restrictionSimple>false</restrictionSimple
<retentionDuration>1</retentionDuration
<retentionDurationPurge>true</retentionDurationPurge
<retentionDurationUnit>Days</retentionDurationUnit>
<sat>false</sat>
<simpleDateType>Daily</simpleDateType>
<simulationOption>-- System Default --</simulationOption
<situation>Holiday</situation
<skipAfterDate>2020-05-28</skipAfterDate
<skipAfterTime>02:15</skipAfterTime
<skipBeforeDate>2020-05-30</skipBeforeDate
<skipBeforeTime>17:30</skipBeforeTime
<skipCondition>None</skipCondition>
<skipCount>0</skipCount>
<skipDateList />
<skipRestriction>Span</skipRestriction
<startTimeEnable>false</startTimeEnable
<startingAt>*:00</startingAt>
<sun>false</sun
<sysId>0fc6b7d9c0a801c9017b6c27c259937e</sysId>
<tasks>
<task>Sleep 30</task>
</tasks>
<thu>false</thu>
<time>00:00</time>
<timeInterval />
<timeIntervalUnits>Hours</timeIntervalUnits>
<timeStyle>Absolute</timeStyle>
<timeZone />
<tue>false</tue>
<wed>false</wed>
</triggerTime>
</pre>
Expand
titleJSON
{
  "type": "triggerTime",
  "action": "Do Not Trigger",
"adjustInterval": true,
"adjustmentAmount": 1,
"adjustmentType": "Day", "calendar": "System Default", "dateAdjective": "Every",
"dateAdjustment": "None",
"dateNouns": {
"value": "Saturday"
},
"dateQualifiers": {
"value": "Year"
},
"dayInterval": 2,
"dayStyle": "Complex", "description": null,
"disabledBy": "",
"disabledTime": "",
"enabled": true,
"enabledBy": "ops.admin",
"enabledTime": "2021-03-03 12:46:11 -0500",
"enabledEnd": "00:00",
"enabledStart": "00:00",
"exportReleaseLevel": "7.2.0.0",
"exportTable": "ops_trigger_fm",
"forecast: false,
"fri: false,
"intervalStartingDate": null,
"mon: false,
"name": "test special day",
"nextScheduledTime": "2021-03-04 00:00:00 -0500",
"notes": [],
"opswiseGroups": [ ],
"rdExcludeBackup": true,
"restrictedTimes": false,
"restriction": false,
"restrictionAdjective": "Every",
"restrictionComplex": false,
"restrictionMode": "Or",
"restrictionNouns": [
{
"value": "Day"
}
],
"restrictionNthAmount": null,
"restrictionQualifiers": [
{
"value": "Year"
}
],
"restrictionSimple": false,
"retainSysIds": true,
"retentionDuration": 1,
"retentionDurationPurge": true,
"retentionDurationUnit": "Days",
"sat: false,
"simpleDateType": "Daily",
"simulationOption": "-- System Default --",
"situation": "Holiday",
"skipAfterDate": "2020-05-28",
"skipAfterTime": "02:15",
"skipBeforeDate": "2020-05-30",
"skipBeforeTime": "17:30",
"skipCondition": "None",
"skipCount": 0,
"skipDateList": [ ],
"skipRestriction": "Span",
"startTimeEnable": false,
"startingAt": "*:00",
"sun: false,
"sysId": "9c659c9c2c72460c9a2057663257b0be",
"tasks": [ "Sleep 30" ],
"thu: false,
"time": "00:00",
"timeInterval": null,
"timeIntervalUnits": "Hours",
"timeStyle": "Absolute",
"timeZone": null,
"tue: false,
"variables": [ ],
"version": 1
"wed: false,
}
Examples for Trigger-Related Records

Variables

Expand
titleXML
<variables>
   <variable>
         <description />
         <name>testVar</name>
         <value>value</value>
   </variable>
</variables>

Notes

Expand
titleXML
<notes>
   <note>
         <sysId>76ad570c64b84f84aeaf281403856b10</sysId>
         <text>testNoteText</text>
         <title>testNoteTitle</title>
   </note>
</notes>

Variables

Expand
titleJSON
"variables": [ {
  "description": "description",
  "name": "var1",
  "value": "value1"
} ]

Notes

Expand
titleJSON
"notes": [ {
  "sysId": "76ad570c64b84f84aeaf281403856b10",
  "text": "testNoteText",
  "title": "testNoteTitle"
} ]

...