Bulk upsert custom entities
All entities and their schemas must be within the same registry.
This operation performs the following actions:
- Any existing objects are looked up in Benchling by the provided entity registry ID.
- Then, all objects are either created or updated accordingly, temporarily skipping any schema field links between objects.
- Schema field links can be populated using entity registry IDs or API IDs. In the
valuefield of the Field resource, the object{"entityRegistryId": ENTITY_REGISTRY_ID}may be provided instead of the API ID if desired (see example value). You may link to objects being created in the same operation. - Entities are registered, using the provided name and entity registry ID.
If any action fails, the whole operation is canceled and no objects are created or updated.
Limit of 2500 custom entities per request.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
customEntities
Response
This endpoint launches a long-running task and returns the Task ID of the launched task. When successful, the task returns the resources of the objects that were upserted.
taskId
Errors
400
Bad Request Error