Service: zimbraMail

Command: CreateSmartLinks
Namespace: urn:zimbraMail
Description: Create smart links for attachments
Properties:
Authorization token required true
Admin Authorization token required false

CreateSmartLinksRequest

    <CreateSmartLinksRequest> ## CreateSmartLinksRequest
        (<attachments partName="{partName}" draftId="{draftId}" /> ## AttachmentToConvert)+
    </CreateSmartLinksRequest>

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

XPath Required / Optional Description
/attachments Required (1 or more) attachments to convert to smartlinks
/attachments@partName Required (only 1) Type: String
part name of the attachment
/attachments@draftId Required (only 1) Type: String
id of the draft mail the attachment belongs to

CreateSmartLinksResponse

    <CreateSmartLinksResponse> ## CreateSmartLinksResponse
        (<smartLinks [publicUrl="..."] /> ## SmartLink)*
    </CreateSmartLinksResponse>

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

XPath Required / Optional Description
/smartLinks Optional (0 or more)
/smartLinks@publicUrl Optional (0 or 1) Type: String