PUT api/files/attach

Attaches the specified document file to the specified document.

Request Information

URI Parameters

None.

Body Parameters

AttachDocumentFileDTO
NameDescriptionTypeAdditional 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": "5c8e0a4c-f514-47c8-9dce-ba70c473cd41",
  "DocumentURL": "sample string 2",
  "DocumentId": "sample string 3",
  "Hash": "sample string 4"
}

text/html

Sample:
{"ID":"5c8e0a4c-f514-47c8-9dce-ba70c473cd41","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>5c8e0a4c-f514-47c8-9dce-ba70c473cd41</ID>
</AttachDocumentFileDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.