POST api/FileSystem/RenameFileWithTreeItemId

Request Information

URI Parameters

None.

Body Parameters

RenameFileBindingModel
NameDescriptionTypeAdditional information
fileTreeID

integer

None.

currentlyOpenedFileId

string

None.

newName

string

None.

receivedDataDate

string

None.

postResponseData

PostResponseDataSDO

None.

sessionId

string

None.

Request Formats

application/json, text/json, text/html

Sample:
{
  "fileTreeID": 1,
  "currentlyOpenedFileId": "sample string 2",
  "newName": "sample string 3",
  "receivedDataDate": "sample string 4",
  "postResponseData": {
    "IsPostResponseDataObject": 1,
    "FileHash": "sample string 1",
    "ApplicationData": null,
    "MemberData": null
  },
  "sessionId": "sample string 5"
}

application/xml, text/xml

Sample:
<RenameFileBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iLevel.Vitruvius.VitruviusPubLib.BindingModels.FileSystem">
  <currentlyOpenedFileId>sample string 2</currentlyOpenedFileId>
  <fileTreeID>1</fileTreeID>
  <newName>sample string 3</newName>
  <postResponseData xmlns:d2p1="http://schemas.datacontract.org/2004/07/iLevel.Vitruvius.VitruviusPubLib">
    <d2p1:_ApplicationData i:nil="true" />
    <d2p1:_FileHash>sample string 1</d2p1:_FileHash>
    <d2p1:_MemberData i:nil="true" />
  </postResponseData>
  <receivedDataDate>sample string 4</receivedDataDate>
  <sessionId>sample string 5</sessionId>
</RenameFileBindingModel>

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.