cityworks
    Preparing search index...

    Class Briefcase

    Index

    Cases

    • Create new case

      Parameters

      • caseTypeId: number

        The case Type ID

      • subTypeId: number

        The case subType ID

      • Optionaloptions: Object

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

      Returns Promise<Briefcase>

      Returns Promise that represents an object describing the newly-created case

    • Create a child case

      Parameters

      • busCaseId: number

        The case Type ID

      • parentCaObjectId: number

        The case subType ID

      • Optionaloptions: Object

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

      Returns Promise<Briefcase>

      Returns Promise that represents an object describing the newly-created case

    • Create a case from a Service Request

      Parameters

      • caseTypeId: number

        The case Type ID

      • subTypeId: number

        The case subType ID

      • requestId: number

        The service request ID

      • Optionaloptions: Object

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

      Returns Promise<unknown>

      Returns Promise that represents an object describing the newly-created case

    • Delete case

      Parameters

      • caObjectId: number

        The case Object ID

      Returns Promise<unknown>

      Returns Promise that represents an object describing the deleted case

    • Delete Map Layer Fields

      Parameters

      • caObjectId: number

        The case object ID to delete the map layer fields for.

      Returns Promise<unknown>

      Returns Promise that represents a collection of Objects describing the case object map layer fields deleted

    • Get case by ID

      Parameters

      • caObjectId: number

        The case Object ID to get

      Returns Promise<Briefcase>

      Returns Promise that represents an object describing the case

    • Get cases by IDs

      Parameters

      • caObjectIds: number[]

        The case Object IDs to get

      Returns Promise<Briefcase[]>

      Returns Promise that represents a collection of objects describing the cases

    • Get the configured countries for the install

      Returns Promise<unknown>

      Returns Promise that represents a collection of countries configured for the install

    • Get the configured custom data for the case, by template and table name

      Parameters

      • caObjectId: number

        The case Object ID to get

      • configId: number

        The configuration ID to get use

      • tableName: string

        The name of the table to get custom data from

      Returns Promise<any[]>

      Returns Promise that represents a collection of custom fields with data for the case instance

    • Get Map Layer Fields

      Parameters

      • caObjectId: number

        The case object ID to get the map layer fields for.

      Returns Promise<unknown>

      Returns Promise that represents a collection of Objects describing the case object map layer fields

    • Reports available for Case

      Parameters

      • caObjectId: number

        The case object ID to get the report (print template) list for

      Returns Promise<unknown>

      Returns Promise that represents a collection of Objects describing the reports (print templates) available for this case

    • Get Required items for case by case template id (BusCaseId)

      Parameters

      • busCaseId: number

        The case tmeplate ID (BusCaseId)

      Returns Promise<Briefcase>

      Returns Promise that represents a collection of objects describing the requirements of the case template

    • Get the configured states for the install

      Returns Promise<unknown>

      Returns Promise that represents a collection of states configured for the install

    • Get the configured zip codes for the install

      Returns Promise<unknown>

      Returns Promise that represents a collection of zip codes configured for the install

    • Move a Case point

      Parameters

      • caObjectId: number
      • x: number
      • y: number
      • projection: { VcsWKID?: string; WKID?: string; WKT?: string }

        Should include at least WKT or WKID attribute. Can also include VcsWKID attribute.

      • Optionalz: number

        Optional Z coordinate

      Returns Promise<unknown>

      Returns Promise that represents an object describing the updated GISPoint

    • Print Case

      Parameters

      • caObjectId: number

        The case object ID to delete the map layer fields for.

      • fileName: string

        the filename of the report from the getPrintTemplates method, but w/out the extension

      • callback: any

      Returns Promise<unknown>

      Returns Promise that represents a collection of Objects describing the case object map layer fields deleted

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

      Parameters

      • filters: Object

        The parameter(s) to search by

      Returns Promise<number[]>

      Returns Promise that represents an Array of case Object IDs

    • Update a case

      Parameters

      • caObjectId: number

        The case Object ID to update

      • Optionaloptions: Object

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

      Returns Promise<Briefcase>

      Returns Promise that represents an object describing the updated case

    • Update Map Layer Fields

      Parameters

      • caObjectId: number

        The case object ID to get the map layer fields for.

      • Optionalx: number
      • Optionaly: number
      • OptionaldomainId: number

        The domain ID for the case in question

      • Optionalz: number

        Optional Z coordinate

      Returns Promise<unknown>

      Returns Promise that represents a collection of Objects describing the case object map layer fields

    Other

    AcceptedBy: number
    AcceptedByLoginId: number
    ActiveFlag: string | null
    admin?: any

    PLL Administration methods

    AmountDue: number | null
    AnonymousFlag: string
    asset?: any

    Asset (Address) methods

    AssignedTo: number | null
    AssignedToFirstName: string | null
    AssignedToLastName: string | null
    AssignedToLoginId: string | null
    attachments?: any

    Asset (Address) methods

    BLicenseFlag: string | null
    BusCaseDesc: string | null
    BusCaseId: number | null
    BusinessCategory: string | null
    BusinessName: string | null
    BusinessOrgType: string | null
    CaObjectId: number
    CaseGroup: any
    CaseName: string
    CaseNumber: string
    CaseStatus: string
    CaseStatusId: number
    CaseType: string
    CaseTypeDesc: string
    CaseTypeId: number
    CloneCaseRelation: any
    comment?: any

    Commenting methods

    CreatedBy: number
    CreatedByLoginId: string
    CX: number | null
    CY: number | null
    CZ: number | null
    data?: any

    Data Detail methods

    DateAccepted: Date | null
    DateCreated: Date
    DateEntered: Date
    DateExpiration: Date | null
    DateIssued: Date | null
    DateModified: Date | null
    EnteredBy: number
    EnteredByLoginid: number
    ExpiredFlag: string | null
    Facility_Id: string | number | null
    FedTaxId: string | null
    financial?: any

    Payment, Receipt, & Fee methods

    flag?: any

    Flag methods

    GetViewColumns: string[]
    IssuedBy: number | null
    IssuedFlag: string | null
    Level_Id: string | number | null
    Location: string | null
    ModifiedBy: number | null
    ModifiedByLoginId: number
    OrgId: number
    PACaseFlag: string | null
    ParentCaObjectId: number | null
    PendingFlag: any
    people?: any

    Payment, Receipt, & Fee methods

    PriorityLevel: string | null
    ProjectCode: string | null
    ProjectDesc: string | null
    ProjectId: string | null
    ProjectSid: number | null
    RegisteredFlag: string
    ServiceRequestDesc: string
    ServiceRequestId: number
    ServiceRequestStatus: string
    StateTaxId: string | null
    StatusCode: string
    SubType: string | null
    SubTypeDefaultText: string | null
    SubTypeDesc: string | null
    SubTypeId: number | null
    TableName: string
    TempTableName: string
    workflow?: any

    Workflow & task methods

    WorkOrderDesc: string
    WorkOrderId: string
    WorkOrderStatus: string