POST api/Storage/Upload
Request Information
URI Parameters
None.
Body Parameters
FileViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ObjectTypeId | integer |
None. |
|
| ObjectType | string |
None. |
|
| Data | string |
None. |
|
| DataType | string |
None. |
|
| LastPath | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ObjectTypeId": 1,
"ObjectType": "sample string 2",
"Data": "sample string 3",
"DataType": "sample string 4",
"LastPath": "sample string 5"
}
application/xml, text/xml
Sample:
<FileViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Entities.ViewModels"> <Data>sample string 3</Data> <DataType>sample string 4</DataType> <LastPath>sample string 5</LastPath> <ObjectType>sample string 2</ObjectType> <ObjectTypeId>1</ObjectTypeId> </FileViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | 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. |