- Preparing search index...
- The search index is not available
cityworks
Index
Methods - WorkOrders Admin
WorkOrders Admin Methods
getEntityGroups
- getEntityGroups(): Promise<unknown>
-
Returns Promise<unknown>
getEntityTypes
- getEntityTypes(entityGroups: string[]): Promise<unknown>
-
Returns Promise<unknown>
getRelatedInspectionTemplates
- getRelatedInspectionTemplates(wOTemplateId: number): Promise<unknown>
-
Returns Promise<unknown>
getTemplateActivity
- getTemplateActivity(wOTemplateIds: number[]): Promise<unknown>
-
Returns Promise<unknown>
getTemplateEquipment
- getTemplateEquipment(wOTemplateId: number): Promise<unknown>
-
Returns Promise<unknown>
getTemplateGroupRights
- getTemplateGroupRights(wOTemplateIds: number[]): Promise<unknown>
-
Returns Promise<unknown>
getTemplateLabor
- getTemplateLabor(wOTemplateId: number): Promise<unknown>
-
Returns Promise<unknown>
getTemplateMapLayerFields
- getTemplateMapLayerFields(wOTemplateId: number): Promise<unknown>
-
Returns Promise<unknown>
getTemplateMaterial
- getTemplateMaterial(wOTemplateId: number): Promise<unknown>
-
Returns Promise<unknown>
getTemplateTasks
- getTemplateTasks(wOTemplateId: number): Promise<unknown>
-
Returns Promise<unknown>
getTemplates
- getTemplates(entityType: string, includeComments?: boolean, includeInstructions?: boolean): Promise<unknown>
-
Parameters
-
entityType: string
-
includeComments: boolean = true
-
includeInstructions: boolean = true
Returns Promise<unknown>
getUpdateFields
- getUpdateFields(wOTemplateIds: number[]): Promise<unknown>
-
Returns Promise<unknown>
updateTemplate
- updateTemplate(wOTemplate: Object): Promise<unknown>
-
Returns Promise<unknown>
Get entity groups
Returns
Returns Promise that represents a collection of all entity groups