post-project-inventory-plan-promote-wells
POST/v1/projects/:projectId/inventory/plans/:id/promote-wells
Promotes wells of the inventory plan to project wells, as the app does. Send the ids of up to 1,000 wells of the plan, as listed in wells of the plan. The response says right away which wells will be promoted and which are skipped, with a reason for each. A well that is already promoted, or whose promotion is in progress, is skipped and never promoted twice. The promotion runs in the background. Follow it with the jobId in GET /v1/projects/{projectId}/inventory/plans/{id}/promote-wells/{jobId}. When no well can be promoted, nothing starts and jobId is null.
Request
Responses
- 200
- 202
- 400
- 404
OK. No well can be promoted, so nothing started and jobId is null.
Accepted. The promotion of the wells in willCreate started.
Bad Request. There is something wrong with the request data.
Not Found. Inventory Management is not enabled, the project does not exist, or the inventory plan does not exist.