PUT api/files
Changes the download file name for the specified document upload ID.
Request Information
URI Parameters
None.
Body Parameters
RenameDocumentFileDTO| Name | 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": "9cb68479-cb21-4aa4-bac3-5352470b0aa2",
"FileName": "sample string 2"
}
text/html
Sample:
{"ID":"9cb68479-cb21-4aa4-bac3-5352470b0aa2","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>9cb68479-cb21-4aa4-bac3-5352470b0aa2</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>