Actions: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
Line 18: Line 18:
::<font color=blue><!—</font>{{APIComment|An action will be updated if its ActionID matches an original ActionID and if any of the following values differ from the original: ActionType, ActionDescription, ActionResult, DueDate, Owner, StartDate, CompleteDate, SentEmailNoticeDate, Creator. If the ActionID does not match an original ActionID, UpdateOnly is disabled and the action will be inserted if it is valid.}}
::<font color=blue><!—</font>{{APIComment|An action will be updated if its ActionID matches an original ActionID and if any of the following values differ from the original: ActionType, ActionDescription, ActionResult, DueDate, Owner, StartDate, CompleteDate, SentEmailNoticeDate, Creator. If the ActionID does not match an original ActionID, UpdateOnly is disabled and the action will be inserted if it is valid.}}
::{{Template:XFRACAS.Blue|<[[Actions.Action|'''Action''']]>}}
::{{Template:XFRACAS.Blue|<[[Actions.Action|'''Action''']]>}}
:::{{Template:XFRACAS.Blue|<ActionID>}}{{Template:XFRACAS.Black|2}}{{Template:XFRACAS.Blue|</ActionID>}}
:::<font color=Blue><ActionID></font>2<font color=Blue></ActionID></font>
:::<font color=blue><!—</font>{{APIComment|The ActionType Element is required and must contain either an ActionTypeID or Description element.}}
:::<font color=blue><!—</font>{{APIComment|The ActionType Element is required and must contain either an ActionTypeID or Description element.}}
:::<font color=blue><!—</font>{{APIComment|The combination of the ActionTypeID and/or Description values must match an existing Action Type.}}
:::<font color=blue><!—</font>{{APIComment|The combination of the ActionTypeID and/or Description values must match an existing Action Type.}}
:::{{Template:XFRACAS.Blue|<[[Actions.ActionType|'''ActionType''']]>}}
:::{{Template:XFRACAS.Blue|<[[Actions.ActionType|'''ActionType''']]>}}
::::{{Template:XFRACAS.Blue|<ActionTypeID>}}{{Template:XFRACAS.Black|8}}{{Template:XFRACAS.Blue|</ActionTypeID>}}
::::<font color=Blue><ActionTypeID></font>8<font color=Blue></ActionTypeID></font>
::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Incident Action}}{{Template:XFRACAS.Blue|</Description>}}
::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Incident Action}}{{Template:XFRACAS.Blue|</Description>}}
:::{{Template:XFRACAS.Blue|</[[Actions.ActionType|'''ActionType''']]>}}
:::{{Template:XFRACAS.Blue|</[[Actions.ActionType|'''ActionType''']]>}}
:::{{Template:XFRACAS.Blue|<AssignedType>}}
:::{{Template:XFRACAS.Blue|<AssignedType>}}
::::{{Template:XFRACAS.Blue|<[[Actions.AssignedID|'''AssignedID''']]>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</AssignedID>}}
::::<font color=Blue><AssignedID></font>1<font color=Blue></AssignedID></font>
::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Incident}}{{Template:XFRACAS.Blue|</Description>}}
::::{{Template:XFRACAS.Blue|<Description>}}{{Template:XFRACAS.Black|Incident}}{{Template:XFRACAS.Blue|</Description>}}
:::{{Template:XFRACAS.Blue|</AssignedType>}}
:::{{Template:XFRACAS.Blue|</AssignedType>}}
Line 35: Line 35:
:::<font color=blue><!—</font>{{APIComment|DueDate is required and must contain a [[Valid Date]]}}
:::<font color=blue><!—</font>{{APIComment|DueDate is required and must contain a [[Valid Date]]}}
:::{{Template:XFRACAS.Blue|<[[Actions.DueDate|'''DueDate''']]>}}
:::{{Template:XFRACAS.Blue|<[[Actions.DueDate|'''DueDate''']]>}}
::::{{Template:XFRACAS.Blue|<Year>}}{{Template:XFRACAS.Black|2013}}{{Template:XFRACAS.Blue|</Year>}}
::::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
::::{{Template:XFRACAS.Blue|<Month>}}{{Template:XFRACAS.Black|8}}{{Template:XFRACAS.Blue|</Month>}}
::::'''<font color=Blue><Month></font>8<font color=Blue></Month></font>'''
::::{{Template:XFRACAS.Blue|<Day>}}{{Template:XFRACAS.Black|9}}{{Template:XFRACAS.Blue|</Day>}}
::::'''<font color=Blue><Day></font>9<font color=Blue></Day></font>'''
::::{{Template:XFRACAS.Blue|<Hour>}}{{Template:XFRACAS.Black|7}}{{Template:XFRACAS.Blue|</Hour>}}
::::<font color=Blue><Hour></font>7<font color=Blue></Hour></font>
::::{{Template:XFRACAS.Blue|<Minute>}}{{Template:XFRACAS.Black|0}}{{Template:XFRACAS.Blue|</Minute>}}
::::<font color=Blue><Minute></font>0<font color=Blue></Minute></font>
::::{{Template:XFRACAS.Blue|<Second>}}{{Template:XFRACAS.Black|0}}{{Template:XFRACAS.Blue|</Second>}}
::::<font color=Blue><Second></font>0<font color=Blue></Second></font>
::::{{Template:XFRACAS.Blue|<FormattedDate>}}{{Template:XFRACAS.Black|08/09/2013 12:00 AM}}{{Template:XFRACAS.Blue|</FormattedDate>}}
::::{{Template:XFRACAS.Blue|<FormattedDate>}}{{Template:XFRACAS.Black|08/09/2013 12:00 AM}}{{Template:XFRACAS.Blue|</FormattedDate>}}
:::{{Template:XFRACAS.Blue|</[[Actions.DueDate|DueDate]]>}}
:::{{Template:XFRACAS.Blue|</[[Actions.DueDate|DueDate]]>}}
Line 51: Line 51:
:::<font color=blue><!—</font>{{APIComment|StartDate is required and must contain a [[Valid Date]]}}
:::<font color=blue><!—</font>{{APIComment|StartDate is required and must contain a [[Valid Date]]}}
:::{{Template:XFRACAS.Blue|<[[Actions.StartDate|'''StartDate''']]>}}
:::{{Template:XFRACAS.Blue|<[[Actions.StartDate|'''StartDate''']]>}}
::::{{Template:XFRACAS.Blue|<Year>}}{{Template:XFRACAS.Black|2013}}{{Template:XFRACAS.Blue|</Year>}}
::::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
::::{{Template:XFRACAS.Blue|<Month>}}{{Template:XFRACAS.Black|8}}{{Template:XFRACAS.Blue|</Month>}}
::::'''<font color=Blue><Month></font>8<font color=Blue></Month></font>'''
::::{{Template:XFRACAS.Blue|<Day>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</Day>}}
::::'''<font color=Blue><Day></font>1<font color=Blue></Day></font>'''
::::{{Template:XFRACAS.Blue|<Hour>}}{{Template:XFRACAS.Black|22}}{{Template:XFRACAS.Blue|</Hour>}}
::::<font color=Blue><Hour></font>22<font color=Blue></Hour></font>
::::{{Template:XFRACAS.Blue|<Minute>}}{{Template:XFRACAS.Black|45}}{{Template:XFRACAS.Blue|</Minute>}}
::::<font color=Blue><Minute></font>45<font color=Blue></Minute></font>
::::{{Template:XFRACAS.Blue|<Second>}}{{Template:XFRACAS.Black|7}}{{Template:XFRACAS.Blue|</Second>}}
::::<font color=Blue><Second></font>7<font color=Blue></Second></font>
::::{{Template:XFRACAS.Blue|<FormattedDate>}}{{Template:XFRACAS.Black|08/01/2013 03:45 PM}}{{Template:XFRACAS.Blue|</FormattedDate>}}
::::{{Template:XFRACAS.Blue|<FormattedDate>}}{{Template:XFRACAS.Black|08/01/2013 03:45 PM}}{{Template:XFRACAS.Blue|</FormattedDate>}}
:::{{Template:XFRACAS.Blue|</[[Actions.StartDate|'''StartDate''']]>}}
:::{{Template:XFRACAS.Blue|</[[Actions.StartDate|'''StartDate''']]>}}
:::<font color=blue><!—</font>{{APIComment|CompleteDate is required and must contain a [[Valid Date]]}}
:::<font color=blue><!—</font>{{APIComment|CompleteDate is required and must contain a [[Valid Date]]}}
:::{{Template:XFRACAS.Blue|<CompleteDate>}}
:::{{Template:XFRACAS.Blue|<CompleteDate>}}
::::{{Template:XFRACAS.Blue|<Year>}}{{Template:XFRACAS.Black|2013}}{{Template:XFRACAS.Blue|</Year>}}
::::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
::::{{Template:XFRACAS.Blue|<Month>}}{{Template:XFRACAS.Black|8}}{{Template:XFRACAS.Blue|</Month>}}
::::'''<font color=Blue><Month></font>8<font color=Blue></Month></font>'''
::::{{Template:XFRACAS.Blue|<Day>}}{{Template:XFRACAS.Black|1}}{{Template:XFRACAS.Blue|</Day>}}
::::'''<font color=Blue><Day></font>1<font color=Blue></Day></font>'''
::::{{Template:XFRACAS.Blue|<Hour>}}{{Template:XFRACAS.Black|22}}{{Template:XFRACAS.Blue|</Hour>}}
::::<font color=Blue><Hour></font>22<font color=Blue></Hour></font>
::::{{Template:XFRACAS.Blue|<Minute>}}{{Template:XFRACAS.Black|46}}{{Template:XFRACAS.Blue|</Minute>}}
::::<font color=Blue><Minute></font>46<font color=Blue></Minute></font>
::::{{Template:XFRACAS.Blue|<Second>}}{{Template:XFRACAS.Black|8}}{{Template:XFRACAS.Blue|</Second>}}
::::<font color=Blue><Second></font>8<font color=Blue></Second></font>
::::{{Template:XFRACAS.Blue|<FormattedDate>>}}{{Template:XFRACAS.Black|08/01/2013 03:46 PM}}{{Template:XFRACAS.Blue|</FormattedDate>}}
::::{{Template:XFRACAS.Blue|<FormattedDate>>}}{{Template:XFRACAS.Black|08/01/2013 03:46 PM}}{{Template:XFRACAS.Blue|</FormattedDate>}}
:::{{Template:XFRACAS.Blue|</CompleteDate>}}
:::{{Template:XFRACAS.Blue|</CompleteDate>}}
:::<font color=blue><!—</font>{{APIComment|SentEmailNoticeDate is optional and, if present, must contain a [[Valid Date]]}}
:::<font color=blue><!—</font>{{APIComment|SentEmailNoticeDate is optional and, if present, must contain a [[Valid Date]]}}
:::{{Template:XFRACAS.Blue|<SentEmailNoticeDate />}}
:::{{Template:XFRACAS.Blue|<SentEmailNoticeDate>}}
::::'''<font color=Blue><Year></font>2013<font color=Blue></Year></font>'''
::::'''<font color=Blue><Month></font>8<font color=Blue></Month></font>'''
::::'''<font color=Blue><Day></font>1<font color=Blue></Day></font>'''
::::<font color=Blue><Hour></font>22<font color=Blue></Hour></font>
::::<font color=Blue><Minute></font>46<font color=Blue></Minute></font>
::::<font color=Blue><Second></font>8<font color=Blue></Second></font>
::::{{Template:XFRACAS.Blue|<FormattedDate>>}}{{Template:XFRACAS.Black|08/01/2013 03:46 PM}}{{Template:XFRACAS.Blue|</FormattedDate>}}
:::{{Template:XFRACAS.Blue|</SentEmailNoticeDate>}}
:::<font color=blue><!—</font>{{APIComment|The Creator element is required and, if present, must contain a [[Valid User]]}}
:::<font color=blue><!—</font>{{APIComment|The Creator element is required and, if present, must contain a [[Valid User]]}}
:::{{Template:XFRACAS.Blue|<[[Actions.Creator|'''Creator''']]>}}
:::{{Template:XFRACAS.Blue|<[[Actions.Creator|'''Creator''']]>}}

Revision as of 22:06, 9 March 2015

XML Elements


Actions Sample

<!— The Actions element is optional and may contain zero or more Action elements.
<Actions>
<!— The ActionType Element is required.
<!— An action will be updated if its ActionID matches an original ActionID and if any of the following values differ from the original: ActionType, ActionDescription, ActionResult, DueDate, Owner, StartDate, CompleteDate, SentEmailNoticeDate, Creator. If the ActionID does not match an original ActionID, UpdateOnly is disabled and the action will be inserted if it is valid.
<Action>
<ActionID>2</ActionID>
<!— The ActionType Element is required and must contain either an ActionTypeID or Description element.
<!— The combination of the ActionTypeID and/or Description values must match an existing Action Type.
<ActionType>
<ActionTypeID>8</ActionTypeID>
<Description> Incident Action </Description>
</ActionType>
<AssignedType>
<AssignedID>1</AssignedID>
<Description> Incident </Description>
</AssignedType>
<!— The ActionDescription element is required. A maximum of 1000 characters is allowed.
<ActionDescription> Test Action </ActionDescription>
<!— The ActionResult is optional. A maximum of 1000 characters is allowed.
<ActionResult> action results here </ActionResult>
<!— DueDate is required and must contain a Valid Date
<DueDate>
<Year>2013</Year>
<Month>8</Month>
<Day>9</Day>
<Hour>7</Hour>
<Minute>0</Minute>
<Second>0</Second>
<FormattedDate> 08/09/2013 12:00 AM </FormattedDate>
</DueDate>
<!— ActionOwner is required and the Login element must contain a Valid User
<ActionOwner>
<FirstName> Joe </FirstName>
<LastName> User </LastName>
<Login> JUSER </Login>
</[Actions.ActionOwner
<!— StartDate is required and must contain a Valid Date
<StartDate>
<Year>2013</Year>
<Month>8</Month>
<Day>1</Day>
<Hour>22</Hour>
<Minute>45</Minute>
<Second>7</Second>
<FormattedDate> 08/01/2013 03:45 PM </FormattedDate>
</StartDate>
<!— CompleteDate is required and must contain a Valid Date
<CompleteDate>
<Year>2013</Year>
<Month>8</Month>
<Day>1</Day>
<Hour>22</Hour>
<Minute>46</Minute>
<Second>8</Second>
<FormattedDate>> 08/01/2013 03:46 PM </FormattedDate>
</CompleteDate>
<!— SentEmailNoticeDate is optional and, if present, must contain a Valid Date
<SentEmailNoticeDate>
<Year>2013</Year>
<Month>8</Month>
<Day>1</Day>
<Hour>22</Hour>
<Minute>46</Minute>
<Second>8</Second>
<FormattedDate>> 08/01/2013 03:46 PM </FormattedDate>
</SentEmailNoticeDate>
<!— The Creator element is required and, if present, must contain a Valid User
<Creator>
<FirstName> Sam </FirstName>
<LastName> User </LastName>
<Login> SUSER </Login>
</Creator>
<Details />
</Action>
</Actions>