|
<String>
|
JSON formatted string that is a list of results for the configuration items in the input string.Data type: String
```
{
"additionalCommittedItems": [Array],
"additionalCommittedRelations": [Array],
"hasError": Boolean,
"hasWarning": Boolean,
"items": [Array],
"relations": [Array],
"summary": {Object}
}
```
|
|
<String>.additionalCommittedItems
|
List of CIs that were committed during the IRE processing of the current payload, but were not present in the current input payload.Data type: Array of Objects
```
"additionalCommittedItems": [
{
"className": "String",
"errorCount": Number,
"operation": "String",
"identificationAttempts": [Array],
"inputIndices": [Array],
"markers": [Array],
"mergedPayloads": [Array],
"sysId": "String"
}
]
```
|
|
<String>.additionalCommittedItems.className
|
Sys\_class\_name of this additional CI.Data type: String
|
|
<String>.additionalCommittedItems.errorCount
|
Number of errors encountered while processing this additional CI.Data type: Number
|
|
<String>.additionalCommittedItems.errors
|
Array of objects that describes errors encountered while processing this additional CI.Data type: Array
```
"errors": [
{
"error": "String",
"message": "String"
}
]
```
|
|
<String>.additionalCommittedItems.errors.error
|
Type of error encountered while processing the additional CI.Data type: String
|
|
<String>.additionalCommittedItems.errors.message
|
Error message encountered while processing the additional CI.Data type: String
|
|
<String>.additionalCommittedItems.identificationAttempts
|
Array of objects in which each object describes an attempt made to identify this additional CI.Data type: Array of Objects
```
"identificationAttempts": [
{
"attemptResult": "String",
"attributes": [Array],
"hybridEntryCiAttributes": [Array],
"identiferName": "String",
"searchOnTable": [Array]
}
]
```
|
|
<String>.additionalCommittedItems.identificationAttempts.attemptResult
|
Outcome of this additional CI identification attempt.Data type: String
Possible values:
- MATCHED: Identification succeeded. A unique CI was found in the identifier rule table which exactly matched the specified attributes.
- MULTI\_MATCH: Identification failed with an error. Duplicate CIs were found in the identifier rule table when matching against the specified attributes.
- NO\_MATCH: Identification failed. No CI was found in the identifier rule table which matched the specified attributes.
- SKIPPED: Identification not attempted. The attributes required for this identifier rule table search were not provided, so the rule was not applied.
|
|
<String>.additionalCommittedItems.identificationAttempts.attributes
|
CI identifier entry attributes used during this additional CI identification attempt.Data type: Array
Attribute names and types depend on the request body data and the identifier in use, such as:
```
"attributes": [
"serial_number": "String",
"serial_number_type": "String",
]
```
|
|
<String>.additionalCommittedItems.identificationAttempts.hybridEntryCiAttributes
|
Array of CI identifier entry attributes used during this additional CI identification attempt.Data type: Array
Attribute names and types depend on the request body data and the identifier in use, such as:
```
"hybridEntryCiAttributes": [
"name": "String",
"serial_number": "String"
]
```
|
|
<String>.additionalCommittedItems.identificationAttempts.identifierName
|
Identifier rule used for this additional CI identification attempt.Data type: String
|
|
<String>.additionalCommittedItems.identificationAttempts.searchOnTable
|
Name of the table searched for this additional CI identification attempt.Data type: String
|
|
<String>.additionalCommittedItems.identifierEntrySysId
|
Sys\_id for the identifier rule used to identify this additional CI.Notable values - Unknown: Identification of this additional CI failed. See **errors** for details.
|
|
<String>.additionalCommittedItems.inputIndices
|
Index values for CIs from the request body **items** array that correspond to this additional CI.Data type: Array of Numbers
```
"inputIndices": [
{
Number
}
]
```
|
|
<String>.additionalCommittedItems.markers
|
Marker values for internal use.Data type: Array
```
"markers": []
```
|
|
<String>.additionalCommittedItems.mergedPayloads
|
Sys\_id values for partial payloads from the CMDB IRE Partial Payloads \[cmdb\_ire\_partial\_payloads\] table that were merged during processing of this additional CI.Data type: Array
```
"mergedPayloadIds": [
"String"
]
```
|
|
<String>.additionalCommittedItems.operation
|
Operation performed for this additional CI.Data type: String
Possible values:
- DELETE: An existing CI is removed from the target table.
- INSERT: The additional CI is inserted into the target table as a new record.
- NO\_CHANGE: No operation is performed for the additional CI.
- UPDATE: An existing CI in the target table is updated.
- UPDATE\_WITH\_DOWNGRADE: An existing CI in the target table is updated and its class is changed to a more generic class \(ancestor class\).
- UPDATE\_WITH\_SWITCH: An existing CI in the target table is updated and its class is changed to another class which is not an ancestor or descendent class.
- UPDATE\_WITH\_UPGRADE: An existing CI in the target table is updated and its class is changed to a more specialized class \(descendent class\).
|
|
<String>.additionalCommittedItems.sysId
|
Sys\_id found for this additional CI through identification.Data type: String
Notable values - Unknown: Identification of this additional CI failed. See **errors** for details.
|
|
<String>.additionalCommittedItems.warnings
|
Description of warnings encountered while processing this additional CI.Data type: Array of Objects
```
"warnings": [
{
"error": "String",
"message": "String"
}
]
```
|
|
<String>.additionalCommittedItems.warnings.error
|
Type of warning encountered while processing this additional CI.Data type: String
|
|
<String>.additionalCommittedItems.warnings.message
|
Warning message encountered while processing this additional CI.Data type: String
|
|
<String>.additionalCommittedRelations
|
Description of a dependent relationship CI that was not included in the request body **relations** list to insert or update.Data type: Array of Objects
```
"additionalCommittedRelations": [
{
"className": "String",
"inputIndices": [Array],
"markers": [Array],
"mergedPayloadIds": [Array],
"operation": "String"
}
]
```
|
|
<String>.additionalCommittedRelations.className
|
The sys\_class\_name of this additional dependent relationship CI.Data type: String
Only supported value: cmdb\_rel\_ci: The CI Relationship table.
|
|
<String>.additionalCommittedRelations.errorCount
|
Number of errors encountered while processing this additional dependent relationship CI.Data type: Number
|
|
<String>.additionalCommittedRelations.errors
|
Description of the errors encountered while processing this additional dependent relationship CI.Data type: Array of Objects
```
"errors": [
{
"error": "String",
"message": "String"
}
]
```
|
|
<String>.additionalCommittedRelations.errors.error
|
Type of error encountered while processing the additional dependent relationship CI.Data type: String
|
|
<String>.additionalCommittedRelations.errors.message
|
Error message encountered while processing this additional dependent relationship CI.Data type: String
|
|
<String>.additionalCommittedRelations.inputIndices
|
Index values for dependent relationship CI objects in the request body **relations** array that correspond to this additional dependent relationship CI.Data type: Array
```
"inputIndices": [
Number
]
```
|
|
<String>.additionalCommittedRelations.markers
|
Marker values for internal use.Data type: Array
```
"markers": []
```
|
|
<String>.additionalCommittedRelations.mergedPayloadIds
|
Sys\_id values for partial payloads from the CMDB IRE Partial Payloads \[cmdb\_ire\_partial\_payloads\] table that were merged for this CI.that were merged during processing of this additional dependent relationship CI.Data type: Array
```
"mergedPayloadIds": [
"String"
]
```
|
|
<String>.additionalCommittedRelations.operation
|
Operation that was performed for the additional dependent relationship CI.Possible values:
- INSERT: The dependent relationship CI is inserted into the target table as a new record.
- INSERT\_AS\_INCOMPLETE: The dependent relationship CI had errors and is inserted into the CMDB IRE Incomplete Payloads \[cmdb\_ire\_incomplete\_payloads\] table.
- INSERT\_AS\_PARTIAL: The dependent relationship CI had errors and is inserted into the CMDB IRE Partial Payloads \[cmdb\_ire\_partial\_payloads\] table.
- NO\_CHANGE: No operation is performed for the dependent relationship CI.
- UPDATE: An existing dependent relationship CI in the target table is updated.
Data type: String
|
|
<String>.hasError
|
Flag that indicates whether any item or relation has errors.Data type: Boolean
|
|
<String>.hasWarning
|
Flag that indicates whether any item or relation has warnings.Data type: Boolean
|
|
<String>.items
|
Description of the created or updated CIs.Data type: Array of Objects
```
"items": [
{
"additionalRelatedItems": [Array],
"className": "String",
"duplicateIndices": [Array],
"errorCount": Number,
"errors": [Array],
"identificationAttempts": [Array],
"identifierEntrySysId": "String",
"incompleteSysIds": "String",
"info": [Array],
"inputIndices": [Array],
"maskedAttributes": [Array],
"operation": "String",
"partialSysIds": "String",
"relatedItems": [Array],
"relatedSysIds": [Array],
"sysId": "String"
}
]
```
|
|
<String>.items.additionalRelatedItems
|
Information about additional lookup and related items that were processed but not provided as part of the input payload. These items are from partial payloads.Data type: Array of Objects
```
"additionalRelatedItems": [
{
"className": "String",
"inputIndices": [Array],
"mergedPayloadIds": [Array],
"operation": "String",
"sysId": "String"
}
]
```
|
|
<String>.items.additionalRelatedItems.className
|
Class/table name \(sys\_class\_name\) of the CI that was created or updated.Data type: String
|
|
<String>.items.additionalRelatedItems.inputIndices
|
Index values for CIs from the request body **items** array that correspond to this related item.Data type: Array of Numbers
|
|
<String>.items.additionalRelatedItems.mergedPayloadIds
|
List of sys\_ids of the partial payloads that were merged into the related item.Data type: Array
Table: CMDB IRE Partial Payloads \[cmdb\_ire\_partial\_payloads\]
|
|
<String>.items.additionalRelatedItems.operation
|
Type of operation.Possible values:
- INSERT: New CI was inserted into the database.
- NO\_CHANGE: No CI changes were made.
- UPDATE: Existing CI was updated.
Data type: String
|
|
<String>.items.additionalRelatedItems.sysId
|
Sys\_id of the CI that was updated or created.Data type: String
|
|
<String>.items.className
|
Class/table name \(sys\_class\_name\) of the CI that was created or updated.Data type: String
|
|
<String>.items.duplicateIndices
|
List of indexes of CIs that are duplicates of the current item.Data type: Array
|
|
<String>.items.errorCount
|
Number of errors encountered while processing the item.Data type: Number
|
|
<String>.items.errors
|
List of errors encountered while processing this CI.Data type: Array of Objects
```
"errors": [
{
"error": "String",
"message": "String"
}
]
```
|
|
<String>.items.errors.error
|
Type of error encountered while processing the CI.Data type: String
|
|
<String>.items.errors.message
|
Error message associated with the error.Data type: String
|
|
<String>.items.identificationAttempts
|
List of attempts that were made to identify the CIs.Data type: Array of Objects
```
"identificationAttempts": [
{
"attemptResult": "String",
"attributes": [Array],
"hybridEntryCiAttributes": [Array],
"identifierName": "String",
"searchOnTable": "String"
}
]
```
|
|
<String>.items.identificationAttempts.attemptResult
|
Results of the attempt to identify the CI.Possible values:
- MATCHED: Identification succeeded. A unique CI was found in the identifier rule table which exactly matched the specified attributes.
- MULTI\_MATCH: Identification failed with an error. Duplicate CIs were found in the identifier rule table when matching against the specified attributes.
- NO\_MATCH: Identification failed. No CI was found in the identifier rule table which matched the specified attributes.
- SKIPPED: Identification not attempted. The attributes required for this identifier rule table search were not provided, so the rule was not applied.
Data type: String
|
|
<String>.items.identificationAttempts.attributes
|
List of CI identifier entry attributes that were used during the identification process.Data type: Array
Attribute names and types depend on the request body data and the identifier in use, such as:
```
"attributes": [
"serial_number": "String",
"serial_number_type": "String",
]
```
|
|
<String>items.identificationAttempts.hybridEntryCiAttributes
|
List of CI identifier entry attributes that were used during the identification process.Data type: Array
Attribute names and types depend on the request body data and the identifier in use, such as:
```
"hybridEntryCiAttributes": [
"name": "String",
"serial_number": "String"
]
```
|
|
<String>.items.identificationAttempts.identifierName
|
Identifier rule used for this CI identification attempt.Data type: String
|
|
<String>.items.identificationAttempts.searchOnTable
|
Name of the table searched during the identification process.Data type: String
|
|
<String>.items.identifierEntrySysId
|
Sys\_id for the identifier rule used to identify the CI.Data type: String
Table: Identifier Entry \[cmdb\_identifier\_entry\]
|
|
<String>.items.incompleteSysIds
|
If the item had errors and was saved as an incomplete payload, this parameter contains the sys\_id of the record in the CMDB IRE Incomplete Payloads \[cmdb\_ire\_incomplete\_payloads\] table.Data type: String
|
|
<String>.items.info
|
Additional information about the processing of the item.Data type: Array of Objects
```
"info": [
{
"code": "String",
"message": "String",
"ruleSysId": "String"
}
]
```
|
|
<String>.items.info.code
|
Reclassification type that was skipped.Possible values:
- SKIPPED\_CLASS\_DOWNGRADE
- SKIPPED\_CLASS\_SWITCH
- SKIPPED\_CLASS\_UPGRADE
Data type: String
|
|
<String>.items.info.message
|
Message that provides additional insights into the reason for skipping the reclassification.Data type: String
|
|
<String>.items.info.ruleSysId
|
Sys\_id of the reclassification restriction rule that was matched. Applicable only when IRE skips reclassification due to reclassification restriction rule. This value is empty if the reclassification is skipped due to a payload or global flag.Data type: String
|
|
<String>.items.inputIndices
|
Indexes of the corresponding input CI. For top-level items, it is a list of integers. For related or lookup CIs, it is list of JSON objects.Data type: Array of Numbers
|
|
<String>.items.maskedAttributes
|
List of attributes whose update by a non-authoritative data source was skipped as defined by the [Reconciliation Rules](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/create-reconciliation-rule.md).Data type: Array
|
|
<String>.items.operation
|
Operation that took place.Possible values:
- INSERT: New CI was inserted into the database.
- INSERT\_AS\_INCOMPLETE: Item was saved in cmdb\_ire\_incomplete\_payloads table.
- INSERT\_AS\_PARTIAL: Item was saved in cmdb\_ire\_partial\_payloads table.
- UPDATE: Existing CI was updated.
- UPDATE\_WITH\_DOWNGRADE: CI was updated and the class changed to a more generic class \(ancestor class\).
- UPDATE\_WITH\_SWITCH: CI was updated and the class changed to a class that is not ancestor or descendent.
- UPDATE\_WITH\_UPDRADE: CI was updated and the class changed to a more specialized class \(descendent class\).
Data type: String
|
|
<String>.items.partialSysIds
|
If the item had errors and was saved as a partial payload, this parameter contains the sys\_id of the partial payload record. Data type: String
|
|
<String>.items.relatedItems
|
List of JSON objects that describe a related CI \(table lookup CI\) from the request body **items.lookup** array.Data type: Array of Objects
```
"relatedItems": [
{
"className": "String",
"errors": [Array],
"errorCount": Number,
"incompleteSysIds": [Array],
"inputIndices": [Array],
"mergePayloadIds": [Array],
"operation": "String",
"partialSysIds": [Array],
"sysId": "String",
"warningCount": Number,
"warnings": [Array]
}
]
```
|
|
<String>.items.relatedItems.className
|
Class/table name \(sys\_class\_name\) of the related item.Data type: String
|
|
<String>.items.relatedItems.errors
|
List of errors that occurred during processing of the related item.Data type: Array of Objects
```
"errors": [
{
"error": "String",
"message": "String"
}
]
```
|
|
<String>.items.relatedItems.errors.error
|
Type of error encountered while processing the related item.Data type: String
|
|
<String>.items.relatedItems.errors.message
|
Error message associated with the error.Data type: String
|
|
<String>.items.relatedItems.errorCount
|
Number of errors detected while processing the related items.Data type: Number
|
|
<String>.items.relatedItems.incompleteSysIds
|
If the relation had errors and was saved as an incomplete payload, this value is the sys\_id of the record in the CMDB IRE Incomplete Payloads \[cmdb\_ire\_incomplete\_payloads\] table.Data type: String
|
|
<String>.items.relatedItems.inputIndices
|
Index of the corresponding input item. For top-level items, it is a list of integers. For related or lookup items, it is list of JSON objects.Data type: Array of Numbers or Array of Objects
```
"inputIndices": [
{
"mainIndex": Number,
"subIndex": Number
}
]
```
|
|
<String>.items.relatedItems.inputIndices.mainIndex
|
Index value from the request body **items** array that corresponds to the CI parent of the related item. Data type: Number
|
|
<String>.items.relatedItems.inputIndices.subIndex
|
Index value from the request body **items.lookup** array that corresponds to the related item.Data type: Number
|
|
<String>.items.relatedItems.mergedPayloadIds
|
List of sys\_ids of the partial payloads that were merged into the CI during processing.Data type: Array
|
|
<String>.items.relatedItems.operation
|
Operation that took place.Possible values:
- INSERT: New related CI was inserted into the database.
- INSERT\_AS\_INCOMPLETE: Item was saved in cmdb\_ire\_incomplete\_payloads table.
- INSERT\_AS\_PARTIAL: Item was saved in cmdb\_ire\_partial\_payloads table.
- NO\_CHANGE: No related CI changes were made.
- UPDATE: Existing related CI was updated.
- UPDATE\_WITH\_DOWNGRADE: Related CI was updated and the class changed to a more generic class \(ancestor class\).
- UPDATE\_WITH\_SWITCH: Related CI was updated and the class changed to a class that is not ancestor or descendent.
- UPDATE\_WITH\_UPDRADE: Related CI was updated and the class changed to a more specialized class \(descendent class\).
Data type: String
|
|
<String>.items.relatedItems.partialSysIds
|
If the related item had errors and was saved as a partial payload, this contains a list of the sys\_ids of the associated records in the CMDB IRE Partial Payloads \[cmdb\_ire\_partial\_payloads\] table.Data type: Array
|
|
<String>.items.relatedItems.sysId
|
Sys\_id of the related item.Data type: String
|
|
<String>.items.relatedItems.warningCount
|
Number of warnings encountered when processing the related items.Data type: Number
|
|
<String>.items.relatedItems.warnings
|
Description of warnings encountered while processing the related items.Data type: Array of Objects
```
"warnings": [
{
"error": "String",
"message": "String"
}
]
```
|
|
<String>.items.relatedItems.warnings.error
|
Type of warning encountered while processing the related item.Data type: String
|
|
<String>.items.relatedItems.warnings.message
|
Message associated with the warning.Data type: String
|
|
<String>.items.relatedSysIds
|
List of the sys\_id values of the CIs used during lookup-based identification of related items.Data type: String
|
|
<String>.items.sys\_id
|
Sys\_id of the CI that was updated or created.Data type: String
|
|
<String>.relations
|
Description of a dependent relationship CI from the request body **relations** array.Data type: Array of Objects
```
"relations": [
{
"className": "String",
"errorCount": Number,
"errors": [Array],
"incompleteSysIds": "String",
"inputIndices": [Array],
"operation": "String",
"partialSysIds": "String",
"sysId": "String"
}
]
```
|
|
<String>.relations.className
|
Sys\_class\_name of this dependent relationship CI.Only supported value: cmdb\_rel\_ci: CI Relationship table.
Data type: String
|
|
<String>.relations.errorCount
|
Number of errors encountered when processing the dependent relationship CI.Data type: Number
|
|
<String>.relations.errors
|
List that describes errors that were encountered while processing this dependent relationship CI.Data type: Array of Objects
```
"errors": [
{
"error": "String",
"message": "String"
}
]
```
|
|
<String>.relations.errors.error
|
Type of error encountered while processing the dependent relationship CI.Data type: String
|
|
<String>.relations.errors.message
|
Error message encountered while processing this dependent relationship CI.Data type: String
|
|
<String>.relations.incompleteSysIds
|
If the relation had errors and was saved as an incomplete payload, this value is the sys\_id of the record in the CMDB IRE Incomplete Payloads \[cmdb\_ire\_incomplete\_payloads\] table.Data type: String
|
|
<String>.relations.inputIndices
|
Indexes for the dependent relationship CI objects in the request body **relations** array that correspond to this dependent relationship CI.Data type: Array
|
|
<String>.relations.operation
|
Type of operation performed.Possible values:
- INSERT: The dependent relationship CI was inserted into the target table as a new record.
- INSERT\_AS\_INCOMPLETE: The dependent relationship CI had errors and was inserted into the CMDB IRE Incomplete Payloads \[cmdb\_ire\_incomplete\_payloads\] table.
- INSERT\_AS\_PARTIAL: The dependent relationship CI had errors and was inserted into the CMDB IRE Partial Payloads \[cmdb\_ire\_partial\_payloads\] table.
- NO\_CHANGE: No operation was performed.
- UPDATE: An existing dependent relationship CI in the target table was updated.
Data type: String
|
|
<String>.relations.partialSysIds
|
If the relation had errors and was saved as a partial payload, this value is the sys\_id of the record in the CMDB IRE Partial Payloads \[cmdb\_ire\_partial\_payloads\] table.Data type: String
|
|
<String>.relations.sysId
|
Sys\_id of the dependent relationship CI.Data type: String
|
|
<String>.summary
|
List of JSON properties that provide statistics on how many items were inserted, updated, and such, per class.Data type: Array
|
|
<String>.summary.<class\_name>
|
Statistics for a specific class.Data type: Object
```
: {
"additionalInsertedItemCount": Number,
"errorCount": Number,
"incompleteItemCount": Number,
"insertedItemCount": Number,
"partialItemCount": Number,
"skippedItemCount": Number,
"unchangedItemCount": Number,
"updatedItemCount": Number,
"warningCount": Number
}
```
|
|
<String>.summary.<class\_name>.additionalInsertedItemCount
|
Number of items inserted due to processing of partial payloads.Data type: Number
|
|
<String>.summary.<class\_name>.errorCount
|
Number of errors encounter when processing items.Data type: Number
|
|
<String>.summary.<class\_name>.incompleteItemCount
|
Number of items inserted in the CMDB IRE Incomplete Payloads \[cmdb\_ire\_incomplete\_payloads\] table.Data type: Number
|
|
<String>.summary.<class\_name>.insertedItemCount
|
Number of items created.Data type: Number
|
|
<String>.summary.<class\_name>.partialItemCount
|
Number of items saved in the Partial Payload table \[cmdb\_ire\_partial\_payloads\].Data type: Number
|
|
<String>.summary.<class\_name>.skippedItemCount
|
Number of items that were skipped.Data type: Number
|
|
<String>.summary.<class\_name>.unchangedItemCount
|
Number of items that had entries but were not modified.Data type: Number
|
|
<String>.summary.<class\_name>.updatedItemCount
|
Number of items updated.Data type: Number
|
|
<String>.summary.<class\_name>.warningCount
|
Number of items that generated a warning when processed.Data type: Number
|