Add a custom variable to an existing model
Changed onAppend a new custom variable to a model's config (append-only).
Validates the expression, serializes it to JSON, and stores it. Custom variables cannot be edited or deleted after creation because evaluated values are persisted in simulation result files.
post/models/{model_id}/custom-variables
Request
- Base URLhttps://api.ionworks.com
- URLhttps://api.ionworks.com/models/{model_id}/custom-variables
- Authnone declared
Path parameters
model_idstring uuid required
Request body
Response
Successful Response
Changes
- breaking
the response property
became optional for the status - breaking
response property
user_idlist-of-types was widened by adding typesnullto media typeapplication/jsonof response201 - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking
- breaking
for the
pathrequest parametermodel_id, the format changed from no format touuid
- breaking