获取lookup条目清单(API名称:findLookupList)
功能介绍
根据类别编码获取lookup条目清单。
相关接口
|
接口名称 |
调用说明 |
|---|---|
|
调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。 |
URL
|
请求方式 |
HTTPS地址 |
服务架构 |
消息体类型 |
|---|---|---|---|
|
POST |
https://isdp+域名/openapi/v1/lookupItem/findLookupList |
OpenAPI |
application/json |
请求头
|
KEY |
VALUE |
是否必填 |
描述 |
|---|---|---|---|
|
Content-Type |
application/json |
是 |
无 |
|
Authorization |
bearer ${access_token} |
是 |
bearer +“ ”+5.2.1中获取的access_token的值 |
请求参数
|
参数 |
类型 |
是否必填 |
描述 |
|---|---|---|---|
|
classifyCode |
String |
是 |
类别编码。 |
响应参数
|
参数 |
类型 |
描述 |
|---|---|---|
|
appName |
String |
应用服务名称 |
|
createdBy |
Long |
创建人 |
|
creationDate |
DateTime |
创建日期 |
|
deleteFlag |
Integer |
删除标识 |
|
entityName |
String |
实体名称 |
|
itemAttr1 |
String |
扩展字段1 |
|
itemAttr2 |
String |
扩展字段2 |
|
itemAttr3 |
String |
扩展字段3 |
|
itemAttr4 |
String |
扩展字段4 |
|
itemCode |
String |
条目编码 |
|
itemDesc |
String |
条目说明 |
|
itemId |
Long |
条目ID |
|
itemName |
String |
条目名称 |
|
itemNameEnUs |
String |
条目英文名称 |
|
lastUpdateDate |
DateTime |
最后更新日期 |
|
lastUpdateBy |
Long |
最后更新人 |
|
lookupClassify |
Map |
类别模型 |
|
orderNum |
Integer |
条目序号 |
|
status |
String |
状态:预留 |
|
tenantId |
Long |
租户ID |
|
classifyId |
Long |
类别ID |
|
classifyCode |
String |
条目编码 |
请求示例
{
"classifyCode": "LOGIN_PAGE_CONFIG_REGISTRATION_MODEL"
}
响应示例
[
{
"appName": "pub-server",
"createdBy": -1,
"creationDate": "2023-04-07T01:39:41.000+00:00",
"deleteFlag": 0,
"entityName": "LookupItem",
"itemAttr1": "",
"itemAttr2": "",
"itemAttr3": "",
"itemAttr4": "",
"itemAttr5": "",
"itemCode": "ENTERPRISE_REGISTRATION",
"itemDesc": "注册方式配置-企业注册",
"itemId": -2022010131472,
"itemName": "企业注册",
"itemNameEnUs": "Enterprise Registration",
"lastUpdateDate": "2023-04-07T01:39:41.000+00:00",
"lastUpdatedBy": -1,
"lookupClassify": {
"id": -2022010131141,
"classifyId": -2022010131141,
"allowCustom": 0,
"appName": "pub-server",
"value": "LOGIN_PAGE_CONFIG_REGISTRATION_MODEL",
"classifyCode": "LOGIN_PAGE_CONFIG_REGISTRATION_MODEL",
"classifyDesc": null,
"classifyName": "登录页面注册方式",
"classifyNameEnUs": "Registration Mode",
"createdBy": -1,
"creationDateStr": "2022-10-21 15:18:11",
"creationDate": "2022-10-21T07:18:11.000+00:00",
"deleteFlag": 0,
"entityName": "LookupClassify",
"funcPrivNo": null,
"lastUpdateDateStr": "2022-10-21 15:18:11",
"lastUpdateDate": "2022-10-21T07:18:11.000+00:00",
"lastUpdatedBy": -1,
"status": "0",
"tenantId": 1
},
"orderNum": 4,
"status": "0",
"tenantId": 1,
"classifyId": -2022010131141,
"classifyCode": "LOGIN_PAGE_CONFIG_REGISTRATION_MODEL"
}
]