Attachment API

Attachment common object

OVERVIEW

Common object for attachment

 

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<attachments>
    <images>
        <image>
            <imagelink>{http image link}</imagelink>
            <apilink>{api image link}</apilink>
            <name>{file name}</name>
            <extension>{file extension}</extension>
            <filesize>{file size}</filesize>
            <imagetype>{image type 1/0}</imagetype>
            <displayversion>{file display version}</displayversion>
            <parentfolderid>{parent folder id}</parentfolderid>
            <folderpath>{parent folder path}</folderpath>
            <modifiedby>{user id for modified by}</modifiedby>
            <modifieddate>{modified date UTC}</modifieddate>
            <taskcount>{task count}</taskcount>
            <commentcount>{comment count}</commentcount>
        </image>
    </images>
    <files>
        <attachment>
            <id>{file id}</id>
            <name>{file name}</name>
            <extension>{file extension}</extension>
            <siteid>{site id}</siteid>
            <parentfolderid>{parent folder id}</parentfolderid>
            <filehttplink>{file http link}</filehttplink>
            <folderpath>{folder path}</folderpath>
            <folderhttplink>{folder http link}</folderhttplink>
            <filesize>{file size}</filesize>
            <imagetype>{image type 1/0}</imagetype>
            <modifiedby>{user id for modified by}</modifiedby>
            <modifieddate>{modified date}</modifieddate>
            <displayversion>{file dispay version}</displayversion>
            <taskcount>{task count}</taskcount>
            <commentcount>{comment count}</commentcount>
        </attachment>
    </files>
</attachments>

Note :

Below tags are not applicable for Comment, Message and Microblog. Because of We are not displaying those details at collaborate UI side so.

<imagetype></imagetype>
<displayversion></displayversion>
<folderpath></folderpath>
<modifiedby></modifiedby>
<modifieddate></modifieddate>
<taskcount></taskcount>
<commentcount></commentcount>

Comments


0 Comments

Last Updated: Nov 08,2024