Service: zimbraMail

Command: GetCustomMetadata
Namespace: urn:zimbraMail
Description: Get Custom metadata
Properties:
Authorization token required true
Admin Authorization token required false

GetCustomMetadataRequest

    <GetCustomMetadataRequest id="{item-id}"> ## GetCustomMetadataRequest
        <meta section="{metadata-section-key}" /> ## SectionAttr
    </GetCustomMetadataRequest>

elements and attributes you can define within a <GetCustomMetadataRequest> element:

XPath Required / Optional Description
@id Required (only 1) Type: String
Item ID
/meta Optional (0 or 1) Metadata section selector
/meta@section Required (only 1) Type: String
Metadata section key

GetCustomMetadataResponse

    <GetCustomMetadataResponse id="{item-id}"> ## GetCustomMetadataResponse
        <meta [section="{section}"]> ## MailCustomMetadata
            (<a n="{key}">{value}</a> ## KeyValuePair)*
         </meta>
    </GetCustomMetadataResponse>

elements and attributes you can define within a <GetCustomMetadataResponse> element:

XPath Required / Optional Description
@id Required (only 1) Type: String
Item ID
/meta Optional (0 or 1) Custom metadata
/meta@section Optional (0 or 1) Type: String
Section.
Normally present. If absent this indicates that CustomMetadata info is present but there are no sections to report on.
/meta/a Optional (0 or more) Type: {value}
Key value pairs
Description for element text content:Value
/meta/a@n Required (only 1) Type: String
Key