POST api/CopyFile
Request Information
URI Parameters
None.
Body Parameters
PeticionFileName | Description | Type | Additional information |
---|---|---|---|
SourceFilename | string |
None. |
|
SourcePath | string |
None. |
|
DestinyFilename | string |
None. |
|
DestinyPath | string |
None. |
|
Overwrite | boolean |
None. |
|
EntryNo | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SourceFilename": "sample string 1", "SourcePath": "sample string 2", "DestinyFilename": "sample string 3", "DestinyPath": "sample string 4", "Overwrite": true, "EntryNo": 6 }
application/xml, text/xml
Sample:
<PeticionFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api_FileHandler.Models"> <DestinyFilename>sample string 3</DestinyFilename> <DestinyPath>sample string 4</DestinyPath> <EntryNo>6</EntryNo> <Overwrite>true</Overwrite> <SourceFilename>sample string 1</SourceFilename> <SourcePath>sample string 2</SourcePath> </PeticionFile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
RespuestaName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Error | string |
None. |
|
FileContent | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": "sample string 1", "Error": "sample string 2", "FileContent": "sample string 3" }
application/xml, text/xml
Sample:
<Respuesta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api_FileHandler.Models"> <Error>sample string 2</Error> <FileContent>sample string 3</FileContent> <Status>sample string 1</Status> </Respuesta>