Skip to main content
POST
/
measurement_samples
Post Measurement Samples
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/measurement_samples \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '
{
  "feedstock_type_id": "ftt_1D7KZ1P761S0G7BN",
  "measured_at": "2023-11-07T05:31:56Z",
  "measurement_location_id": "mlc_1CCZASA6Q1S0V8T4",
  "measurement_type": "biochar_production_batch",
  "project_id": "<string>",
  "storage_location_id": "slc_1F3PMGVC91S0SBK3",
  "supplier_reference_id": "<string>",
  "values": [
    {
      "measurement_property": {
        "qualifier": "base_saturation_ca_2plus",
        "quantity_kind": "acidity"
      },
      "value": {
        "magnitude": 123,
        "unit": "<string>",
        "standard_deviation": 123
      }
    }
  ]
}
'
{
  "id": "<string>",
  "measured_at": "2023-12-25",
  "measurement_location_id": "mlc_1CCZASA6Q1S0V8T4",
  "supplier_reference_id": "<string>",
  "values": [
    {
      "measurement_property": {
        "qualifier": "base_saturation_ca_2plus",
        "quantity_kind": "acidity"
      },
      "value": {
        "magnitude": 123,
        "unit": "<string>",
        "standard_deviation": 123
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

A JWT Bearer token header for authentication and authorization, in the format Authorization: Bearer <token>

Headers

x-client-secret
string
required

A secret token identifying the client connecting to the API

Body

application/json
feedstock_type_id
string | null
required
Required string length: 20 - 37
Example:

"ftt_1D7KZ1P761S0G7BN"

measured_at
string<date-time>
required
measurement_location_id
string | null
required
Required string length: 20 - 37
Example:

"mlc_1CCZASA6Q1S0V8T4"

measurement_type
enum<string>
required
Available options:
biochar_production_batch,
biochar_soil,
pyrolysis_reactor,
ew_soil,
ew_porewater,
ew_field_biomass,
ew_mineral_feedstock,
ew_ion_exchange_resin
project_id
string
required
Required string length: 20 - 37
storage_location_id
string | null
required
Required string length: 20 - 37
Example:

"slc_1F3PMGVC91S0SBK3"

supplier_reference_id
string | null
required

A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.

Required string length: 1 - 100
values
CreateMeasurementSampleValueRequest · object[]
required

Response

Successful Response

id
string
required
Required string length: 20 - 37
measured_at
string<date>
required
measurement_location_id
string | null
required
Required string length: 20 - 37
Example:

"mlc_1CCZASA6Q1S0V8T4"

supplier_reference_id
string | null
required

A string that must be unique for all resources created by a specific supplier. It can be used by a client to identify the correct objects in their system.

Required string length: 1 - 100
values
MeasurementValue · object[]
required