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 cases by IDs

      Parameters

      • caObjectIds: number[]

        The case Object ID to get

      Returns Promise<Briefcase[]>

      Returns Promise that represents a collection of objects describing the cases

    • 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

    • 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: null | string
    admin?: any

    PLL Administration methods

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

    Asset (Address) methods

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

    Asset (Address) methods

    BLicenseFlag: null | string
    BusCaseDesc: null | string
    BusCaseId: null | number
    BusinessCategory: null | string
    BusinessName: null | string
    BusinessOrgType: null | string
    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: null | number
    CY: null | number
    CZ: null | number
    data?: any

    Data Detail methods

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

    Payment, Receipt, & Fee methods

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

    Payment, Receipt, & Fee methods

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

    Workflow & task methods

    WorkOrderDesc: string
    WorkOrderId: string
    WorkOrderStatus: string