POST api/TextFile/Upload
Request Information
URI Parameters
None.
Body Parameters
TextFileUploadPostVmName | Description | Type | Additional information |
---|---|---|---|
Message | string |
None. |
|
FileCategory | string |
None. |
|
FileName | string |
None. |
|
CompanyName | string |
None. |
|
CompanyId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Message": "sample string 1", "FileCategory": "sample string 2", "FileName": "sample string 3", "CompanyName": "sample string 4", "CompanyId": 5 }
application/xml, text/xml
Sample:
<TextFileUploadPostVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DocumentUploadService.Controllers"> <CompanyId>5</CompanyId> <CompanyName>sample string 4</CompanyName> <FileCategory>sample string 2</FileCategory> <FileName>sample string 3</FileName> <Message>sample string 1</Message> </TextFileUploadPostVm>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.