Create WPC DELETE Method for Reservoir Simulation Rock Physics Model schema
As an OSDU data definitions member, I want the DELETE method to be created to support the Reservoir Simulation Rock Physics Model WPC. The method must delete the record and throw the corresponding messages, (Check AC section).
Dependencies before start the development :
| Task | Status (Y / N) |
|---|---|
| Proposal document revised | Y |
| Multi – company review | Y |
| OSDU Forum approval | Y |
Acceptance criteria:
| AC | Completed |
|---|---|
| The user can send a Request type: DELETE /{record_id} | |
| If the ID exists, the system should delete the saturation function set and return a 204 No Content status. | |
| Path parameter validation: Valid record_id passes, Invalid record_id returns 422 Unprocessable Entity. | |
| Postman Tests: DELETE valid ID ® 204. DELETE invalid ID ® 422. Repeat DELETE ® still 204. |
End point:
/api/rafs-ddms/v2/reservoirsimulationrockphysicsmodel/{record_id}
SCHEMA and reference links
You can access the json example file here: https://gitlab.opengroup.org/osdu/subcommittees/data-def/projects/ResMngmtTeam/docs/-/blob/main/Dynamic%20Reservoir%20Modeling/Jan2025_Workshop/Workshops_Outcomes_Proposals/JSON%20examples/wpc-ReservoirSimulationRockPhysicsModel_RockCompressibility.json
Edited by Raul Isunza