POST api/JobNews/JobNewsAdminUpdate

后台--更新资讯信息

Request Information

URI Parameters

None.

Body Parameters

资讯更新的信息

JobNewsDetailDto
NameDescriptionTypeAdditional information
Newsid

ID

integer

None.

Styleid

资讯来源

ArticleSourceType

None.

Dtappenddate

添加时间 默认值(getdate())

date

None.

Chrtitle

标题

string

None.

Chrurl

文章编辑地址

string

None.

Keyword

关键词

string

None.

Categoryid

房产资讯分类 默认值(0)

integer

None.

Chrimage

封面 默认值('')

string

None.

Chrfrom

来源

string

None.

Chrcontent

内容

string

None.

Intorder

排序值 默认值(0)

integer

None.

Hits

点击数

integer

None.

IsShelf

发布/下线 默认值(0)

boolean

None.

Summary

房产资源摘要

string

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<JobNewsDetailDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.JobNews">
  <Categoryid>6</Categoryid>
  <Chrcontent>sample string 9</Chrcontent>
  <Chrfrom>sample string 8</Chrfrom>
  <Chrimage>sample string 7</Chrimage>
  <Chrtitle>sample string 3</Chrtitle>
  <Chrurl>sample string 4</Chrurl>
  <Dtappenddate>2024-04-20T17:35:09.7563827+08:00</Dtappenddate>
  <Hits>11</Hits>
  <Intorder>10</Intorder>
  <IsShelf>true</IsShelf>
  <Keyword>sample string 5</Keyword>
  <Newsid>1</Newsid>
  <Styleid>Reprint</Styleid>
  <Summary>sample string 13</Summary>
</JobNewsDetailDto>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'JobNewsDetailDto'.

Response Information

Resource Description

后台--更新资讯信息

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />