Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Sample payload for generic software install records

A sample payload that populates the Software Installation [cmdb_sam_sw_install] table in the ServiceNow instance with discovery data collected by third-party discovery sources.

The following is a sample payload for creating software install records for publishers such as Microsoft, IBM. For Oracle, VMware, and Citrix, specialized payloads are used.

In this sample payload, you are passing the information of the installed software, Microsoft Word 2016, and the related CI to inform where it is installed (on a computer CI "SAMILMT8"). You can look up column names in the cmdb_sam_sw_install table and send information by passing the columns, value pairs in the payload. For example, in this payload you are sending the publisher, version and display_name columns. You can also send additional information such as the edition column.

Note: For more information on CI Identifier rules, see Identifier Rules.

{ 'items': [{'className':'cmdb_ci_computer',
                'related': [{
                              className:'cmdb_sam_sw_install',
                              values: {
                                'publisher':'Microsoft',
                                'version':'2016',
                                'display_name':'Word'
                                }
                            }
                        ],
                   'values': {'name':'SAMILMT8'}
                             }]
              }
ElementValueDescription
classNamecmdb_ci_computerThe class name of the CI.
classNamecmdb_sam_sw_installThe name of the related table in the CMDB application where the CI is to be created.
publisherMicrosoftThe name of the publisher for whom this entry is being created in the table.
version2016The version of the software for which this entry is created in the table.
display nameWordThe display name for this entry in the table.
nameSAMILMT8Unique identifier of the CI.

Parent Topic:Software Asset Management references