Actions: Difference between revisions
Jump to navigation
Jump to search
John Leavitt (talk | contribs) |
John Leavitt (talk | contribs) |
||
Line 45: | Line 45: | ||
:::<font color=blue><!—</font>{{APIComment|ActionOwner is required and the Login element must contain a [[Valid User]]}} | :::<font color=blue><!—</font>{{APIComment|ActionOwner is required and the Login element must contain a [[Valid User]]}} | ||
:::{{Template:XFRACAS.Blue|<ActionOwner>}} | :::{{Template:XFRACAS.Blue|<ActionOwner>}} | ||
:::: | ::::<font color=Blue><FirstName></font><font color=black>Joe</font><font color=Blue></FirstName></font> | ||
:::: | ::::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font> | ||
:::: | ::::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font> | ||
::::'''<font color=Blue><Login></font><font color=black>juser</font><font color=Blue></Login></font>''' | |||
:::{{Template:XFRACAS.Blue|</[Actions.ActionOwner|'''ActionOwner''']]>}} | :::{{Template:XFRACAS.Blue|</[Actions.ActionOwner|'''ActionOwner''']]>}} | ||
:::<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]]}} | ||
Line 81: | Line 82: | ||
:::<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''']]>}} | ||
:::: | ::::<font color=Blue><FirstName></font><font color=black>Sam</font><font color=Blue></FirstName></font> | ||
:::: | ::::<font color=Blue><MiddleName></font><font color=black>Isa</font><font color=Blue></MiddleName></font> | ||
:::: | ::::<font color=Blue><LastName></font><font color=black>User</font><font color=Blue></LastName></font> | ||
::::'''<font color=Blue><Login></font><font color=black>suser</font><font color=Blue></Login></font>''' | |||
:::{{Template:XFRACAS.Blue|</[[Actions.Creator|'''Creator''']]>}} | :::{{Template:XFRACAS.Blue|</[[Actions.Creator|'''Creator''']]>}} | ||
:::{{Template:XFRACAS.Blue|<Details />}} | :::{{Template:XFRACAS.Blue|<Details />}} | ||
::{{Template:XFRACAS.Blue|</[[Actions.Action|Action]]>}} | ::{{Template:XFRACAS.Blue|</[[Actions.Action|Action]]>}} | ||
:{{Template:XFRACAS.Blue|</[[Actions Element|Actions]]>}} | :{{Template:XFRACAS.Blue|</[[Actions Element|Actions]]>}} |
Revision as of 22:12, 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>
- <MiddleName>Isa</MiddleName>
- <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>
- <MiddleName>Isa</MiddleName>
- <LastName>User</LastName>
- <Login>suser</Login>
- </Creator>
- <Details />
- </Action>
- </Actions>