POST api/NewManager/GetLableList

根据新闻类型\lableId获取对应条数的数据(分页)(包含TDK)

Request Information

URI Parameters

None.

Body Parameters

条件

GetLabletQuery
NameDescriptionTypeAdditional information
LabelId

labelID和NewManagerType不能并存

Collection of integer

None.

Number

条数

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LabelId": [
    1,
    2
  ],
  "Number": 1
}

application/xml, text/xml

Sample:
<GetLabletQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZX.Api.Models.TK.Query">
  <LabelId xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </LabelId>
  <Number>1</Number>
</GetLabletQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

根据新闻类型\lableId获取对应条数的数据(分页)(包含TDK)

Collection of NewManagerPageModelsDTO
NameDescriptionTypeAdditional information
Id

id

integer

None.

Title

标题

string

None.

CreateDateTime

创建时间

date

None.

MenuId

菜单Id

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Title": "sample string 2",
    "CreateDateTime": "2022-01-26T15:13:58.3811315+08:00",
    "MenuId": 5
  },
  {
    "Id": 1,
    "Title": "sample string 2",
    "CreateDateTime": "2022-01-26T15:13:58.3811315+08:00",
    "MenuId": 5
  }
]

application/xml, text/xml

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