POST api/OtherAction/SaveFileToService
Request Information
URI Parameters
None.
Body Parameters
SaveFileName | Description | Type | Additional information |
---|---|---|---|
Data | Collection of byte |
None. |
|
FileName | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Data": "QEA=", "FileName": "sample string 1" }
application/xml, text/xml
Sample:
<OtherController.SaveFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataTransAPI.Controllers"> <Data>QEA=</Data> <FileName>sample string 1</FileName> </OtherController.SaveFile>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |