Method: getTargetByNameAndType

Return target based on the object ID name and type.

Parameters

Name Type Description
objectIDName string Object ID name
objectType string Object type

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

Execute the following web service with a browser:

https://192.168.30.34:8443/axis/services/Reporting/getTargetByNameAndType?objectIDName=192.168.10.250&objectType=HWC