This Web Service helps to insert attachments to FTP


Web service URL:

Add an attachment to a work item



Is Mandatory?


User_Name String Yes Enter valid User Name
User_Password String Yes Enter valid Password
Object_ID Int Yes Item/defect ID
Object_Type String No OBJECT/DEFECT. The default value is OBJECT

Please note: Use capital letters

Attachment_Name String Yes Filename and extension such as “orcanos.jpg” File extension are mandatory.
Attachment_Type String Yes FILE. The default value is File.
Attachment64 String64 Encode Yes Attachments in 64 encode. Mandatory if attachment type is File.
Attachment_Description String No Attachment description
Created_By String No The user that adds the attachment. Default is the input User_Name
Created_Date String No Date format: DD/MM/YYYY Default value is Now
Over_Write String No Yes/ No Default value is Yes
Attach_Size Int Yes Enter size like 1,2 etc
KeepOldname String No Enter Yes/no if wants to keep the old name or not



When invoke the Web Service, it will return results in the below format if details are correct:

<fmea>XML Data</fmea>

Newly added attachment file id with name and URL will display here.

For Example:

<string xmlns="">
<Attachment ID="3732" Name="qpack.jpg" url=""/>
And, if details are wrong then, it will give an error message:
For Example:
<ErrorInfo>Email / User Name or password are incorrect </ErrorInfo>
Related Articles