Create Template From Optimization
Create a project optimization template from an existing optimization.
Copies the optimization's saved config into the new template's initial_form_data (both follow the same schema), so the client no longer re-maps the config through the optimization form to save a template.
Parameters
body : FromOptimizationRequest The source optimization id plus the new template's name/description.
Returns
OptimizationTemplate The created project-level template.
Raises
NotFoundError If the optimization does not exist. BadRequestError If the name is blank or the optimization has no valid saved configuration to turn into a template. ConflictError If a template with the same name already exists in the project.
Request body
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.