PUT api/files
Changes the download file name for the specified document upload ID.
Request Information
URI Parameters
None.
Body Parameters
RenameDocumentFileDTOName | Description | Type | Additional 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": "e5cdd83e-d448-4010-a87b-f7584107b6a5", "FileName": "sample string 2" }
text/html
Sample:
{"ID":"e5cdd83e-d448-4010-a87b-f7584107b6a5","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>e5cdd83e-d448-4010-a87b-f7584107b6a5</ID> </RenameDocumentFileDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
The new file name.
stringResponse 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>