调用QueryEntities接口查询专有名词列表

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String QueryEntities

系统规定参数。取值:QueryEntities。

DialogId Long 50405

对话单元Id

EntityName String 业务条件,牌子

专有名词名称

PageNumber Integer 1

当前⻚,默认1

PageSize Integer 10

⻚⾯⼤⼩,默认10

返回数据

名称 类型 示例值 描述
Entities Array of Entity

专有名词列表

CreateTime String 2020-12-02T06:35:50Z

创建时间

CreateUserId String 83225

创建者id

CreateUserName String null

创建者名称

EntityId Long 42212

专有名词id

EntityName String 价格

专有名词名称

EntityType String regex

类型:regex:正则名词; synonyms:标准名词

Members Array of Members

专有名词成员

MemberName String 参考JSON示例

成员名称

Synonyms List 参考JSON示例

成员同义词列表

ModifyTime String 2020-12-02T06:35:50Z

修改时间

ModifyUserId String 83225

修改者id

ModifyUserName String null

修改者名称

Regex String 参考JSON示例

正则

PageNumber Integer 1

当前⻚,默认1

PageSize Integer 10

⻚⾯⼤⼩,默认10

RequestId String 206FCA00-9802-492E-86B3-5BCABDB6EF71

请求id

TotalCount Integer 1

查询结果总条数

示例

请求示例

http(s)://[Endpoint]/?Action=QueryEntities
&DialogId=50405
&<公共请求参数>

正常返回示例

XML 格式

<TotalCount>1</TotalCount>
<PageSize>10</PageSize>
<RequestId>206FCA00-9802-492E-86B3-5BCABDB6EF71</RequestId>
<PageNumber>1</PageNumber>
<Entities>
    <EntityId>42212</EntityId>
    <EntityType>regex</EntityType>
    <ModifyTime>2020-12-02T06:35:50Z</ModifyTime>
    <ModifyUserId>83225</ModifyUserId>
    <EntityName>价格</EntityName>
    <Regex>^([0-9])\d{1}</Regex>
    <CreateTime>2020-12-02T06:35:50Z</CreateTime>
    <ModifyUserName>null</ModifyUserName>
    <CreateUserId>83225</CreateUserId>
    <CreateUserName>null</CreateUserName>
</Entities>

JSON 格式

{
	"TotalCount": 4,
	"PageSize": 10,
	"RequestId": "7B275400-E8E5-489A-9A82-297A1241555A",
	"PageNumber": 1,
	"Entities": [
		{
			"EntityId": 42238,
			"EntityType": "synonyms",
			"ModifyTime": "2020-12-02T06:37:51Z",
			"ModifyUserId": "83225",
			"EntityName": "业务条件",
			"CreateTime": "2020-12-02T06:37:42Z",
			"ModifyUserName": "null",
			"CreateUserId": "83225",
			"CreateUserName": "null",
			"Members": [
				{
					"Synonyms": [
						"材料",
						"手续",
						"档案"
					],
					"MemberName": "资料"
				},
				{
					"Synonyms": [
						"多少钱",
						"钱"
					],
					"MemberName": "额度"
				},
				{
					"Synonyms": [
						"次"
					],
					"MemberName": "次数"
				}
			]
		},
		{
			"EntityId": 42210,
			"EntityType": "synonyms",
			"ModifyTime": "2020-12-02T06:35:50Z",
			"ModifyUserId": "83225",
			"EntityName": "牌子",
			"CreateTime": "2020-12-02T06:35:50Z",
			"ModifyUserName": "null",
			"CreateUserId": "83225",
			"CreateUserName": "null",
			"Members": [
				{
					"Synonyms": [],
					"MemberName": "奔驰"
				},
				{
					"Synonyms": [],
					"MemberName": "宝马"
				},
				{
					"Synonyms": [],
					"MemberName": "奥迪"
				},
				{
					"Synonyms": [],
					"MemberName": "兰博基尼"
				},
				{
					"Synonyms": [],
					"MemberName": "劳斯莱斯"
				},
				{
					"Synonyms": [],
					"MemberName": "特斯拉"
				},
				{
					"Synonyms": [],
					"MemberName": "布加迪"
				},
				{
					"Synonyms": [],
					"MemberName": "宾利"
				}
			]
		},
		{
			"EntityId": 42211,
			"EntityType": "synonyms",
			"ModifyTime": "2020-12-02T06:35:50Z",
			"ModifyUserId": "83225",
			"EntityName": "款式",
			"CreateTime": "2020-12-02T06:35:50Z",
			"ModifyUserName": "null",
			"CreateUserId": "83225",
			"CreateUserName": "null",
			"Members": [
				{
					"Synonyms": [],
					"MemberName": "2019款"
				},
				{
					"Synonyms": [],
					"MemberName": "2020新款"
				},
				{
					"Synonyms": [],
					"MemberName": "2018款"
				}
			]
		},
		{
			"EntityId": 42212,
			"EntityType": "regex",
			"ModifyTime": "2020-12-02T06:35:50Z",
			"ModifyUserId": "83225",
			"EntityName": "价格",
			"Regex": "^([0-9])\\d{1}",
			"CreateTime": "2020-12-02T06:35:50Z",
			"ModifyUserName": "null",
			"CreateUserId": "83225",
			"CreateUserName": "null"
		}
	]
}

错误码

访问错误中心查看更多错误码。