PUT api/document/rename

Updates the filename of an existing document.

Request Information

URI Parameters

None.

Body Parameters

The new filename (excluding the extension)

RenameDocumentCommandDataContract
NameDescriptionTypeAdditional information
DocumentId

integer

None.

FileName

string

None.

Id

integer

None.

Request Formats

application/json, text/json

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.