fix(osi): 校准机构查询请求契约
This commit is contained in:
+4
-3
@@ -401,7 +401,7 @@ paths:
|
||||
tags:
|
||||
- dictionaries
|
||||
summary: 查询机构
|
||||
description: 查询机构主数据,原样返回上游 CXJG00002 `/auto/cxjg/query` 响应。
|
||||
description: 查询机构主数据,原样返回上游 CXJG00002 `/auto/cxjg/query` 响应。上游要求 organizCode 和 parentId 两个 baseInfo key 均存在;本服务会把未传参数显式上送为空字符串。
|
||||
operationId: listOrgs
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/organizCode'
|
||||
@@ -423,6 +423,7 @@ paths:
|
||||
organizName: 测试机构
|
||||
organizType: '1'
|
||||
parentId: '441625'
|
||||
regionCode: '441625000000'
|
||||
'400':
|
||||
$ref: '#/components/responses/BadRequest'
|
||||
'405':
|
||||
@@ -542,14 +543,14 @@ components:
|
||||
name: organizCode
|
||||
in: query
|
||||
required: false
|
||||
description: 机构编码。
|
||||
description: 机构编码;HTTP 未传时服务仍向 OSI 显式上送空字符串。
|
||||
schema:
|
||||
type: string
|
||||
parentId:
|
||||
name: parentId
|
||||
in: query
|
||||
required: false
|
||||
description: 上级机构 ID/编码。
|
||||
description: 上级机构 ID/编码;HTTP 未传时服务仍向 OSI 显式上送空字符串。
|
||||
schema:
|
||||
type: string
|
||||
responses:
|
||||
|
||||
Reference in New Issue
Block a user