Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/workflow/approval_instances/simulation
Create or run simulation resource
Create or run simulation resource via POST /v7/workflow/approval_instances/simulation.
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
workflowapprovalInstancesSimulation- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
X-Kso-Id-Type
headerid_type
Request body
simulate_approval_instance_req_body
Properties: approval_define_idcontentscreatorcustom_formdept_id
Responses
200
simulate_approval_instance_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"pending_nodes": {
"approval_node": {},
"cc_node": {},
"id": "example-id-0123456789",
"name": "Example title",
"task_type": "approval"
}
}
}