Kingsoft OfficeWPS 365 enterprise collaboration open API
GET/v7/depts/{dept_id}/members
Get members resource
Get members resource via GET /v7/depts/{dept_id}/members.
Manage contacts and organization, cloud documents, DBSheet/smart sheets, messaging, meetings, calendars, mail, todo, approvals, and event subscriptions through the official WPS 365 OpenAPI (v7); the official machine contract is the OpenAPI 3.0.0 published on open.wps.cn (827 endpoints / 3,119 schemas). Enterprise data is private business data; Pontx does not proxy, cache, or aggregate it and callers use the local SDK/CLI directly.
Request
- operationId
deptsmembers- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
dept_id
pathstringrequired
Department ID.
example-id-0123456789
recursive
queryboolean
Recursive.
true
page_size
queryintegerint64
Number of results per page.
1
page_token
querystring
Pagination start token; opaque and passed back verbatim.
example-page-token
with_total
queryboolean
With total.
true
with_user_detail
queryboolean
With user detail.
true
status
queryuser_statusrequired
Status.
with_dept_detail
queryboolean
With dept detail.
true
X-Kso-Id-Type
headerid_type
Responses
200
list_dept_members_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"items": {
"ctime": 1,
"dept_id": "idxxxxxxxxxxxxxx",
"dept_info": {},
"is_leader": true,
"mtime": 1,
"order": 1,
"user_id": "idxxxxxxxxxxxxxx",
"user_info": {}
},
"next_page_token": "example-page-token",
"total": 1
}
}