PUT api/document/rename

Updates the filename of an existing document.

Request Information

URI Parameters

None.

Body Parameters

The new filename (excluding the extension)

Dezrez.Core.DataContracts.External.Api.Document.Command.RenameDocumentCommandDataContract
NameDescriptionTypeAdditional information
DocumentId

integer

None.

FileName

string

None.

Id

integer

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "DocumentId": 1,
  "FileName": "sample string 2",
  "Id": 3
}

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.