Update Message operation


The Update Message operation updates a message.

The following table describes the <items> XML elements for the Update Message operation:

Adapter request elements for the Update Message operation

The following figure shows a sample adapter request for the Update Message operation:

Sample adapter request for the Update Message operation

<hpom-request>
  <operation>update-message</operation>
  <username>user</username>
  <password>pass</password>
  <arguments>
    <message-id>122cb566-8464-71de-0799-ac1031690000</message-id>
    <severity>Normal</severity>
    <title>Title Text</title>
  </arguments>
</hpom-request>

The following figure shows the adapter response for the sample request:

Sample adapter response for the Update Message operation

<hpom-response>
  <metadata>
    <status>success</status>
    <response-count>1</response-count>
  </metadata>
  <messages-response>
    <message-response>
      <metadata>
        <status>success</status>
        <count>1</count>
      </metadata>
      <Items>
        <Message>
          <AssignedOperator>
            <PersonAttributes>
              <Name>opc_adm</Name>
            </PersonAttributes>
          </AssignedOperator>
          <MessageID>122cb566-8464-71de-0799-ac1031690000</MessageID>
          <Title>Title Text</Title>
          <LifecycleState>work in progress</LifecycleState>
          <Severity>Normal</Severity>
          <Category>Job</Category>
          <EmittingCI>
            <ConfigurationItemProperties>
              <ID />
            </ConfigurationItemProperties>
          </EmittingCI>
          <EmittingNode>
            <NodeProperties>
              <DnsName>s-14686.synapse.com</DnsName>
            </NodeProperties>
          </EmittingNode>
          <Type />
          <Extensions>
            <OperationsExtension>
              <Application>/etc/cron(1M) Clock Daemon</Application>
              <Object>cron</Object>
              <StateChangeTime>2009-08-24T19:34:35.000+05:30</StateChangeTime>
              <CreationTime>2009-08-09T03:10:20.000+05:30</CreationTime>
              <ReceivedTime>2009-08-09T03:10:20.000+05:30</ReceivedTime>
              <NumberOfDuplicates>0</NumberOfDuplicates>
              <CorrelationKey />
              <ConditionMatched>false</ConditionMatched>
              <AutomaticActionStatus>notAvailable</AutomaticActionStatus>
              <OperatorActionStatus>notAvailable</OperatorActionStatus>
              <EscalationStatus>notEscalated</EscalationStatus>
              <Source>Cron (Solaris)</Source>
              <NumberOfAnnotations>17</NumberOfAnnotations>
              <OriginalEvent>>  CMD: /usr/sbin/logadm</OriginalEvent>
              <CustomAttributes />
            </OperationsExtension>
          </Extensions>
        </Message>
      </Items>
    </message-response>
  </messages-response>
</hpom-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Orchestration Content 24.3