cityworks
    Preparing search index...

    Class InspectionAdmin

    Index

    Inspection Templates

    • Get inspection template by ID

      Parameters

      • OptionaltemplateId: number

        The ID of the template to retrieve

      Returns Promise<any>

      Returns Promise that represents the Inspection template matching the provided ID

    • Get inspection templates

      Parameters

      • OptionalentityTypes: string[]

        The Entity Type(s) to return potential inspections for

      • OptionalcanCreate: boolean

        If true, only return templates the user can create, ignored if false or null, default is true

      • Optionaloptions: {
            IncludeInactive?: boolean;
            MaximumDateModified?: Date;
            MinimumDateModified?: Date;
            TemplateIds?: number[];
        }

        An object which can include: [IncludeInactive]: boolean, MaximumDateModified: Date, MinimumDateModified: Date, TemplateIds: Array

      Returns Promise<unknown>

      Returns Promise that represents a collection of all Inspections matching the provided parameters

    • Get inspection templates by IDs

      Parameters

      • OptionaltemplateIds: number[]

        The Entity Type(s) to return potential inspections for

      Returns Promise<any[]>

      Returns Promise that represents a collection of all Inspection templates matching the provided IDs