Service: zimbraAdmin

Command: DeployZimlet
Namespace: urn:zimbraAdmin
Description: Deploy Zimlet(s)
Properties:
Authorization token required true
Admin Authorization token required true

DeployZimletRequest

    <DeployZimletRequest action="{action}" [flush="{flush-cache} (0|1)"] [synchronous="(0|1)"]> ## DeployZimletRequest
        <content [aid="{attachment-id}"] /> ## AttachmentIdAttrib
    </DeployZimletRequest>

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

XPath Required / Optional Description
@action Required (only 1) Type: String
Action - valid values : deployAll|deployLocal|status
@flush Optional (0 or 1) Type: 0|1
Flag whether to flush the cache
@synchronous Optional (0 or 1) Type: 0|1
Synchronous flag
/content Required (only 1) Content
/content@aid Optional (0 or 1) Type: String
Attachment ID

DeployZimletResponse

    <DeployZimletResponse> ## DeployZimletResponse
        (<progress server="{server-name}" status="{status-succeeded|failed|pending}" [error="{error-message}"] /> ## ZimletDeploymentStatus)*
    </DeployZimletResponse>

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

XPath Required / Optional Description
/progress Optional (0 or more) Progress information on deployment to servers
/progress@server Required (only 1) Type: String
Server name
/progress@status Required (only 1) Type: String
Status - valid values succeeded|failed|pending
/progress@error Optional (0 or 1) Type: String
Error message