POST api/AddFileData
Request Information
URI Parameters
None.
Body Parameters
FileDataName | Description | Type | Additional information |
---|---|---|---|
FileID | integer |
None. |
|
FileName | string |
None. |
|
FileType | string |
None. |
|
Data | Collection of byte |
None. |
Request Formats
application/json, text/json
Sample:
{ "FileID": 1, "FileName": "sample string 2", "FileType": "sample string 3", "Data": "QEA=" }
application/xml, text/xml
Sample:
<FileData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MainService.Models"> <Data>QEA=</Data> <FileID>1</FileID> <FileName>sample string 2</FileName> <FileType>sample string 3</FileType> </FileData>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>