Actions

From ReliaWiki
Jump to navigation Jump to search

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 />
<!— 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>