POST Api/UserTasks/UploadFile/{userTaskId}/{documentCategoryId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userTaskId | integer |
Required |
|
documentCategoryId | integer |
Required |
Body Parameters
UploadFileName | Description | Type | Additional information |
---|---|---|---|
FileName | string |
None. |
|
Content | string |
None. |
|
Overwrite | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "fileName": "sample string 1", "content": "sample string 2", "overwrite": true }
multipart/form-data
Sample:
{"fileName":"sample string 1","content":"sample string 2","overwrite":true}
application/xml, text/xml
Sample:
<UploadFile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FileName>sample string 1</FileName> <Content>sample string 2</Content> <Overwrite>true</Overwrite> </UploadFile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, multipart/form-data
Sample:
Sample not available.