Service: zimbraMail
Namespace: "urn:zimbraMail"
AddComment SOAP Command

Add a comment to the specified item. Currently comments can only be added to documents

Authorization token required true
Admin Authorization token required false

AddCommentRequest

    <AddCommentRequest> ## AddCommentRequest
        <comment parentId="{item-id-of-parent}" text="{comment-text}" /> ## AddedComment
    </AddCommentRequest>

The following table describes elements and attributes you can define within a <AddCommentRequest> element:

XPath Required / Optional Description
/comment Required (only 1) Added comment
/comment@parentId Required (only 1) Type:String
Item ID of parent
/comment@text Required (only 1) Type:String
Comment text

AddCommentResponse

    <AddCommentResponse> ## AddCommentResponse
        <comment [id="..."] /> ## Id
    </AddCommentResponse>

The following table describes elements and attributes you can define within a <AddCommentResponse> element:

XPath Required / Optional Description
/comment Required (only 1) Item ID for the comment
/comment@id Optional (0 or 1) Type:String
ID