POST api/File/CopyFile
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
request | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "FilePathList": [ { "Path": "sample string 1", "ToPath": "sample string 2" }, { "Path": "sample string 1", "ToPath": "sample string 2" }, { "Path": "sample string 1", "ToPath": "sample string 2" } ], "Version": "sample string 1", "AppToken": "sample string 2", "Sign": "sample string 3", "RequestTime": "2021-01-21T13:48:28.4363701+08:00", "RequestId": "sample string 5" }
application/xml, text/xml
Sample:
<CopyFileRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZT.IPO.FileService.Models"> <AppToken xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 2</AppToken> <RequestId xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 5</RequestId> <RequestTime xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">2021-01-21T13:48:28.4363701+08:00</RequestTime> <Sign xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 3</Sign> <Version xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 1</Version> <FilePathList> <FilePath> <Path>sample string 1</Path> <ToPath>sample string 2</ToPath> </FilePath> <FilePath> <Path>sample string 1</Path> <ToPath>sample string 2</ToPath> </FilePath> <FilePath> <Path>sample string 1</Path> <ToPath>sample string 2</ToPath> </FilePath> </FilePathList> </CopyFileRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
No documentation available.
Response body formats
application/json, text/json
Sample:
{ "FileList": [ { "Result": true, "Path": "sample string 2", "ToPath": "sample string 3" }, { "Result": true, "Path": "sample string 2", "ToPath": "sample string 3" }, { "Result": true, "Path": "sample string 2", "ToPath": "sample string 3" } ], "Version": "sample string 1", "RequestId": "sample string 2", "RequestTime": "2021-01-21T13:48:28.4363701+08:00", "ResponseTime": "2021-01-21T13:48:28.4363701+08:00", "ResponseId": "sample string 5", "Result": 0, "Error": { "Code": "sample string 1", "ShortMessage": "sample string 2", "LongMessage": "sample string 3" }, "RequestMessage": "sample string 6" }
application/xml, text/xml
Sample:
<CopyFileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZT.IPO.FileService.Models"> <Error xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data"> <Code>sample string 1</Code> <LongMessage>sample string 3</LongMessage> <ShortMessage>sample string 2</ShortMessage> </Error> <RequestId xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 2</RequestId> <RequestMessage xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 6</RequestMessage> <RequestTime xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">2021-01-21T13:48:28.4363701+08:00</RequestTime> <ResponseId xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 5</ResponseId> <ResponseTime xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">2021-01-21T13:48:28.4363701+08:00</ResponseTime> <Result xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">Failure</Result> <Version xmlns="http://schemas.datacontract.org/2004/07/ZT.FCL.Data">sample string 1</Version> <FileList> <CopyFilePath> <Path>sample string 2</Path> <ToPath>sample string 3</ToPath> <Result>true</Result> </CopyFilePath> <CopyFilePath> <Path>sample string 2</Path> <ToPath>sample string 3</ToPath> <Result>true</Result> </CopyFilePath> <CopyFilePath> <Path>sample string 2</Path> <ToPath>sample string 3</ToPath> <Result>true</Result> </CopyFilePath> </FileList> </CopyFileResponse>