POST api/fileAttachment/add
Add a file attachment to a issue
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Add a file attachment to a issue
API_Data_FileAttachmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Success | boolean |
None. |
|
| Error | ErrorInfo |
None. |
|
| Data | FileAttachmentModel |
None. |
Response Formats
application/json, text/json
Sample:
{
"Success": true,
"Error": {
"ErrorCode": 1,
"ErrorMessage": "sample string 1"
},
"Data": {
"FileId": 1,
"VersionID": 2,
"FileName": "sample string 3"
}
}
application/xml, text/xml
Sample:
<API_Data_FileAttachmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
<Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
<d2p1:FileId>1</d2p1:FileId>
<d2p1:FileName>sample string 3</d2p1:FileName>
<d2p1:VersionID>2</d2p1:VersionID>
</Data>
<Error>
<ErrorCode>1</ErrorCode>
<ErrorMessage>sample string 1</ErrorMessage>
</Error>
<Success>true</Success>
</API_Data_FileAttachmentModel>