Service: zimbraAdmin

Command: CopyCos
Namespace: urn:zimbraAdmin
Description: Copy Class of service (COS)
Properties:
Authorization token required true
Admin Authorization token required true

CopyCosRequest

    <CopyCosRequest> ## CopyCosRequest
        <name>{newName} (String)</name>
        <cos [by="{cos-selector-by} (id | name)"]>{key}</cos> ## CosSelector
    </CopyCosRequest>

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

XPath Required / Optional Description
/name Optional (0 or 1) Type: {newName} (String)
Destination name for COS
/cos Optional (0 or 1) Type: {key}
Source COS
Description for element text content:The key used to identify the COS. Meaning determined by {cos-selector-by}
/cos@by Optional (0 or 1) Type: id | name
Select the meaning of {cos-selector-key}

CopyCosResponse

    <CopyCosResponse> ## CopyCosResponse
        <cos id="{id}" name="{name}" [isDefaultCos="{is-default-cos} (0|1)"]> ## CosInfo
            (<a [c="{is-cos-attr} (0|1)"] [pd="{perm-denied} (0|1)"] n="{key}" /> ## CosInfoAttr)*
         </cos>
    </CopyCosResponse>

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

XPath Required / Optional Description
/cos Optional (0 or 1) Information about copied Class Of Service (COS)
/cos@id Required (only 1) Type: String
ID
/cos@name Required (only 1) Type: String
Name
/cos@isDefaultCos Optional (0 or 1) Type: 0|1
Flag whether is the default Class Of Service (COS)
/cos/a Optional (0 or more) Attributes
/cos/a@c Optional (0 or 1) Type: 0|1
Flags that this is a Class Of Service (COS) attribute.
/cos/a@pd Optional (0 or 1) Type: 0|1
Flags that the value of this attribute has been suppressed for permissions reasons
/cos/a@n Required (only 1) Type: String
Key