Class CaseAdmin

Hierarchy

  • CaseAdmin

Case Templates Methods

  • Add Business Case Template

    Returns

    Returns Promise that represents an object describing the created case template. See: /{subdirectory}/apidocs/#/data-type-info;dataType=BusinessCaseItem

    Parameters

    • data: Object

      The Business Case Template options.

    Returns Promise<unknown>

  • Get Business Case Templates

    Returns

    Returns Promise that represents a collection of Business Case Templates

    Returns Promise<unknown>

  • Update Business Case Template

    Returns

    Returns Promise that represents an object describing the updated case template. See: /{subdirectory}/apidocs/#/data-type-info;dataType=BusinessCaseItem

    Parameters

    • busCaseId: number

      The Business Case ID to update

    • options: Object

    Returns Promise<unknown>

Departments & Divisions Methods

  • Add Department

    Returns

    Returns Promise that represents an object describing the added DepartmentItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=DepartmentItem

    Parameters

    • departmentCode: string

      The SubTypeId

    • departmentName: string

      The SubTypeId

    • Optional options: Object

      Other SubType options.

    Returns Promise<unknown>

  • Add Division

    Returns

    Returns Promise that represents an object describing the newly-added DivisionItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=DivisionItem

    Parameters

    • departmentId: number
    • divisionName: string
    • Optional options: Object

    Returns Promise<unknown>

  • Get Departments

    Returns

    Returns Promise that represents a collection of SubTypeItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=DepartmentItem

    Returns Promise<unknown>

  • Get all Divisions

    Returns

    Returns Promise that represents a collection of DivisionItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=DivisionItem

    Returns Promise<unknown>

Deposits Methods

  • Get all Deposits

    Returns

    Returns Promise that represents a collection of DepositItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=DepositItemBase

    Returns Promise<unknown>

Disciplines Methods

  • Get all Disciplines

    Returns

    Returns Promise that represents a collection of DisciplineItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=DisciplineItem

    Returns Promise<unknown>

Expirations Methods

  • Add an Expiration type

    Returns

    Returns Promise that represents an object describing the newly-added ExpirationTypeItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=ExpirationTypeItem

    Parameters

    • Optional options: Object

      Must specify OrgId and ExpirationDescType attributes. See: /{subdirectory}/apidocs/#/service-info/Pll/ExpirationType

    Returns Promise<unknown>

  • Get all Expirations

    Returns

    Returns Promise that represents a collection of ExpirationTypeItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=ExpirationTypeItem

    Returns Promise<unknown>

Fees Methods

  • Get all Fees

    Returns

    Returns Promise that represents an object describing the added DepartmentItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=DepartmentItem

    Returns Promise<unknown>

Inspections Methods

  • Add Inspection Time Block

    Returns

    Returns Promise that represents an object describing the newly-added InspectionTimeBlocksItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=InspectionTimeBlocksItem

    Parameters

    • labelText: string

      Label for the time block

    • startTime: string

      Start time in 24 hour format (HH:mm)

    • endTime: string

      End time in 24 hour format (HH:mm)

    • Optional inspTimeBlocksDetails: Object

      See: /{subdirectory}/apidocs/#/data-type-info;dataType=InspTimeBlocksDetailItem

    Returns Promise<unknown>

  • Get all Inspection Time Blocks

    Returns

    Returns Promise that represents a collection of InspectionTimeBlocksItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=InspectionTimeBlocksItem

    Returns Promise<unknown>

Notifications Methods

  • Get all NotificationCases

    Returns

    Returns Promise that represents a collection of NotificationCaseItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=NotificationCaseItem

    Returns Promise<unknown>

  • Get all Notification Types

    Returns

    Returns Promise that represents a collection of NotificationCaseItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=NotificationTypeItem

    Returns Promise<unknown>

NumberingGroups Methods

  • Add Numbering Group

    Returns

    Returns Promise that represents an object describing the newly-added NumberingGroupItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=NumberingGroupItem

    Parameters

    • options: Object

      attributes or update

    Returns Promise<unknown>

  • Get all Numbering Groups

    Returns

    Returns Promise that represents a collection of NumberingGroupItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=NumberingGroupItem

    Returns Promise<unknown>

  • Update Numbering Group

    Returns

    Returns Promise that represents an object describing the newly-added HolidaysItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=NumberingGroupItem

    Parameters

    • numberingGroupId: number

      ID of NumberGroup to update

    • Optional options: Object

      updates attributes

    Returns Promise<unknown>

Other Methods

  • Search Deposits. Include at least one of the search fields. A logical 'and' operation is applied for multiple search fields.

    Returns

    Returns Promise that represents an Array of FeeSetupIDs

    Parameters

    • filters: {
          AccountCode?: string;
          DepositCode?: string;
          DepositDesc?: string;
          DepositId?: number;
          DepositTypeId?: number;
      }

      The parameter(s) to search by (AccountCode, DepositCode, DepositDesc, DepositId, DepositTypeId).

      • Optional AccountCode?: string
      • Optional DepositCode?: string
      • Optional DepositDesc?: string
      • Optional DepositId?: number
      • Optional DepositTypeId?: number

    Returns Promise<unknown>

  • Search for Fees. Include at least one of the search fields. A logical 'and' operation is applied for multiple search fields.

    Returns

    Returns Promise that represents an Array of FeeSetupIDs

    Parameters

    • filters: {
          AccountCode?: string;
          FeeCode?: string;
          FeeDesc?: string;
          FeeSetupId?: number;
          FeeTypeId?: number;
      }

      The parameter(s) to search by (AccountCode, FeeCode, FeeDesc, FeeSetupId, FeeTypeId).

      • Optional AccountCode?: string
      • Optional FeeCode?: string
      • Optional FeeDesc?: string
      • Optional FeeSetupId?: number
      • Optional FeeTypeId?: number

    Returns Promise<unknown>

People Methods

  • Add People Role

    Returns

    Returns Promise that represents an object describing the newly-added PeopleRoleItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=PeopleRoleItem

    Parameters

    • roleCode: string
    • options: Object

      attributes for new person. See: /{subdirectory}/apidocs/#/service-info/Pll/PeopleRole

    Returns Promise<unknown>

  • Add Person

    Returns

    Returns Promise that represents an object describing the newly-added NumberingGroupItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=NumberingGroupItem

    Parameters

    • name: string

      Name of person

    • options: Object

      attributes for new person

    Returns Promise<unknown>

  • Get all People

    Returns

    Returns Promise that represents a collection of PeopleItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=PeopleItem

    Returns Promise<unknown>

  • Get all PeopleRoles

    Returns

    Returns Promise that represents a collection of PeopleRoleItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=PeopleRoleItem

    Returns Promise<unknown>

TaskResults Methods

  • Add TaskResultDetail

    Returns

    Returns Promise that represents an object describing the newly-added TaskResultDetailItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=TaskResultDetailItem

    Parameters

    • options: Object

      attributes for new TaskResultDetail. See: /{subdirectory}/apidocs/#/service-info/Pll/TaskResultDetail

    Returns Promise<unknown>

  • Add TaskResultFeeInsert

    Returns

    Returns Promise that represents an object describing the newly-added TaskResultFeeInsertItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=TaskResultFeeInsertItem

    Parameters

    • options: Object

      attributes for new TaskResultFeeInsert. See: /{subdirectory}/apidocs/#/service-info/Pll/TaskResultFeeInsert

    Returns Promise<unknown>

  • Delete TaskResultFeeInsert

    Returns

    Returns Promise that represents the ID Number of the deleted TaskResultFeeInsertItem.

    Parameters

    • taskResultFeeInsertId: number

      ID for TaskResultFeeInsert to be deleted.

    Returns Promise<unknown>

  • Delete TaskResultFeeInsert(s) by Task ID

    Returns

    Returns Promise that represents the ID Number of the Task parent of the deleted TaskResultFeeInsertItem(s).

    Parameters

    • taskId: number

      ID for Task parent of TaskResultFeeInsert(s) to be deleted.

    Returns Promise<unknown>

  • Get all TaskResultDetails

    Returns

    Returns Promise that represents a collection of PeopleRoleItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=PeopleRoleItem

    Returns Promise<unknown>

  • Get all TaskResultFeeInsert

    Returns

    Returns Promise that represents a collection of TaskResultFeeInsertItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=TaskResultFeeInsertItem

    Returns Promise<unknown>

  • Update TaskResultDetail

    Returns

    Returns Promise that represents an object describing the newly-added TaskResultDetailItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=TaskResultDetailItem

    Parameters

    • resultDetailId: number

      Result Detail ID

    • options: Object

      attributes for new person. See: /{subdirectory}/apidocs/#/service-info/Pll/TaskResultDetail

    Returns Promise<unknown>

  • Update TaskResultFeeInsert

    Returns

    Returns Promise that represents the ID Number of the updated TaskResultFeeInsertItem.

    Parameters

    • taskResultFeeInsertId: number

      ID for TaskResultFeeInsert to be updated.

    • taskId: number

      Updated TaskID

    • taskResultId: number

      Updated TaskResultId

    • Optional feeSetupId: number

      Fee setup ID update for TaskResultFeeInsert

    Returns Promise<unknown>

Types & SubTypes Methods

  • Add Case Type

    Returns

    Returns Promise that represents an object describing the added case type

    Parameters

    • caseTypeName: string

      The case type name

    • caseTypeDesciption: string

      The case type description

    • options: Object

      The other options for the Case Type

    Returns Promise<unknown>

  • Add SubType

    Returns

    Returns Promise that represents an object describing the added SubTypeItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=SubTypeItem

    Parameters

    • subTypeName: string

      The SubTypeId

    • subTypeDescription: string

      The SubTypeId

    • Optional options: Object

      Other SubType options.

    Returns Promise<unknown>

  • Get Case Types

    Returns

    Returns Promise that represents a collection of CaseTypeItems

    Returns Promise<unknown>

  • Get SubTypes

    Returns

    Returns Promise that represents a collection of SubTypeItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=SubTypeItem

    Returns Promise<unknown>

  • Search for CaseTypes. Include at least one of the search fields. A logical 'and' operation is applied for multiple search fields.

    Returns

    Returns Promise that represents an Array of CaseTypeIDs

    Parameters

    • filters: Object

      The parameter(s) to search by (CaseType, CaseTypeDesc, CaseTypeId)

    Returns Promise<unknown>

  • Search for CaseTypes. Include at least one of the search fields. A logical 'and' operation is applied for multiple search fields.

    Returns

    Returns Promise that represents a collection of CaseTypeItems. See: /{subdirectory}/apidocs/#/data-type-info;dataType=CaseTypeItem

    Parameters

    • filters: Object

      The parameter(s) to search by (CaseType, CaseTypeDesc, CaseTypeId)

    Returns Promise<unknown>

  • Update Case Type

    Returns

    Returns Promise that represents an object describing the updated case type

    Parameters

    • caseTypeId: number

      The case Type ID

    • Optional options: Object

      The other options for the Case Type

    Returns Promise<unknown>

  • Update SubType

    Returns

    Returns Promise that represents an object describing the updated SubTypeItem. See: /{subdirectory}/apidocs/#/data-type-info;dataType=SubTypeItem

    Parameters

    • subTypeId: number

      The SubTypeId

    • Optional options: Object

      The case Object ID

    Returns Promise<unknown>