Actions: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) |
John Leavitt (talk | contribs) |
||
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''']]>}} | ||
::: | :::<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''']]>}} | ||
:::: | ::::<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>}} | ||
:::: | ::::<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''']]>}} | ||
:::: | ::::'''<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>9<font color=Blue></Day></font>''' | ||
:::: | ::::<font color=Blue><Hour></font>7<font color=Blue></Hour></font> | ||
:::: | ::::<font color=Blue><Minute></font>0<font color=Blue></Minute></font> | ||
:::: | ::::<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''']]>}} | ||
:::: | ::::'''<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>45<font color=Blue></Minute></font> | ||
:::: | ::::<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>}} | ||
:::: | ::::'''<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|<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>