获取单个组织部门信息
开发中
POST
/organization/v3/departments/get
请求参数
Body 参数application/json
organization_id
string
组织id
示例
{
"organization_id": "string"
}
示例代码
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/get' \
--header 'Content-Type: application/json' \
--data-raw '{
"organization_id": "string"
}'
返回响应
🟢200成功
application/json
Body
name
string
组织名称
<= 255 字符
i18n_name
object
国际化的组织名称
zh_cn
string
中文名称
en_us
string
英文名称
parent_organization_id
string
父组织ID
organization_id
string
本组织的自定义组织ID
<= 20 字符
category
enum<integer>
组织类别
1-公司 (默认)
2-部门
枚举值:
012
默认值:
1
organization_code
string
组织编码
<= 32 字符
short_name
string
组织简称
i18n_short_name
object
组织简称
zh_cn
string
中文组织简称
en_us
string
可选
cost_center
string
成本中心
profit_center
string
利润中心
order
integer
组织的排序
company_info
object
企业信 息
country_code
string
国家
<= 255 字符
默认值:
CHN
social_credit_code
string
社会信用代码
<= 32 字符
institution_code
string
组织机构代码
<= 32 字符
business_identifier_code
string
国际银行识别码
standard_currency
string
本位币
<= 5 字符
finance_person
string
财务负责人
<= 32 字符
office_address
string
办公地址
<= 255 字符
i18n_office_address
object
国际化的办公地址
registered_address
string
注册地址
<= 255 字符
i18n_registered_address
object
国际化的注册地址
remark
string
备注
<= 128 字符
示例
{
"name": "string",
"i18n_name": {
"zh_cn": "string",
"en_us": "string"
},
"parent_organization_id": "string",
"organization_id": "string",
"category": 1,
"organization_code": "string",
"short_name": "string",
"i18n_short_name": {
"zh_cn": "string",
"en_us": "string"
},
"cost_center": "string",
"profit_center": "string",
"order": 0,
"company_info": {
"country_code": "CHN",
"social_credit_code": "string",
"institution_code": "string",
"business_identifier_code": "string",
"standard_currency": "strin",
"finance_person": "string",
"office_address": "string",
"i18n_office_address": {
"en_us": "string",
"zh_cn": "string"
},
"registered_address": "string",
"i18n_registered_address": {
"en_us": "string",
"zh_cn": "string"
}
},
"remark": "string"
}
修改于 2024-08-10 02:32:36