src/CMDBImpact.php
public function readByTypes($objectID, array $relationTypes, $status = null) {
        $params = [
            'id' => $objectID,
            'relation_type' => $relationTypes
        ];

        if (isset($status)) {
            $params['status'] = $status;
        }

        return $this->api->request(
            'cmdb.impact.read',
            $params
        );
    }
public function readByTypes($objectID, array $relationTypes, $status = null) {
        $params = [
            'id' => $objectID,
            'relation_type' => $relationTypes
        ];

        if (isset($status)) {
            $params['status'] = $status;
        }

        return $this->api->request(
            'cmdb.impact.read',
            $params
        );
    }
public function readByTypes ( $ objectID , array $ relationTypes , $ status = null ) { $ params = [ 'id' => $ objectID , 'relation_type' => $ relationTypes ] ; if ( isset ( $ status ) ) { $ params [ 'status' ] = $ status ; } return $ this -> api -> request ( 'cmdb.impact.read' , $ params ) ; }
Perform an impact analysis for a specific object by one ore more relation type constant or identifiers

@param int $objectID Object identifier
@param array $relationTypes List of relation type constants as strings or identifiers as integers
@param int $status Filter relations by status: 2 = normal, 3 = archived, 4 = deleted

@return array

@throws Exception on error
Perform an impact analysis for a specific object by one ore more relation type constant or identifiers