Get Production Batch

Changed on

Get a single production batch in the Isometric system

get/production_batches/{id}

Request

  • Base URL
    https://api.isometric.com/mrv/v0
  • URL
    https://api.isometric.com/mrv/v0/production_batches/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:ptb_1GAFJ4C051S06E0Z

Headers

x-client-secretstring required

A secret token identifying the client connecting to the API

Example:Syou3EZiO5vuMEgNyBeA8cjEMYOnQDwP

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"
  ]
}

Changes

    • breaking

      for the path request parameter id, the minLength was increased from 0 to 20

    • warning

      for the path request parameter id, the maxLength was set to 37

    • info

      for the path request parameter id, the type was generalized from no type to string

    • breaking

      the / response property's maxLength was increased from 100 to 200 for the response status

    • breaking

      removed the required property from the response with the status

    • info

      for the path request parameter id, the type was generalized from string to no type

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the required property to the response with the status