POST api/OilPainting/PostNewPub

添加油画屏公共资源

Request Information

URI Parameters

None.

Body Parameters

[{"img": "资源数据","filetype":"资源类型","description":"文字描述","contentCategory":"内容分类(世界名画,学生作品,校史、馆史,领导风采,党建红色文化,热门图书、新书推荐,报纸热门头条,期刊热门头条,公告服务)","username":""}]

PostNewImgModel
NameDescriptionTypeAdditional information
value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "value": "sample string 1"
}

text/html

Sample:
{"value":"sample string 1"}

application/xml, text/xml

Sample:
<PostNewImgModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DERLAI.Models">
  <value>sample string 1</value>
</PostNewImgModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

true/false/error

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.