PUT api/files/attach
Attaches the specified document file to the specified document.
Request Information
URI Parameters
None.
Body Parameters
AttachDocumentFileDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| ID |
Id uniquely identifying the file document. |
globally unique identifier |
None. |
| DocumentURL |
Linked document URL. |
string |
None. |
| DocumentId |
Document ID. |
string |
None. |
| Hash | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": "f40f2f90-8a79-451d-88c8-d3e1127b6b98",
"DocumentURL": "sample string 2",
"DocumentId": "sample string 3",
"Hash": "sample string 4"
}
text/html
Sample:
{"ID":"f40f2f90-8a79-451d-88c8-d3e1127b6b98","DocumentURL":"sample string 2","DocumentId":"sample string 3","Hash":"sample string 4"}
application/xml, text/xml
Sample:
<AttachDocumentFileDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <DocumentId>sample string 3</DocumentId> <DocumentURL>sample string 2</DocumentURL> <Hash>sample string 4</Hash> <ID>f40f2f90-8a79-451d-88c8-d3e1127b6b98</ID> </AttachDocumentFileDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.