Authorization token required | true |
Admin Authorization token required | true |
<AddGalSyncDataSourceRequest name="{datasource-name}" domain="{domain-name}" type="(both | ldap | zimbra)"
[folder="{contact-folder-name}"]> ## AddGalSyncDataSourceRequest
<account by="{acct-selector-by} (adminName | appAdminName | id | foreignPrincipal | name | krb5Principal)">{key}</account> ## AccountSelector
(<a n="{key}" /> ## Attr)*
</AddGalSyncDataSourceRequest>
elements and attributes you can define within a
<AddGalSyncDataSourceRequest>
element:
XPath | Required / Optional | Description |
@name | Required (only 1) | Type: String Name of the data source |
@domain | Required (only 1) | Type: String Name of pre-existing domain |
@type | Required (only 1) | Type: both | ldap | zimbra GalMode type |
@folder | Optional (0 or 1) | Type: String Contact folder name |
/account | Required (only 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} |
/a | Optional (0 or more) | Attributes |
/a@n | Required (only 1) | Type: String Key |
<AddGalSyncDataSourceResponse> ## AddGalSyncDataSourceResponse
<account [isExternal="{is-external} (0|1)"] name="{name}" id="{id}"> ## AccountInfo
(<a n="{key}" /> ## Attr)*
</account>
</AddGalSyncDataSourceResponse>
elements and attributes you can define within a
<AddGalSyncDataSourceResponse>
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 |