Namespace: "urn:zimbraAdmin"
CreateCos SOAP Command

Create a Class of Service (COS)
Notes:
Extra attrs: description, zimbraNotes

Authorization token required true
Admin Authorization token required true

CreateCosRequest

    <CreateCosRequest> ## CreateCosRequest
        <name>{name} (String)</name>
        (<a n="{key}" /> ## Attr)*
    </CreateCosRequest>

The following table describes elements and attributes you can define within a <CreateCosRequest> element:

XPath Required / Optional Description
/name Required (only 1) Type:{name} (String)
Name
/a Optional (0 or more) Attributes
/a@n Required (only 1) Type:String
Key

CreateCosResponse

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

The following table describes elements and attributes you can define within a <CreateCosResponse> element:

XPath Required / Optional Description
/cos Optional (0 or 1) Details of created 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