POST api/OilPainting/PostUserMaterials
油画屏添加用户上传素材
Request Information
URI Parameters
None.
Body Parameters
PostOPUserMaterialsModelName | Description | Type | Additional information |
---|---|---|---|
username |
Desc:用户帐号 Default: Nullable:True |
string |
None. |
filepath |
Desc:文件路径 Default: Nullable:True |
string |
None. |
filetype |
Desc:文件类型 0 图片 1 视频 2 音频 Default: Nullable:True |
string |
None. |
description |
Desc:文字描述 Default: Nullable:True |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "username": "sample string 1", "filepath": "sample string 2", "filetype": "sample string 3", "description": "sample string 4" }
text/html
Sample:
{"username":"sample string 1","filepath":"sample string 2","filetype":"sample string 3","description":"sample string 4"}
application/xml, text/xml
Sample:
<PostOPUserMaterialsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DERLAI.others"> <description>sample string 4</description> <filepath>sample string 2</filepath> <filetype>sample string 3</filetype> <username>sample string 1</username> </PostOPUserMaterialsModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
-1/0/1
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.