var payload = { "items": [ { "className": "cmdb_ci_computer", "values": { "name": "ltequ1851" } } ] }; var input = new JSON().encode(payload); var output = SNC.IdentificationEngineScriptableApi.createOrUpdateCI('ServiceNow', input); gs.print(output);