src/CMDBLocationTree.php
public function read($objectID, $status = null) {
        $params = [
            'id' => $objectID
        ];

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

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

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

        return $this->api->request(
            'cmdb.location_tree.read',
            $params
        );
    }
public function read ( $ objectID , $ status = null ) { $ params = [ 'id' => $ objectID ] ; if ( isset ( $ status ) ) { $ params [ 'status' ] = $ status ; } return $ this -> api -> request ( 'cmdb.location_tree.read' , $ params ) ; }
Reads objects located directly under an object

This method does not run recursively. Use readRecursively() instead.

@param int $objectID Object identifier
@param int $status Filter relations by status: 2 = normal, 3 = archived, 4 = deleted

@return array

@throws Exception on error
Reads objects located directly under an object