Hierarchy

  • InspectionAdmin

Methods - Inspection Templates

Inspection Templates Methods

  • Get inspection templates

    Returns

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

    Parameters

    • Optional entityTypes: string[]

      The Entity Type(s) to return potential inspections for

    • Optional canCreate: boolean

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

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

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

      • Optional IncludeInactive?: boolean
      • Optional MaximumDateModified?: Date
      • Optional MinimumDateModified?: Date
      • Optional TemplateIds?: number[]

    Returns Promise<unknown>