Appendix: ServiceNow API Endpoints for the Service Graph Connector

This appendix describes the ServiceNow API Endpoints that were created for the ServiceNow Service Graph Connector.

Staging Tables

The integration uses the ImportSet API at https://developer.servicenow.com/dev.do#!/reference/api/rome/rest/c_ImportSetAPI. The only interaction between ServiceNow and ScienceLogic systems is to POST to two specific staging tables:

  • SG-ScienceLogic Physical Devices

  • SG-ScienceLogic VMware Devices

Staging Table Names

Name Table

SG-ScienceLogic Physical Devices

x_sclo_devicesync_device_import

SG-ScienceLogic VMware Devices

x_sclo_devicesync_device_import_vmware

URL Format

Name Value

SG-ScienceLogic Physical Devices

/api/now/import/x_sclo_devicesync_device_import/insertMultiple

SG-ScienceLogic VMware Devices

/api/now/import/x_sclo_devicesync_device_import_vmware/insertMultiple

Example Payload

{
  "devices": [
    {
      "sl1_id": 45,
      "region": "unique_id",
      "native_key": "unique_id+DEV",
      "org_name": "System",
      "org_id": "0",
      "org_crm_id": "",
      "asset_id": 45,
      "serial": "VMware-42 05 48 4f 66 96 d7 dc-f1 cf 4a c2 53 6d ad 10",
      "make": "VMware, Inc.",
      "model": "VMware Virtual Platform",
      "vital_asset_information": "SNMP Location Data: Unknown",
      "memory": 4045504,
      "cpu_make": "Xeon(R)",
      "cpu_speed": 2199.998,
      "firmware_version": 6.0,
      "device_category": "System.EM7",
      "device_base_class": "ScienceLogic, Inc.",
      "device_sub_class": "EM7 All-In-One",
      "virtual_type": "physical",
      "name": "em7-ao-118",
      "ip": "10.2.11.118",
      "date_added": "2021-06-17 19:13:31",
      "sl1_url": "https://10.2.11.154/em7/index.em7?exec=device_summary&did=45",
      "oid": "1.3.6.1.4.1.19567.2.1.10"
    }
  ]
}

Example Response

{
    "import_set_id": "6dff2f26dbaef490d91fae5a489619a2",
    "multi_import_set_id": "e5ff2f26dbaef490d91fae5a489619a4"
}