PUT api/File/UpdateFile/{id}
Replace the File with the given GUID with the posted one through the Multipart Form Data technique Warning: If the MultiPartFormData has many files, each one will update the file in the order sent.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The GUID of the file |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The updated metadata of the file
FileInformation| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The GUID of the uploaded file |
string |
None. |
| Filename |
The filename of the original file |
string |
None. |
| CreatedTimestamp |
Timestamp: When this file was first uploaded |
date |
None. |
| UpdatedTimestamp |
Timestamp: When was the last (most recent) update of this file |
date |
None. |
| ContentType |
The original content/type of the file. Usefull when downloading |
string |
None. |
| Length |
The length in bytes of the original file |
integer |
None. |
| Md5 |
The MD5 checksum of the file. Used in order to find if a same file has been uploaded |
string |
None. |
| Sha256 |
The SHA256 checksum of the file. Used in order to find if a same file has been uploaded |
string |
None. |
Response Formats
application/json, text/json, text/html
{
"Id": "sample string 1",
"Filename": "sample string 2",
"CreatedTimestamp": "2026-08-26T10:13:00.211708+03:00",
"UpdatedTimestamp": "2026-08-26T10:13:00.211708+03:00",
"ContentType": "sample string 5",
"Length": 6,
"Md5": "sample string 8",
"Sha256": "sample string 9"
}
application/xml, text/xml
<FileInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdikaFileService.Models"> <ContentType>sample string 5</ContentType> <CreatedTimestamp>2026-08-26T10:13:00.211708+03:00</CreatedTimestamp> <Filename>sample string 2</Filename> <Id>sample string 1</Id> <Length>6</Length> <Md5>sample string 8</Md5> <Path>sample string 7</Path> <Sha256>sample string 9</Sha256> <UpdatedTimestamp>2026-08-26T10:13:00.211708+03:00</UpdatedTimestamp> </FileInformation>