addCIsAndRelations

The addCIsAndRelations method adds or updates CIs and relations.

If the CIs or relations do not exist in the CMDB, they are added and their properties are set according to the contents of the CIsAndRelationsUpdates argument.

If the CIs or relations do exist in the CMDB, they are updated with the new data, if updateExisting is true.

If updateExisting is false, CIsAndRelationsUpdates cannot reference existing configuration items or relations. Any attempt to reference existing items when updateExisting is false results in an exception.

If updateExisting is true, the add or update operation is performed without validating the CIs, regardless of the value of ignoreValidation.

If updateExisiting is false and ignoreValidation is true, the add operation is performed without validating the CIs.

If updateExisiting is false and ignoreValidation is false, the CIs are validated before the add operation.

Relations are never validated.

CreatedIDsMap is a map or dictionary of type ClientIDToCmdbID that connects the client's temporary IDs with the corresponding real CMDB IDs. For details, see the schema documentation for ClientIDToCmdbID.

See the "Update Example".