POST api/NewManager/GetNewManagerList

根据新闻类型获取对应条数的数据

Request Information

URI Parameters

None.

Body Parameters

条件

GetNewManagerListQuery
NameDescriptionTypeAdditional information
NewManagerType

类型集合

Collection of NewManagerTypeEnum

None.

Number

数目

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "NewManagerType": [
    15,
    15
  ],
  "Number": 1
}

application/xml, text/xml

Sample:
<GetNewManagerListQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZX.Model.Query">
  <NewManagerType xmlns:d2p1="http://schemas.datacontract.org/2004/07/ZX.Model.Enum">
    <d2p1:NewManagerTypeEnum>SDYC</d2p1:NewManagerTypeEnum>
    <d2p1:NewManagerTypeEnum>SDYC</d2p1:NewManagerTypeEnum>
  </NewManagerType>
  <Number>1</Number>
</GetNewManagerListQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

根据新闻类型获取对应条数的数据

Collection of NewManagerModelsDTO
NameDescriptionTypeAdditional information
Id

id

integer

None.

Title

标题

string

None.

CreateDateTime

创建时间

date

None.

Url

跳转连接

string

None.

MenuId

菜单Id

integer

None.

Description

详情内容

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "CreateDateTime": "2022-01-26T15:34:48.2493047+08:00",
    "Url": "sample string 4",
    "MenuId": 5,
    "Description": "sample string 6"
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "CreateDateTime": "2022-01-26T15:34:48.2493047+08:00",
    "Url": "sample string 4",
    "MenuId": 5,
    "Description": "sample string 6"
  }
]

application/xml, text/xml

Sample:
<ArrayOfNewManagerModelsDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZX.Model.DTO">
  <NewManagerModelsDTO>
    <CreateDateTime>2022-01-26T15:34:48.2493047+08:00</CreateDateTime>
    <Description>sample string 6</Description>
    <Id>1</Id>
    <MenuId>5</MenuId>
    <Title>sample string 2</Title>
    <Url>sample string 4</Url>
  </NewManagerModelsDTO>
  <NewManagerModelsDTO>
    <CreateDateTime>2022-01-26T15:34:48.2493047+08:00</CreateDateTime>
    <Description>sample string 6</Description>
    <Id>1</Id>
    <MenuId>5</MenuId>
    <Title>sample string 2</Title>
    <Url>sample string 4</Url>
  </NewManagerModelsDTO>
</ArrayOfNewManagerModelsDTO>