Kingsoft OfficeWPS 365 enterprise collaboration open API
POST/v7/calendars/primary/timeoff_events/create
Create or run create resource
Create or run create resource via POST /v7/calendars/primary/timeoff_events/create.
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
calendarsprimaryTimeoffEventsCreate- Server
https://openapi.wps.cn- Authentication
- app, delegated
Request parameters
X-Kso-Id-Type
headerid_type
Request body
Properties: descriptionend_timestart_timetimeoff_typetitleuser_id
Responses
200
create_timeoff_event_resp_bodyapplication/json
Request succeeded.
Properties: data
default
unknownapplication/json
The upstream service returned this status.
{
"data": {
"description": "example content",
"end_time": {
"date": "2026-08-16",
"datetime": "2026-08-16T00:00:00.000Z"
},
"start_time": {
"date": "2026-08-16",
"datetime": "2026-08-16T00:00:00.000Z"
},
"timeoff_event_id": "example-id-0123456789",
"title": "Example title"
}
}