查询分类信息

简要描述
请求URL
  • {{testAddr}}/department/getDepartmentById
请求方式
  • post
Header
header 示例值 必选 类型 说明
Content-Type application/json string application/json
请求参数示例
{"departmentId":"2c9164ab7f206968017f2121540d0000"}
请求json字段说明
字段名 必选 类型 说明
departmentId string 部门id
成功返回示例
{
  "rspCode": "000",
  "data": {
    "departmentName": "测试分类2",
    "cDate": "2022-01-06 16:53:16",
    "organiztions": [
      {
        "organizationId": "402890b97de0d7d0017de0d8e82d0002",
        "parentName3": null,
        "organizationName": "中行张家口分行",
        "parentName4": null,
        "parentName1": "中行总行",
        "parentName2": "中行河北省行",
        "parentId3": null,
        "parentId4": null,
        "parentId1": "402890b97de0c374017de0c920010001",
        "parentId2": "402890b97de0d369017de0d3ddc30000"
      },
      {
        "organizationId": "402890b97de0d369017de0d3ddc30000",
        "parentName3": null,
        "organizationName": "中行河北省行",
        "parentName4": null,
        "parentName1": "中行总行",
        "parentName2": null,
        "parentId3": null,
        "parentId4": null,
        "parentId1": "402890b97de0c374017de0c920010001",
        "parentId2": null
      },
      {
        "organizationId": "402890b97de0d369017de0d3dddf0002",
        "parentName3": null,
        "organizationName": "中行黑龙江省行",
        "parentName4": null,
        "parentName1": "中行总行",
        "parentName2": null,
        "parentId3": null,
        "parentId4": null,
        "parentId1": "402890b97de0c374017de0c920010001",
        "parentId2": null
      }
    ],
    "departmentId": "402890b97e2e8ed8017e2e97a02b0002",
    "departmentCode": "46212931",
    "belongToBankName": "中行"
  },
  "rspDesc": "success"
}
成功返回示例的参数说明
参数名 类型 说明
rspCode string
rspDesc string
data string 数据载体
失败返回示例
{
  "rspCode": "011",
  "rspDesc": "未查到信息"
}
备注