POST api/bankstatementfile/unknownfilecopy

Copies an unknown file to the 'unknown' subfolder of the bank statements folder

Request Information

URI Parameters

None.

Body Parameters

ViewModel for the file copy operation

BankStatementFileCopyViewModel
NameDescriptionTypeAdditional information
Path

Absolute file path

string

None.

BankFolderName

Bank statement folder name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "path": "sample string 1",
  "bankFolderName": "sample string 2"
}

application/xml, text/xml

Sample:
<BankStatementFileCopyViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <BankFolderName>sample string 2</BankFolderName>
  <Path>sample string 1</Path>
</BankStatementFileCopyViewModel>

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 'BankStatementFileCopyViewModel'.

Response Information

Resource Description

FileCopyResultViewModel
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "isSuccess": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<FileCopyResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
</FileCopyResultViewModel>