그룹(부서) 조회
Response Schema
항목
타입
설명
body 상세
항목
타입
설명
하위 부서 상세
항목
타입
설명
Example
curl -X 'GET' \
'https://openapi.exosp.com/organization/v1/department' \
-H 'accept: application/json' \
-H 'x-exosp-access: YOUR_ACCESS_KEY' \
-H 'x-exosp-secret: YOUR_ACCESS_SECRET'
{
"code": 0,
"message": "success",
"body": {
"name": "test",
"fullName": "test",
"subDepartments": [
{
"name": "test2",
"fullName": "test > test2",
"subDepartments": []
},
{
"name": "test3",
"fullName": "test > test3",
"subDepartments": []
},
{
"name": "test4",
"fullName": "test > test4",
"subDepartments": [
{
"name": "dev",
"fullName": "test > test4 > dev",
"subDepartments": []
},
{
"name": "test5",
"fullName": "test > test4 > test5",
"subDepartments": []
}
]
},
{
"name": "test5",
"fullName": "test > test5",
"subDepartments": []
}
]
}
}Last updated