Service: zimbraMail

Command: GetSystemRetentionPolicy
Namespace: urn:zimbraMail
Description: Get system retention policy
Properties:
Authorization token required true
Admin Authorization token required false

GetSystemRetentionPolicyRequest

    <GetSystemRetentionPolicyRequest /> ## GetSystemRetentionPolicyRequest

GetSystemRetentionPolicyResponse

    <GetSystemRetentionPolicyResponse> ## GetSystemRetentionPolicyResponse
        <retentionPolicy> ## RetentionPolicy
            <purge>
                (<policy [type="{retention-policy-type} (user | system)"] [id="{id}"] [name="{name}"]
                             [lifetime="{policy-duration}"] /> ## Policy)*
            </purge>
         </retentionPolicy>
    </GetSystemRetentionPolicyResponse>

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

XPath Required / Optional Description
/retentionPolicy Optional (0 or 1) System Retention policy
/retentionPolicy/purge Required (only 1)
/retentionPolicy/purge/policy Optional (0 or more)
/retentionPolicy/purge/policy@type Optional (0 or 1) Type: user | system
Retention policy type
/retentionPolicy/purge/policy@id Optional (0 or 1) Type: String
ID
/retentionPolicy/purge/policy@name Optional (0 or 1) Type: String
Name
/retentionPolicy/purge/policy@lifetime Optional (0 or 1) Type: String
Duration