POST sitefiles/{siteName}
Attach files to a site using the site's display name. The request "Content-Type" should be set to "multipart/form-data" with the file data in the body of the request. Overall size of the request cannot exceed 25MB.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteName |
The display name of the site where the file will be saved. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
ResponseVMName | Description | Type | Additional information |
---|---|---|---|
ResultCode | FwApiResultCode |
None. |
|
ResultMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ResultCode": 0, "ResultMessage": "sample string 1" }
application/xml, text/xml
Sample:
<ResponseVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FW.WebApi2.ViewModels"> <ResultCode>Ok</ResultCode> <ResultMessage>sample string 1</ResultMessage> </ResponseVM>