new GOWOServices()
Methods
-
async,staticGOWOServices.createWorkOrder(workOrderToSave)
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/services.ts, line 30 -
Creates a new work order in the database.
Name Type Description workOrderToSaveThe data for the work order to be created.
Returns:
A promise resolving to the API response. -
async,staticGOWOServices.getStoredWorkOrders(props)
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/services.ts, line 62 -
Retrieves stored work orders (including persisted coordinates) for a specific application/model.
Name Type Description propsThe context identifiers required to fetch stored work orders.
Returns:
A promise resolving to the API response containing stored work orders. -
async,staticGOWOServices.getWorkOrderMetaData()
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/services.ts, line 91 -
Retrieves metadata for all work orders.
Returns:
A promise resolving to the API response containing the metadata. -
staticGOWOServices.getWorkOrderService()
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/services.ts, line 22 -
Gets the work order service instance.
Returns:
WorkOrderService instance configured for current environment -
async,staticGOWOServices.getWorkOrders(appId, modelId, view)
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/services.ts, line 47 -
Retrieves all work orders from the database for a specific application and model.
Name Type Description appIdThe application ID.
modelIdThe model ID.
viewThe view identifier.
Returns:
A promise resolving to the API response containing the work orders. -
async,staticGOWOServices.insertCoordinates(props)
Interactions/IFC/interact/GoIFCComponents/Components/WorkOrderComponent/src/services.ts, line 77 -
Inserts coordinates for a specific work order in the database.
Name Type Description propsThe properties required to insert coordinates, including appId, modelId, group, view, workOrderId, and coordinates.
Returns:
A promise resolving to the API response.
