postContent Method

Post content to BIM Review Share

postContent(requestContext: AuthorizedClientRequestContext, filter: string, groupLabel: string, module: string, moduleVersion: string, name: string, owner: string, projectId: string, data: any, instanceId?: string): Promise<Content>

Parameter Type Description
requestContext AuthorizedClientRequestContext The client request context
filter string Filter property in content, defines the name of the iModel that relates to this content
groupLabel string GroupLabel property in content
module string Module property (e.g. 'DataViz')
moduleVersion string Module version string (e.g. 1.0.0)
name string User-defined name of data (e.g. 'My Saved View 1')
owner string Id of the user that owns this content
projectId string Project ID that this content refers to
data any JSON string with the data that wants to be saved
instanceId string Wsg Instance Id if updating the instance instead of creating a new one

Returns - Promise<Content>

Defined in

Last Updated: 13 June, 2024