POST api/NewManager/GetTDK

得到新闻详情(ID)

Request Information

URI Parameters

None.

Body Parameters

条件

TDKQuery
NameDescriptionTypeAdditional information
IdList

Id集合

Collection of integer

None.

TDKEnum

类型

TDKEnum

None.

Request Formats

application/json, text/json

Sample:
{
  "IdList": [
    1,
    2
  ],
  "TDKEnum": 0
}

application/xml, text/xml

Sample:
<TDKQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZX.Api.Models.ZX.DTO">
  <IdList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </IdList>
  <TDKEnum>详情</TDKEnum>
</TDKQuery>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

得到新闻详情(ID)

Collection of TDKDTO
NameDescriptionTypeAdditional information
Id

编码

integer

None.

Name

名称

string

None.

TitleElement

D

string

None.

DescriptionElement

D

string

None.

KeywordElement

K

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "TitleElement": "sample string 3",
    "DescriptionElement": "sample string 4",
    "KeywordElement": "sample string 5"
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "TitleElement": "sample string 3",
    "DescriptionElement": "sample string 4",
    "KeywordElement": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfTDKDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZX.Model.DTO.ZX">
  <TDKDTO>
    <DescriptionElement>sample string 4</DescriptionElement>
    <Id>1</Id>
    <KeywordElement>sample string 5</KeywordElement>
    <Name>sample string 2</Name>
    <TitleElement>sample string 3</TitleElement>
  </TDKDTO>
  <TDKDTO>
    <DescriptionElement>sample string 4</DescriptionElement>
    <Id>1</Id>
    <KeywordElement>sample string 5</KeywordElement>
    <Name>sample string 2</Name>
    <TitleElement>sample string 3</TitleElement>
  </TDKDTO>
</ArrayOfTDKDTO>