iMIS integration: Queries

Queries control the integration sync between iMIS and TopClass.

🚧

Warning

Each query should be reviewed and updated to suit your business requirements. Only review and update the properties that are specifically marked. Do not remove or modify any other properties. If you are unsure about making any changes to these IQAs please speak to your TopClass implementation project manager.

🚧

Warning

Do not change the alias names or the order of the display properties.

To get started, do the following:

  1. Go to RiSE > Intelligent Query Architect.
  2. Open the TopClass folder.
  3. The following queries are defined:

TopClass_Certification_Enrolment_Sync

Syncs purchase details for an online order that relates to a certification. The product must be part of the TopClass Certification category.

📘

Note

You must be licensed in TopClass for Certification for this to work.

TopClass_Certification_Enrolment_Sync
Filters tab propertiesDescriptionRequires updating?
[User] User IDEnsures the purchaser has a username.
[NetContactData] IDFetches the purchaser's ID.
[TopClass_Orders] Entered Date TimeEnter date/time.
[TopClass_Product] CategoryProduct category is TopClass Certification ("TCCERT") by default.Yes - Add additional product categories as required.
[TopClass_Product] StatusEnsures the product does not have a status of Out of Production or Marked for Deletion.
Display tab propertiesAlias
[NetContactData] IdWExternalID
[TopClass_Product] ProductCodeWCertProgramExternalID

TopClass_Group_Sync

Syncs details of organizations (ID and name). This creates a group in TopClass, and individuals are then linked to that group.

TopClass_Group_Sync
Filter tab propertiesDescriptionRequires updating?
Is CompanyEnsures the record is a company not an individual.
Last UpdatedEnsures the contact was last updated date is greater than or equal to the query run date.
Member TypeEnsures only the selected member types are retrieved.Yes - Add additional member types as required.
StatusEnsures only the selected contact statuses are retrieved.Yes - Add additional member statuses as required.
Display tab propertiesAlias
IdwExternalId
[vBoNetContactData].[ID]wShortName
CompanywTitle

TopClass_ILT_Cancelled_Enrolments_Sync

Syncs event registrations that have been cancelled in iMIS to TopClass.

TopClass_ILT_Cancelled_Enrolments_Sync
Filters tab propertiesDescriptionRequires updating?
[TopClass_Orders] St IdFetches the registrant's ID.
[TopClass_Orders] Updated Date TimeEnter date/time.
[TopClass_Event] Event CategoryEvent category (default selections): Online (W), Seminar (SE), Virtual meeting (VIRM), Virtual webinar (VIR), and MS Teams Online Meeting (VIRT).Yes - Add additional event categories as required.
[TopClass_Event] Event StatusEnsures the event does not have a status of cancelled or closed.
[TopClass_Orders] StatusEnsures the registration status is not cancelled.
Display tab propertiesAlias
[TopClass_Orders] St IdWExternalID
Event product keyWKlassExternalID
Order numberWOrderNo
Line number in orderWOrderLineNo

TopClass_ILT_Sync

Syncs event details from iMIS to TopClass.

TopClass_ILT_Sync
Filters tab propertiesDescriptionRequires updating?
[TopClass_Event] Event CategoryEvent category (default selections): Online (W), Seminar (SE), Virtual meeting (VIRM), Virtual webinar (VIR), and MS Teams Online Meeting (VIRT).Yes - Add additional event categories as required.
[TopClass_Event] Event StatusEnsures the event does not have a status of cancelled or closed.
Display tab propertiesAlias
Function descriptionWDescription
Function end date/timeWEndDateTime
Event codeWEventCode
Event descriptionWEventDescription
Event titleWEventTitle
Product keyWExternalID
Event statusWHidden
Function titleWLongName
Event capacityWMaxCapacity
Function codeWShortName
Function begin date/timeWStartDateTime
Event categoryWSubType
Event time zoneWTimeZone
Staff facilitatorwHost

TopClass_ILT_Enrolments_Sync

Syncs registrant details for events (Instructor-Led Enrolments).

TopClass_ILT_Enrolments_Sync query
Filters tab propertiesDescriptionRequires updating?
[User] User IDEnsures the purchaser has a username.
[TopClass_Orders] St IdFetches the registrant's ID.
[TopClass_Orders] Entered Date TimeEnsures the event begin date is greater than the run date or within the previous 7 days.
[TopClass_Event] Event CategoryEvent category (default selections): Online (W), Seminar (SE), Virtual meeting (VIRM), Virtual webinar (VIR), and MS Teams Online Meeting (VIRT).Yes - Add additional event categories as required.
[TopClass_Event] Event StatusEnsures the event does not have a status of cancelled or closed.
[TopClass_Orders] StatusEnsures the registration status is not cancelled.
Display tab propertiesAlias
[TopClass_Orders] St IdAliased as wIdNum.
Entered datetime of orderAliased as wEnrollDateTime.
Order line numberAliased as wOrderLineNo.
Order numberAliased as WOrderNo.
Product keyAliased as WExternalClassID.

TopClass_Online_Enrolments_Sync

Syncs purchase details for an online order.

TopClass_Online_Enrolments_Sync query
Filters tab propertiesDescriptionRequires updating?
[User] User IDEnsures the contact has a username.
[TopClass_Orders] St Id- Fetches the purchaser's ID.
[TopClass_Orders] Entered Date TimeEnter date/time.
[TopClass_Product] CategoryProduct category is TopClass by default.Yes - Add additional product categories as required.
[TopClass_Product] StatusProduct does not have a status of Out of Production or Marked for Deletion
Display tab propertiesAlias
Ship to IDwIdNum
Entered datetime of orderWEnrolldatetime
Order line numberwOrderLineNo
Order numberWOrderNo
Product keyWExternalID

TopClass_Online_Sync

Syncs the products for online learning from iMIS to TopClass.

TopClass_Online_Sync query
Filters tab propertiesDescriptionRequires updating?
CategoryProduct category is TopClass by default.Yes - Add additional product categories as required.
StatusEnsures the product does not have a status of Out of Production or Marked for Deletion.
Display tab propertiesAlias
Product keyWExternalID
Item code (Product code)WShortname
NameWLongname
DescriptionWInfo
StatusWHidden
Product categoryWSubtype

TopClass_Users_Sync

Syncs users from iMIS to TopClass.

TopClass_Users_Sync query
Filters tab propertiesDescriptionRequires updating?
[NetContactData] Is CompanyEnsures the contact is not a company.
[User] User IDEnsures the contact has a username.
[NetContactData] IdFetches the contact's ID.
[NetContactData] Last UpdatedEnsures the contact was last updated date is greater than or equal to the query run date.
[NetContactData] Member TypeEnsures only the selected member types are retrieved.Yes - Add additional member types as required.
[NetContactData] StatusEnsures only the selected contact statuses are retrieved.Yes - Add additional member statuses as required.
Display tab propertiesAlias
iMIS IDwIdNum
UsernamewUserName
First namewFirstName
Middle namewMiddleName
Last namewLastName
EmailwEmail
PrefixwPrefix
SuffixwSuffix
TitlewJobTitle
Work phonewPhone1
Home phonewPhone2
FaxwFaxNumber
Address 1wAddress1
CitywCity
ZipwZip
State/ProvincewState
Address 2wAddress2
Contact status codeWStatusCode
User account disabledwAccountDisabled
User effective datewValidPeriod_Start
User expiration datewValidPeriod_End
CountrywCountry
Company IDWPrimaryGroupID

TopClass_VC_Cancelled_Registrations

Syncs cancelled registrations for virtual conferences. You must be licensed in TopClass for this module.

TopClass_VC_Cancelled_Registrations query
Filters tab propertiesDescriptionRequires updating?
[CsRegistration] Ship To IdFetches the registrant's ID.
[CsEvent] Event CodeFetches the event code.
[CsRegistration] StatusEnsures the registration status is cancelled.
[CsEvent] Event CategoryEvent category is virtual conference by default.Yes - Add additional event categories as required.
[User] User IDEnsures the registrant has a username.
[CsEvent] Begin DateEnsures the event begin date is beyond the query run date.
Display tab propertiesAlias
[CsRegistration] Ship To IdwIdNum
[CsEvent] Event CodewEventCode

TopClass_VC_Registrations

Syncs registrations for virtual conferences. You must be licensed in TopClass for this module.

TopClass_VC_Registrations query
Filters tab propertiesDescriptionRequires updating?
[CsRegistration] Ship To IdFetches the registrant's ID.
[CsRegistration] Order DateFetches registration order date.
[CsEvent] Event CodeFetches the event code.
[CsRegistration] StatusEnsures the registration status is not cancelled.
[CsEvent] Event CategoryEvent category is virtual conference by default.Yes - Add additional event categories as required.
[User] User IDEnsures the registrant has a username.
Display tab propertiesAlias
[CsRegistration] Ship To IdwIdNum
[CsEvent] Event CodewEnrollDateTime
Entered datetime of orderwEventCode