Unit Type

Create UnitType

Create UnitType.

post/api/v3/unit-type

Request

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

Request body

namestring required

The name of this unit type, e.g. "Volume".

overrideIsConcentrationboolean required

When true, forces this UnitType to be treated as a concentration type regardless of its terms. When false, the classification is determined by the UnitType's terms. Mutually exclusive with overrideIsContainerQuantity.

overrideIsContainerQuantityboolean required

When true, forces this UnitType to be treated as a container quantity type regardless of its terms. When false, the classification is determined by the UnitType's terms. Mutually exclusive with overrideIsConcentration.

Response

Created

__typenamestring
archiveReasonstring nullable
archivedboolean
createdAtstring datetime nullable
idstring
modifiedAtstring datetime nullable
namestring

The user-facing name, e.g. "Volume" or "Molar Concentration".

overrideIsConcentrationboolean nullable

When true, forces this UnitType to be treated as a concentration type regardless of its terms. When false, the classification is determined by the UnitType's terms. Mutually exclusive with overrideIsContainerQuantity.

overrideIsContainerQuantityboolean nullable

When true, forces this UnitType to be treated as a container quantity type regardless of its terms. When false, the classification is determined by the UnitType's terms. Mutually exclusive with overrideIsConcentration.

unitsstring uri nullable

All units belonging to this unit type.

Changes

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