Create PTO
documentedAdd a Personal Time Off event (PTO) for a member or resource.
POST /api/workspaces/{workspaceId}/time-off/pto/v1Time Off (PTO)no implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://next.liquidplanner.com/api/workspaces/{{$workspaceId}}/time-off/pto/v1" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-d '{"timeOffType": "{{$timeOffType}}", "startDate": "{{$startDate}}", "endDate": "{{$endDate}}", "userId": "{{$userId}}"}'