API Reference > imodeljs-clients > iModelHubClient > IModelBaseHandler > postInstance postInstance Method Post a strongly typed instance. Sends a request body with a WSG instance. postInstance<T extends WsgInstance>(requestContext: AuthorizedClientRequestContext, typedConstructor: { T }, relativeUrlPath: string, instance: T extends WsgInstance, requestOptions?: WsgRequestOptions): Promise<T extends WsgInstance> Parameter Type Description requestContext AuthorizedClientRequestContext The client request context typedConstructor { T } Used to construct the resulting instances from the response. relativeUrlPath string Relative path to the REST resource. instance T extends WsgInstance Strongly typed instance to be posted. requestOptions WsgRequestOptions WSG options for the request. Returns - Promise<T extends WsgInstance> The posted instance that's returned back from the server. Defined in core/clients/src/imodelhub/BaseHandler.ts Line 163 Last Updated: 13 June, 2024