组织部门批量查询
开发中
POST
/organization/v3/departments/search
请求参数
Body 参数application/json
page_no
integer | null
当前页
>= 1
默认值:
1
示例值:
1
page_size
integer | null
分页大小
>= 1<= 1000
默认值:
100
parent_org_id
string | null
上级组织id
source_parent_org_code
string | null
外部来源上级组织编码
category
array[integer | null] | null
组织类别
枚举值:
0123
country
array[string] | null
国家地区编码
state
array[integer] | null
组织状态
枚举值:
012
示例
{
"page_no": 1,
"page_size": 100,
"parent_org_id": "string",
"source_parent_org_code": "string",
"category": [
0
],
"country": [
"string"
],
"state": [
0
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/organization/v3/departments/search' \
--header 'Content-Type: application/json' \
--data-raw '{
"page_no": 1,
"page_size": 100,
"parent_org_id": "string",
"source_parent_org_code": "string",
"category": [
0
],
"country": [
"string"
],
"state": [
0
]
}'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
object
必需
page_no
integer
当前页码
page_size
integer
分页大小
total
integer
记录总条数
total_pages
integer
记录总页数
records
array [object {21}]
组织列表
示例
{
"page_size": 10,
"page_no": 100,
"total": 10000,
"total_pages": 100,
"records": [
{
"name": "优财云链",
"parent_organization_id": "3",
"order": 17,
"organization_code": "59",
"remark": "sint dolore ame",
"profit_center": "in pariatur cillum eu minim",
"short_name": "优财",
"i18n_name": {
"zh_cn": "优财云链",
"en_us": "yocyl"
},
"cost_center": "consectetur",
"category": 0,
"i18n_short_name": {
"en_us": "优财",
"zh_cn": "yocyl"
},
"company_info": {
"business_identifier_code": "79",
"institution_code": "41",
"i18n_office_address": {
"en_us": "浙江省杭州市滨江区",
"zh_cn": "Binjiang District, Hangzhou City, Zhejiang Province"
},
"country_code": "42",
"registered_address": "浙江省杭州市滨江区",
"social_credit_code": "33",
"i18n_registered_address": {
"en_us": "浙江省杭州市滨江区",
"zh_cn": "Binjiang District, Hangzhou City, Zhejiang Province"
},
"finance_person": "anim",
"standard_currency": "CNY",
"office_address": "浙江省杭州市滨江区"
},
"organization_id": "70"
}
]
}
修改于 2025-05-14 06:28:49