POST api/CXBWriter/Search

专家检索

Request Information

URI Parameters

None.

Body Parameters

CXBSearchModel
NameDescriptionTypeAdditional information
SearchKey

检索词

string

None.

clusterType

聚类类型 1、专家支持聚类字段(writertypecluster,classcluster,areacluster) 2、机构支持聚类字段(organtypecluster,classcluster,areacluster) 3、技术支持聚类字段(organcluster,classcluster,writercluster)

string

None.

clusterValue

聚类值(聚类Cluster>items>searchContent的值)

string

None.

Page

页码

integer

None.

PageSize

每页记录

integer

None.

SortField

排序字段(hindex=指数,fwcount=发文量)

string

None.

SortBy

排序顺序(升序=asc,降序=desc),默认降序

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchKey": "sample string 1",
  "clusterType": "sample string 2",
  "clusterValue": "sample string 3",
  "Page": 4,
  "PageSize": 5,
  "SortField": "sample string 6",
  "SortBy": "sample string 7"
}

application/xml, text/xml

Sample:
<CXBSearchModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models.CXB">
  <Page>4</Page>
  <PageSize>5</PageSize>
  <SearchKey>sample string 1</SearchKey>
  <SortBy>sample string 7</SortBy>
  <SortField>sample string 6</SortField>
  <clusterType>sample string 2</clusterType>
  <clusterValue>sample string 3</clusterValue>
</CXBSearchModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

专家检索

ResultModel
NameDescriptionTypeAdditional information
Code

返回码

ResultCode

None.

Message

返回信息

string

None.

Data

返回的数据

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": 10000,
  "Message": "sample string 1",
  "Data": {}
}

application/xml, text/xml

Sample:
<ResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EKP.WeChatAppApi.Models">
  <Code>Success</Code>
  <Data />
  <Message>sample string 1</Message>
</ResultModel>