Method: addOrModifyTarget

Add or update a target.

Parameters

Name Type Description
objectID string Target object ID
objectSubID string Target object sub ID
description string Description of target
tags string Optional field for collector specific values

Returns

Returns a RptResultTarget with a structure defined by the following table.

Name Type Description
errorMessage string Error message in readable text
returnCode int Web service error code, 0 if the operation is successful
success boolean Displays True if the operation occurred successfully
target Target Updated target

Example