GET api/JobNews/GetNewsInfoByNewsId?newsId={newsId}
获取资讯信息,供资讯编辑使用
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
newsId |
资讯id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
获取资讯信息,供资讯编辑使用
JobNewsEntityDtoName | Description | Type | Additional information |
---|---|---|---|
Newsid |
ID |
integer |
None. |
Styleid |
资讯来源 |
ArticleSourceType |
None. |
TypeDesp |
资讯来源描述 |
string |
None. |
Chrtitle |
标题 |
string |
None. |
Chrurl |
文章编辑 |
string |
None. |
Keyword |
关键词 |
string |
None. |
Categoryid |
房产资讯分类 默认值(0) |
integer |
None. |
Chrimage |
封面 默认值('') |
string |
None. |
Chrfrom |
来源 |
string |
None. |
Hits |
点击 默认值(0) |
integer |
None. |
Chrcontent |
内容 |
string |
None. |
Userid |
用户id |
integer |
None. |
Intorder |
排序值 默认值(0) |
integer |
None. |
Dtappenddate |
添加时间 默认值(getdate()) |
date |
None. |
IsShelf |
发布/下线 默认值(0) |
boolean |
None. |
UserName |
发布人 |
string |
None. |
Summary |
文章资讯摘要 |
string |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml, text/xml
Sample:
<JobNewsEntityDto 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 10</Chrcontent> <Chrfrom>sample string 8</Chrfrom> <Chrimage>sample string 7</Chrimage> <Chrtitle>sample string 3</Chrtitle> <Chrurl>sample string 4</Chrurl> <Dtappenddate>2024-05-04T19:31:33.4437043+08:00</Dtappenddate> <Hits>9</Hits> <Intorder>12</Intorder> <IsShelf>true</IsShelf> <Keyword>sample string 5</Keyword> <Newsid>1</Newsid> <Styleid>Reprint</Styleid> <Summary>sample string 16</Summary> <TypeDesp>sample string 2</TypeDesp> <UserName>sample string 15</UserName> <Userid>11</Userid> </JobNewsEntityDto>