Update a run plan
Updates an existing simulation run plan by its ID.
Path parameters
The ID of the run plan to update
Request body
Example request
{
"scenarios": [
{
"variables": {
"customerName": "John Doe",
"appointmentDate": "2024-02-15"
}
}
],
"flows": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"happyPath": true,
"edgeCases": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"variables": {
"tier": "premium"
}
}
]
}
]
}Response
The updated run plan
Example response
{
"data": {
"scenarios": [
{
"variables": {
"customerName": "John Doe",
"appointmentDate": "2024-02-15"
}
}
],
"flows": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"happyPath": true,
"edgeCases": [
{
"id": "7c9e6679-7425-40de-944b-e07fc1f90ae7",
"variables": {
"tier": "premium"
}
}
]
}
]
}
}Changes
Changed in 2 of the 105 revisions of this API.119
- ●
the
iterationCountrequest property's max was set to10000.00request-property-max-set
- ●
added the new
conflictenum value to thetyperesponse property for the response status400response-property-enum-value-added
- ●
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 status404response-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 status400response-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 status404response-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
- ○
added the new optional request property
flowsnew-optional-request-property
- ○
added the new optional request property
isHiddennew-optional-request-property
- ○
added the new optional request property
metrics/items/metricIdnew-optional-request-property
- ○
added the new optional request property
metrics/items/slugnew-optional-request-property
- ○
the request property
metrics/items/idbecame optionalrequest-property-became-optional
- ○
request property
scenariosdeprecatedrequest-property-deprecated
- ○
response property
data/scenariosdeprecatedresponse-property-deprecated
- ○
added the required property
data/flowsto the response with the200statusresponse-required-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the optional property
data/scenarios/items/variablesto the response with the200statusresponse-optional-property-added
- ○