Skip to content
Pile
Esc
navigateopen⌘Jpreview

Create time schedule

POST/workspaces/{organizationId}/time-schedules
Path parameters
organizationIdstringrequired
Request body
application/json
namestringrequired
min length 1
timeDatastring
Responses
201Time schedule created
idstringrequired
organizationIdstringrequired
namestringrequired
timeDatastring | nullrequired
createdAtstringrequired
updatedAtstringrequired
Try it
Server
Parameters
Bodyapplication/json
Request
curl -X POST "/workspaces/string/time-schedules" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "string",
  "timeData": "string"
}'
Response
{
  "id": "string",
  "organizationId": "string",
  "name": "string",
  "timeData": "string",
  "createdAt": "string",
  "updatedAt": "string"
}