Delete Custom Attribute operation


The Delete Custom Attribute operation deletes a custom attribute from a message.

The following table describes the <items> XML elements for the Delete Custom Attribute operation:

Adapter request elements for the Delete Custom Attribute operation

The following figure shows a sample adapter request for the Delete Custom Attribute operation:

Sample adapter request for the Delete Custom Attribute operation

<hpom-request>
 <operation>delete-custom-attribute</operation>
 <arguments>
   <message-id>0f4de4bc-966d-71de-1cfe-ac1031690000</message-id>
   <custom-attribute>
     <key>Test_Key</key>
   </custom-attribute>
 </arguments>
</hpom-request>

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

Sample adapter response for the Delete Custom Attribute 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_op</Name>
           </PersonAttributes>
         </AssignedOperator>
         <MessageID>0f4de4bc-966d-71de-1cfe-ac1031690000</MessageID>
         <Title>Cron command registered: /usr/sbin/ntpdate -b 192.168.0.16 >
          /dev/null 2>&1</Title>
         <LifecycleState>closed</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-09-08T16:53:50.000+05:30</StateChangeTime>
             <CreationTime>2009-09-01T02:00:02.000+05:30</CreationTime>
             <ReceivedTime>2009-09-01T02:00:02.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>0</NumberOfAnnotations>
               <OriginalEvent>>  CMD: /usr/sbin/ntpdate -b 192.168.0.16 >
                /dev/null 2>&1</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 20.18.01