POST/projects/api/v3/planning/autoschedule/persist.json
Optimise and persist the result to the DB.
Body Params
Request is the shared request body accepted by all four /planning/autoschedule action routes (validate, preview, highlights and persist).
- Name
config- Type
- object
- Description
- Config holds optional tuning parameters for a scheduling request. Every field is an optional pointer: an absent field falls back to its server-side default, which is distinct from sending an explicit zero.
- Name
lockedTaskIds- Type
- array
- Description
- LockedTaskIDs lists tasks whose current assignees must be preserved: the scheduler may move their dates but will not reassign them.
- Name
projectIds- Type
- array
- Description
- ProjectIDs is the set of projects to schedule. Exactly one project id is required; scheduling more than one project in a single request is not currently supported.
Responses
- Code
- 200
- Description
- 200 OK No Data
- Code
- 400
- Type
- object
- Schema
- Description
- 400 Bad Request
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 403
- Type
- object
- Schema
- Description
- 403 Forbidden
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 409
- Type
- object
- Schema
- Description
- 409 Conflict
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 422
- Type
- object
- Schema
- Description
- 422 Unprocessable Entity
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 500
- Type
- object
- Schema
- Description
- 500 Internal Server Error
ErrorResponse defines how []Error should be marshaled to JSON.
- Code
- 502
- Type
- object
- Schema
- Description
- 502 Bad Gateway
ErrorResponse defines how []Error should be marshaled to JSON.
400 Bad Request
ErrorResponse
{
"errors": [
{
"code": "string",
"detail": "string",
"id": "string",
"meta": {},
"title": "string"
}
]
}