Run a simulation plan
Deprecated: use POST /v1/simulation/run, which does the same thing and can also take the plan configuration inline, so a one-off run does not have to create a plan first.
Creates and executes a job for an existing simulation run plan. Optionally provide runtime variables to override plan-defined variables.
Path parameters
Simulation run plan ID
Request body
Example request
{
"variables": {
"orderNumber": "12345",
"environment": "staging"
}
}Response
Successfully triggered simulation run plan
Example response
{
"data": {
"simulationRunPlanId": "9a8b7c6d-5e4f-3210-abcd-ef9876543210",
"simulationRunPlanJobId": "7f3e4d2c-8a91-4b5c-9e6f-1a2b3c4d5e6f",
"status": "PENDING",
"createdAt": "2024-01-15T10:30:00Z"
}
}Changes
Changed in 3 of the 105 revisions of this API.299
- ▲
the response's body type/format changed from
/toobject/for status404response-body-type-changed
- ○
for the
pathrequest parameterplanId, the type/format was generalized from/tostring/uuidrequest-parameter-type-generalized
- ○
added the optional property
detailsto the response with the404statusresponse-optional-property-added
- ○
added the optional property
paramto the response with the404statusresponse-optional-property-added
- ○
added the required property
codeto the response with the404statusresponse-required-property-added
- ○
added the required property
messageto the response with the404statusresponse-required-property-added
- ○
added the required property
typeto the response with the404statusresponse-required-property-added
- ▲
- ●
added the new
PREPARING_CAPACITYenum value to thedata/statusresponse property for the response status200response-property-enum-value-added
- ●
- ▲
removed
subschema #2from thevariablesrequest propertyanyOflistrequest-property-any-of-removed
- ●
added the new
conflictenum value to thetyperesponse property for the response status401response-property-enum-value-added
- ●
added the new
conflictenum value to thetyperesponse property for the response status403response-property-enum-value-added
- ●
added the new
conflictenum value to thetyperesponse property for the response status429response-property-enum-value-added
- ●
added the new
conflictenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ●
added the new
payment_requiredenum value to thetyperesponse property for the response status401response-property-enum-value-added
- ●
added the new
payment_requiredenum value to thetyperesponse property for the response status403response-property-enum-value-added
- ●
added the new
payment_requiredenum value to thetyperesponse property for the response status429response-property-enum-value-added
- ●
added the new
payment_requiredenum value to thetyperesponse property for the response status500response-property-enum-value-added
- ○
endpoint deprecated
endpoint-deprecated
- ○
added
subschema #2subschema #3to thevariablesrequest propertyanyOflistrequest-property-any-of-added
- ○
added the non-success response with the status
402response-non-success-status-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲