API Reference > imodeljs-backend > iModels > ConcurrencyControl > requestResourcesForInsert requestResourcesForInsert Method Beta Request the locks and/or Codes that will be required to insert the specified elements and/or models. This is a convenience method. It builds a request and sends it to the iModel server. It does not insert the elements or models. requestResourcesForInsert(ctx: AuthorizedClientRequestContext, elements: ElementProps[], models?: ModelProps[], relationships?: RelationshipProps[]): Promise<void> Parameter Type Description ctx AuthorizedClientRequestContext RequestContext elements ElementProps[] The elements that will be inserted models ModelProps[] The models that will be inserted relationships RelationshipProps[] The relationships that will be insertedSee ConcurrencyControl.requestResources, ConcurrencyControl.requestResourcesForUpdate, ConcurrencyControl.requestResourcesForDelete Returns - Promise<void> Defined in core/backend/src/ConcurrencyControl.ts Line 335 Last Updated: 11 June, 2024