| Overview | Service | Command |
| Authorization token required | true |
| Admin Authorization token required | true |
<GetAccountRequest [applyCos="{apply-cos} (0|1)"] [attrs="{request-attrs}"]> ## GetAccountRequest
<account by="{acct-selector-by} (adminName | appAdminName | id | foreignPrincipal | name | krb5Principal)">{key}</account> ## AccountSelector
</GetAccountRequest>
elements and attributes you can define within a
<GetAccountRequest> element:
| XPath | Required / Optional | Description | ||||
| @applyCos | Optional (0 or 1) | Type: 0|1 Flag whether or not to apply class of service (COS) rules
|
||||
| @attrs | Optional (0 or 1) | Type: String Comma separated list of attributes |
||||
| /account | Optional (0 or 1) | Type: {key} Account Description for element text content:The key used to identify the account. Meaning determined by {acct-selector-by} |
||||
| /account@by | Required (only 1) | Type: adminName | appAdminName | id | foreignPrincipal | name | krb5Principal Select the meaning of {acct-selector-key} |
<GetAccountResponse> ## GetAccountResponse
<account [isExternal="{is-external} (0|1)"] name="{name}" id="{id}"> ## AccountInfo
(<a n="{key}" /> ## Attr)*
</account>
</GetAccountResponse>
elements and attributes you can define within a
<GetAccountResponse> element:
| XPath | Required / Optional | Description |
| /account | Required (only 1) | Account information |
| /account@isExternal | Optional (0 or 1) | Type: 0|1 Whether the account's zimbraMailTranport points to the designated protocol(lmtp) and server(home server of the account). |
| /account@name | Required (only 1) | Type: String Name |
| /account@id | Required (only 1) | Type: String ID |
| /account/a | Optional (0 or more) | Attributes |
| /account/a@n | Required (only 1) | Type: String Key |