POST
/
production_batches
Post Production Batch
curl --request POST \
  --url https://api.sandbox.isometric.com/mrv/v0/production_batches \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-client-secret: <x-client-secret>' \
  --data '{
  "display_name": "<string>",
  "ended_at": "2023-11-07T05:31:56Z",
  "facility_id": "fcl_1G8QT5ZAB1S0XSDW",
  "feedstock_type_id": "ftt_1D7KZ1P761S0G7BN",
  "kind": "biochar",
  "mass": {
    "magnitude": 123,
    "standard_deviation": 123,
    "unit": "<string>"
  },
  "started_at": "2023-11-07T05:31:56Z",
  "supplier_reference_id": "<string>"
}'
{
  "display_name": "<string>",
  "ended_at": "2023-11-07T05:31:56Z",
  "facility_id": "fcl_1G8QT5ZAB1S0XSDW",
  "feedstock_type_id": "ftt_1D7KZ1P761S0G7BN",
  "id": "ptb_1GAFJ4C051S06E0Z",
  "kind": "biochar",
  "mass": {
    "magnitude": 123,
    "standard_deviation": 123,
    "unit": "<string>"
  },
  "started_at": "2023-11-07T05:31:56Z",
  "supplier_reference_id": "<string>",
  "uploaded_at": "2023-11-07T05:31:56Z"
}

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

Examples:

"Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP"

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.