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
BankStatementFileCopyViewModelName | Description | Type | Additional 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:
Response Information
Resource Description
FileCopyResultViewModelName | Description | Type | Additional 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>