Service: zimbraAdmin

Command: GetCos
Namespace: urn:zimbraAdmin
Description: Get Class Of Service (COS)
Properties:
Authorization token required true
Admin Authorization token required true

GetCosRequest

    <GetCosRequest [attrs="{request-attrs}"]> ## GetCosRequest
        <cos [by="{cos-selector-by} (id | name)"]>{key}</cos> ## CosSelector
    </GetCosRequest>

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

XPath Required / Optional Description
@attrs Optional (0 or 1) Type: String
Comma separated list of attributes
/cos Optional (0 or 1) Type: {key}
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}

GetCosResponse

    <GetCosResponse> ## GetCosResponse
        <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>
    </GetCosResponse>

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

XPath Required / Optional Description
/cos Optional (0 or 1) Information about 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