获取部门接口

请求说明

HTTP请求方式:GET

base_url:

https://www.feeclouds.com

API:

/api/v1/department

参数说明

参数 参数类型 必须 说明
company_key str 费耘系统提供的企业company_key
nonce_str str 6位随机字符串
sign str 根据签名生成规则生成的签名
page_num int 用来指定页数,不指定的情况下默认是1
page_size int 用来指定每页的条数,不指定的情况下默认是10

返回结果

返回成功json示例

{
    "msg": "成功",
    "code": 0,
    "data": {
        "count": 2,
        "rows": [
            {
                "parent_id": "0e73300159064d1d803acedffead9a7f",
                "department_name": "北京分公司",
                "is_branch": 1,
                "department_id": "082ea4c7507346709198d96efba55877"
                "tax_no": "312201016977645222"
            },
            {
                "parent_id": "082ea4c7507346709198d96efba55877",
                "department_name": "行政部",
                "is_branch": 0,
                "department_id": "ba7d5cb33df945babb392a4d2826d22b"
                "tax_no": ""
            }
        ]
    }
}

返回参数说明

参数 参数类型 说明
department_id str 该部门在费耘系统中的唯一标识
department_name str 部门名称
parent_id str 该部门的父部门在费耘系统中的唯一标识
is_branch int 部门类型
0:部门,1:分/子公司,2:集团
tax_no Str 分公司税号

results matching ""

    No results matching ""