Unit

Create Unit

Create Unit.

post/api/v3/unit

Request

  • Base URL
    https://{tenant_name}.benchling.com
  • Auth
    HTTP bearer

Request body

aliasesstring[] required

Alternative abbreviations for this unit, e.g. alternate symbols.

conversionFactorstring decimal required

Conversion factor relative to the UnitType's base unit.

namestring required

The long-form name, e.g. "milliliter".

symbolstring required

The short-form label, e.g. "mL".

unitTypeIdstring required

The API ID of the UnitType this unit belongs to.

Response

Created

__typenamestring
aliasesstring[]

Any additional short-form labels that should be recognized in input

archiveReasonstring nullable
archivedboolean
conversionFactorstring decimal

Conversion factor relative to the UnitType's baseUnit. E.g. for a kilometer, the baseUnit is meter and the conversionFactor is 1000.

createdAtstring datetime nullable
idstring
modifiedAtstring datetime nullable
namestring

Default long-form identifier, e.g. "meter".

symbolstring

Default short-form label, e.g. "m" for meter.

Changes

No recorded changes to this operation across all 1 revision of this API.