molecules

Create or update a registered Molecule

Create or update a registered Molecule.

Schema field links can be populated using entity registry IDs or API IDs. In the value field of the Field resource, the object {"entityRegistryId": ENTITY_REGISTRY_ID} may be provided instead of the API ID if desired (see example value).

patch/molecules/{entity_registry_id}:upsert

Request

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

Path parameters

entity_registry_idstring required

Request body

archiveRecordArchiveRecordSet

Currently, we only support setting a null value for archiveRecord, which unarchives the item

fieldsFieldsWithResolution
namestring required

Name of the Molecule.

registryIdstring required
schemaIdstring required

ID of the Molecule's schema.

aliasesstring[]

Aliases to add to the Molecule.

authorIdsstring[]

IDs of users to set as the Molecule's authors.

customFieldsCustomFields
folderIdstring

ID of the folder containing the Molecule.

Response

OK

aliasesstring[]

Array of aliases.

apiURLstring uri

The canonical url of the Molecule in the API.

canonicalizedSmilesstring

The canonicalized chemical structure in SMILES format.

createdAtstring date-time

DateTime the Molecule was created.

customFieldsCustomFields
entityRegistryIdstring nullable

Registry ID of the Molecule if registered.

fieldsFields
folderIdstring nullable

ID of the folder that contains the Molecule.

idstring

ID of the Molecule.

modifiedAtstring date-time

DateTime the Molecule was last modified.

namestring

Name of the Molecule.

originalSmilesstring nullable

The original chemical structure supplied by the user in SMILES format. Null if the user did not originally supply SMILES.

registryIdstring nullable

Registry the Molecule is registered in.

webURLstring uri

URL of the Molecule.

Changes

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