v3

latestOpenAPI 3.1.02026-08-0797185285.8 KB

Post Production Batch

Creates a production batch in the Isometric system

post/production_batches

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

A secret token identifying the client connecting to the API

Request body

facility_idstring required

The facility where the production batch was created

feedstock_type_idsstring[] required

The kinds of feedstock used to create this production batch

supplier_reference_idstring 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.

kind'biochar' required
started_atstring date-time required

The date and time at which production of this production batch was started

ended_atstring date-time required

The date and time at which production of this production batch was completed

display_namestring nullable

The display name for this production batch. If not provided, one will be auto-generated from the facility name

Example request

{
  "facility_id": "fcl_1G8QT5ZAB1S0XSDW",
  "feedstock_type_ids": [
    "ftt_1D7KZ1P761S0G7BN"
  ]
}

Response

Successful Response

idstring required
facility_idstring required
feedstock_type_idsstring[] required
supplier_reference_idstring nullable 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.

kind'biochar' required
started_atstring date-time required
ended_atstring date-time required
uploaded_atstring date-time required
display_namestring required

Example response

{
  "id": "ptb_1GAFJ4C051S06E0Z",
  "facility_id": "fcl_1G8QT5ZAB1S0XSDW",
  "feedstock_type_ids": [
    "ftt_1D7KZ1P761S0G7BN"
  ]
}