{
"deptcode": "D002"
}
curl --location --request POST '/entDeptPost/postTree' \
--header 'Ssotoken: {{accessToken}}' \
--header 'x-timestamp: 1713748800833' \
--header 'x-signature: KUXSucUrpWVx4Cjfq8XNig7l3yKhqLycqDMoJhHJpPU=' \
--header 'x-app-id: sncsit' \
--header 'Content-Type: application/json' \
--data-raw '{
"deptcode": "D002"
}'
{
"returncode": "string",
"data": [
{
"children": [
{
"codefullpath": "string",
"id": "string",
"isChecked": true,
"parentcode": "string",
"postcode": "string",
"postlevel": 0,
"postname": "string",
"children": [
{
"codefullpath": "string",
"id": "string",
"isChecked": true,
"parentcode": "string",
"postcode": "string",
"postlevel": 0,
"postname": "string"
}
]
}
],
"codefullpath": "string",
"id": "string",
"parentcode": "string",
"postcode": "string",
"postlevel": 0,
"postname": "string",
"drs": [
"string"
]
}
],
"message": "string",
"traceId": "string",
"now": "string"
}