cityworks
    Preparing search index...

    Class WorkOrderAdmin

    Index

    WorkOrders Admin

    • Get entity groups

      Returns Promise<unknown>

      Returns Promise that represents a collection of all entity groups

    • Get entity types

      Parameters

      • entityGroups: string[]

      Returns Promise<unknown>

      Returns Promise that represents a collection of all GIS WorkOrder entity types

    • Get inspections connected to provided WorkOrder template

      Parameters

      • wOTemplateId: number

        WorkOrder Template ID

      Returns Promise<unknown>

      Returns Promise that represents a collection of all tasks on WorkOrder template

    • Get template activity services for provided WorkOrder Templates

      Parameters

      • wOTemplateIds: number[]

        Array one or more WorkOrder Template IDs

      Returns Promise<unknown>

      Returns Promise that represents a collection of all

    • Get equipment

      Parameters

      • wOTemplateId: number

      Returns Promise<unknown>

      Returns Promise that represents a collection of all

    • Get template group rights for provided WorkOrder Templates

      Parameters

      • wOTemplateIds: number[]

        Array one or more WorkOrder Template IDs

      Returns Promise<unknown>

      Returns Promise that represents a collection of all

    • Get labor

      Parameters

      • wOTemplateId: number

      Returns Promise<unknown>

      Returns Promise that represents a collection of all

    • Get map layer fields configured for provided WorkOrder template

      Parameters

      • wOTemplateId: number

        WorkOrder Template ID

      Returns Promise<unknown>

      Returns Promise that represents a collection of all

    • Get material

      Parameters

      • wOTemplateId: number

        WorkOrder Template ID

      Returns Promise<unknown>

      Returns Promise that represents a collection of all

    • Get WorkOrder templates

      Parameters

      • entityType: string
      • includeComments: boolean = true
      • includeInstructions: boolean = true

      Returns Promise<unknown>

      Returns Promise that represents a collection of all WorkOrder templates

    • Get tasks configured for provided WorkOrder template

      Parameters

      • wOTemplateId: number

        WorkOrder Template ID

      Returns Promise<unknown>

      Returns Promise that represents a collection of all tasks on WorkOrder template

    • Get fields which will be updated when provided WorkOrder Template instance closes

      Parameters

      • wOTemplateIds: number[]

        Array one or more WorkOrder Template IDs

      Returns Promise<unknown>

      Returns Promise that represents a collection of all

    • Update WorkOrder template

      Parameters

      • wOTemplate: Object

        Obect that describes the WorkOrder Template

      Returns Promise<unknown>

      Returns Promise that represents a collection of all