Docs Portal
Documentation
API ReferenceConsole

AiM Asset Management

AiM logo

The AiM Asset Management Source connector imports mapped place hierarchy data, assets, and work orders from AiM into the Mapped graph. It supports:

  • Place synchronization from configured place mappings
  • Asset synchronization using configurable asset-group-to-exact-type mappings
  • Scheduled work order polling
  • On-demand historical work order backfill (date range or specific proposal numbers)

Use Cases

  • Sync AiM buildings, floors, and spaces into Mapped for place-aware operations.
  • Bring AiM asset inventory into Mapped as Thing entities with mapped exact types.
  • Keep maintenance records current by polling recently updated AiM work orders.
  • Backfill historical or specific proposal-based work orders for reporting and analysis.

Configuration

Auth Requirements

The connector authenticates directly to AiM with username/password and a base URL.

FieldRequiredDescription
UsernameYesAiM API username
PasswordYesAiM API password
Base URLYesAiM API base URL for your environment

Select Buildings

After authentication, the connector loads buildings, floors, and spaces from AiM and presents a place mapping table.

FieldRequiredUniqueNotes
building.siteIdYesNoRequired to provision building hierarchy
building.nameYesNoBuilding display name
building.addressYesNoBuilding address
floor.nameYesNoFloor name (read-only from source data)
floor.levelNoNoOptional floor level
space.nameYesNoSpace name (read-only from source data)
space.refIdYesYesSpace identifier used for location linkage
space.codeNoNoOptional space code

Saving this section triggers Location Sync, which will attach AiM Source identifiers to the relevant entities via ExternalIdentity.

Asset Mappings

The connector discovers AiM assetGroup values and lets you map each to a Mapped exact type for Thing.

  • Saved mappings are stored under the connector config and used by Asset Sync and work-order-related asset linking.
  • If no explicit mapping is selected, the asset defaults to THING.
  • Saving this section triggers Asset Sync, which will import the assets from AiM Source.

Poll

Disabled by default, toggle to Enabled to poll for AiM Work Orders every 15 minutes, within the scope of selected Buildings.

Historical Data Backfill

Use this section to backfill historical Work Orders from AiM. You can backfill by date range, which will poll Work Orders by their date last created or update, or by specific AiM Source proposal numbers. Backfills a maximum of 50,000 entities.

Mapped Concepts

AiM DataMapped EntityNotes
Building mapping rowBuildingIncludes identities with AiM building URN when building.refId exists
Floor mapping rowFloorNested under building via hasPart; includes identity when floor.refId exists
Space mapping rowSpaceNested under floor via hasPart; includes AiM space URN identity
Asset recordThingCreated from asset sync; exact type from Asset Mappings, fallback THING; linked by location (isLocationOf)
Work order recordWorkOrderIncludes status/type/priority/date fields and AiM work order identity
Contact email/namePerson (+ Email)Work order reporter relationship via isReportedBy
Shop value from phase dataPeopleGroupLinked to work order via hasAssignedGroup

Poll

Enable or disable the Work Order poll on the Advanced Settings tab. The poll will regularly scan the AiM system for new or updated work orders submitted for the locations configured in the Select Buildings section.

Sample Code

You can query Work Orders by the connector's ID and identify related assets and places.

Request Response
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{
  workOrders(filter: {connectedDataSourceId: {eq: "CONDUfL5cDFx4u7VVE8QMDvsH"}}) {
    id
    name
    dateCreated
    relatesTo {
      ... on Thing {
        id
        name
        exactType
      }
      ... on Building {
        id
        name
        exactType
      }
    }
  }
}

Graph Diagram

AiM Source Graph shape. Building hasPart Floor. Floor hasPart Space. Space isLocationOf Thing. WorkOrder relatesTo Building. WorkOrder relatesTo Thing. WorkOrder isReportedBy Person. WorkOrder hasAssignedGroup PeopleGroup.