GET api/NewManager/GetNewsById/{Id}

得到新闻详情(ID)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Id

新闻id

integer

Required

Body Parameters

None.

Response Information

Resource Description

得到新闻详情(ID)

NewManagerNameModelsDTO
NameDescriptionTypeAdditional information
Title

标题

string

None.

CreateDateTime

创建时间

date

None.

Url

跳转连接

string

None.

MenuId

菜单Id

integer

None.

MenuName

菜单名称

string

None.

Description

详情内容

string

None.

UserName

发布人

string

None.

KeywordElement

K

string

None.

DescriptionElement

D

string

None.

TitleElement

T

string

None.

LastTitle

上一条

string

None.

LastId

上一条

integer

None.

NextTitle

下一条

string

None.

NextId

下一条

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Title": "sample string 2",
  "CreateDateTime": "2022-01-26T15:34:07.7929445+08:00",
  "Url": "sample string 4",
  "MenuId": 5,
  "MenuName": "sample string 6",
  "Description": "sample string 7",
  "UserName": "sample string 8",
  "KeywordElement": "sample string 9",
  "DescriptionElement": "sample string 10",
  "TitleElement": "sample string 11",
  "LastTitle": "sample string 12",
  "LastId": 13,
  "NextTitle": "sample string 14",
  "NextId": 15
}

application/xml, text/xml

Sample:
<NewManagerNameModelsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZX.Model.DTO">
  <CreateDateTime>2022-01-26T15:34:07.7929445+08:00</CreateDateTime>
  <Description>sample string 7</Description>
  <DescriptionElement>sample string 10</DescriptionElement>
  <Id>1</Id>
  <KeywordElement>sample string 9</KeywordElement>
  <LastId>13</LastId>
  <LastTitle>sample string 12</LastTitle>
  <MenuId>5</MenuId>
  <MenuName>sample string 6</MenuName>
  <NextId>15</NextId>
  <NextTitle>sample string 14</NextTitle>
  <Title>sample string 2</Title>
  <TitleElement>sample string 11</TitleElement>
  <Url>sample string 4</Url>
  <UserName>sample string 8</UserName>
</NewManagerNameModelsDTO>