PUT api/files

Changes the download file name for the specified document upload ID.

Request Information

URI Parameters

None.

Body Parameters

RenameDocumentFileDTO
NameDescriptionTypeAdditional information
ID

Id uniquely identifying the file document.

globally unique identifier

None.

FileName

New file name.

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "93785b08-e73b-40bf-8197-094984a37468",
  "FileName": "sample string 2"
}

text/html

Sample:
{"ID":"93785b08-e73b-40bf-8197-094984a37468","FileName":"sample string 2"}

application/xml, text/xml

Sample:
<RenameDocumentFileDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs">
  <FileName>sample string 2</FileName>
  <ID>93785b08-e73b-40bf-8197-094984a37468</ID>
</RenameDocumentFileDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

The new file name.

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>