Annotate operation
The Annotate operation adds an annotation to a message.
The following table describes the <items>
XML elements for the Annotate operation:
Adapter request elements for the Annotate operation
Element |
Definition |
Required |
---|---|---|
|
Specifies the user name for the HP Operations Manager server authentication Note If the |
No |
|
Specifies the password that corresponds to the user name Note If the |
No |
|
Specifies a list of arguments that are required for this operation |
Yes |
|
Specifies a unique identifier (ID) for the message to which the annotation is added |
Yes |
|
Specifies the annotation text |
Yes |
The following figure shows a sample adapter request for the Annotate operation:
Sample adapter request for the Annotate operation
<hpom-request>
<operation>annotate</operation>
<username>user</username>
<password>pass</password>
<arguments>
<message-id>9bb78fe0-b344-71de-1714-ac1031860000</message-id>
<annotation>test annotate text</annotation>
</arguments>
</hpom-request>
The following figure shows the adapter response for the sample request:
Sample adapter response for the Annotate 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>
<Annotations>
<Annotation>
<Author>WIN3STDVM\Administrator</Author>
<Text><![CDATA[test annotate text]]></Text>
<Date>2009-10-28T17:33:36</Date>
<ID>53a7f037-96c4-4f0f-9528-775a4bd91542</ID>
</Annotation>
</Annotations>
</message-response>
</messages-response>
</hpom-response>
Comments
Log in or register to comment.