Implement CRUD endpoints to manage Non Gas Isotopes data

Implement POST/api/rafs-ddms/nongasisotopes/{record_id}/data is implemented and available on Swagger

  • record_id is the SamplesAnalysis WPC which was created previously
  • User should be able to fill the SamplesAnalysis report with measurements taken in this analysis
  • Successful response (200 status code) should update SamplesAnalysis record and include DDMSDatasets array with GET endpoint to the linked bulk data of nongasisotopes
  • Validation cases should be covered with appropriate status codes
  • Request & response structure should correspond to populated JSON

Implement GET/api/rafs-ddms/nongasisotopes/{record_id}/data endpoint is implemented and available on Swagger

  • record_id is the SamplesAnalysis WPC
  • User should be able to retrieve bulk data of nongasisotopes using new endpoint
  • Successful response (200 status code) should retrieve all existing nongasisotopes Measurements (bulk data) linked to specified record id (SamplesAnalysis WPC)
  • Validation cases should be covered with appropriate status codes
  • Structure of request and response should correspond to populated JSON content schema

Updated merged content schema: https://gitlab.opengroup.org/osdu/subcommittees/data-def/projects/RAFSDDMSDEV/docs/-/blob/main/Design%20Documents/isotope_analysis_data_schema.json

Reference data: https://gitlab.opengroup.org/osdu/subcommittees/data-def/projects/RAFSDDMSDEV/docs/-/blob/main/Design%20Documents/ReferenceValues/Manifests/reference-data/OPEN/NonGasIsotopeComponents.1.0.0.json

Edited by Raghd Gadrbouh