PUT api/document/rename

Request Information

URI Parameters

None.

Body Parameters

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:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RenameDocumentCommandDataContract'.

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.