POST api/file/common/download
Request Information
URI Parameters
None.
Body Parameters
HttpDownloadInfoName | Description | Type | Additional information |
---|---|---|---|
url | string |
None. |
|
folder | string |
None. |
|
fileName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "url": "sample string 1", "folder": "sample string 2", "fileName": "sample string 3" }
application/xml, text/xml
Sample:
<HttpDownloadInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Connect.Entity.Common"> <fileName>sample string 3</fileName> <folder>sample string 2</folder> <url>sample string 1</url> </HttpDownloadInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ResultName | Description | Type | Additional information |
---|---|---|---|
data | Object |
None. |
|
success | boolean |
None. |
|
code | integer |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "data": {}, "success": true, "code": 1, "message": "sample string 2" }
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Connect.Fesco.Entity.Entity"> <code>1</code> <data /> <message>sample string 2</message> <success>true</success> </Result>