put-scenario-model-assignments
PUT/v1/projects/:projectId/scenarios/:scenarioId/assignments/models
Assigns forecasts and p-series to wells in the scenario. Each record assigns one forecast (modelId) or one series (series), in one column and qualifier, to wellIds (up to 25,000 across the request) or to every well in the scenario (allWells). Records target each well's base row unless incrementalIndex is given. A forecast must belong to the project, and is only assigned to wells it contains, unless addWellsToForecast is set; facilities take neither column. Accepts an array of records (max 500), targeting at most 325,000 scenario-well-assignments in total, an allWells record counting as every row it resolves to. Returns one result per record; wells a record could not write are listed in its errors and the rest are written. The schedule and network columns will be supported here later.
With addWellsToForecast=true this request also modifies forecasts: wells missing from a record's forecast are added to it before the assignments are written, as POST .../forecasts/{id}/wells does. Adding a well creates its forecast data, and unassigning the forecast later does not remove the well from it.
Request
Responses
- 207
- 400
Multi-Status
Bad Request. There is something wrong with the request data.