Service: zimbraAdmin
Namespace: "urn:zimbraAdmin"
GetDataSources SOAP Command

Returns all data sources defined for the given mailbox. For each data source, every attribute value is returned except password.
Note: this request is by default proxied to the account's home server

Authorization token required true
Admin Authorization token required true

GetDataSourcesRequest

    <GetDataSourcesRequest id="{existing-account-id}"> ## GetDataSourcesRequest
        (<a n="{key}" /> ## Attr)*
    </GetDataSourcesRequest>

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

XPath Required / Optional Description
@id Required (only 1) Type:String
Account ID for an existing account
/a Optional (0 or more) Attributes
/a@n Required (only 1) Type:String
Key

GetDataSourcesResponse

    <GetDataSourcesResponse> ## GetDataSourcesResponse
        (<dataSource name="{data-source-name}" id="{data-source-id}"
                         type="{data-source-type} (pop3|imap|caldav|contacts|yab|rss|cal|gal|xsync|tagmap)"> ## DataSourceInfo
            (<a n="{key}" /> ## Attr)*
          </dataSource>)*
    </GetDataSourcesResponse>

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

XPath Required / Optional Description
/dataSource Optional (0 or more) Information on data sources
/dataSource@name Required (only 1) Type:String
Data source name
/dataSource@id Required (only 1) Type:String
Data source id
/dataSource@type Required (only 1) Type:pop3|imap|caldav|contacts|yab|rss|cal|gal|xsync|tagmap
Data source type
/dataSource/a Optional (0 or more) Attributes
/dataSource/a@n Required (only 1) Type:String
Key