This project has moved. For the latest updates, please go here.

Add a History Item

Soap Action: ApplyItem or ApplyAML

To execute this action, you can use any of the following APIs:

  • Aras.IOM.Innovator.ApplyAML()
  • Aras.IOM.Item.Apply()
  • Aras.IOM.IServerConnection.CallAction()

Input Structure (Files):

<AML>
  <Item type="File" action="AddHistory" id="{Item ID}">
    <action>{'FileView', 'FileCheckin', or 'FileCheckout'}</action>
    <filename>{Name of the file, or other data}</filename>
  </Item>
</AML>

Input Structure (Forms):

<AML>
  <Item type="{Item Type}" action="AddHistory" id="{Item ID}">
    <action>{'FormView' or 'FormPrint'}</action>
    <form_name>{Name of the form, or other data}</form_name>
  </Item>
</AML>

Example (Input):

<AML>
  <Item type="Part" action="AddHistory" id="0F7DE1F8C98E4CD4A84913838CF9586A">
    <action>FormView</action>
    <form_name>Some action was completed</form_name>
  </Item>
</AML>

Example (Result):

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Body>
    <ApplyItemResponse>
      <Result>ok</Result>
    </ApplyItemResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Last edited Jan 1, 2012 at 11:11 PM by erdomke, version 1

Comments

No comments yet.