PUT api/2.0/files/{fileId}/properties This function requires authentication

Description

Saves file properties to the specified file.

Parameters
Name Description Type Example
fileId
sent in url
File ID number 1234
FormFilling
sent in body
Form filling request parameters ASC.Files.Core.ApiModels.RequestDto.FormFillingPropertiesRequestDto
Example
PUT api/2.0/files/1234/properties
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "FormFilling": {
    "CollectFillForm": true,
    "ToFolderId": "some text",
    "ToFolderPath": "some text",
    "CreateFolderTitle": "some text",
    "CreateFileMask": "some text"
  }
}
Returns

File properties

Example Response
{
  "status": 0,
  "response": {
    "FormFilling": {
      "CollectFillForm": true,
      "ToFolderId": "some text",
      "ToFolderPath": "some text",
      "CreateFolderTitle": "some text",
      "CreateFileMask": "some text"
    }
  }
}