Skip to content

PatchVirtualScenarioParamsCollection

Array [
opstringrequired

The operation to apply for the patch. The only allowed operations are replace and remove.

Enum:"replace""remove"
Example:"replace"
pathstring^\/[0-7][0-9A-HJKMNP-TV-Z]{25}(\/(name|state|...required

The path to patch. It identifies a property within a virtual scenario and has two sections divided by a forward slash. The first section is the virtual scenario identifier, the second is the virtual scenario property name. Allowed property names are name, state, and realizationFilters.

Example:"/01JY70N8TE9DG79NTQZDFMGEW3/realizationFilters"
valueany

The value to patch. It is a name, the value Stopping, or a list of realization filters.

Example:
{ "items": [ { … }, { … } ] }
]
[ { "op": "replace", "path": "/01JY70N8TE9DG79NTQZDFMGEW3/name", "value": "Price sensitivity - Base case" }, { "op": "replace", "path": "/01JY70N8TE9DG79NTQZDFMGEW3/realizationFilters", "value": { … } }, { "op": "replace", "path": "/01JY70N8TE64GJ0CZE6M900M99/name", "value": "Price sensitivity - Low case" }, { "op": "replace", "path": "/01JY70N8TE9DG79NTQZDFMGEW3/state", "value": "Stopping" }, { "op": "remove", "path": "/01JY70N8TE9DG79NTQZDFMGEW3" } ]