src/CMDBObjectTypeCategories.php
public function batchReadByID(array $objectTypeIDs) {
        $requests = [];

        foreach ($objectTypeIDs as $objectTypeID) {
            $requests[] = [
                'method' => 'cmdb.object_type_categories.read',
                'params' => [
                    'type' => $objectTypeID
                ]
            ];
        }

        return $this->api->batchRequest($requests);
    }
public function batchReadByID(array $objectTypeIDs) {
        $requests = [];

        foreach ($objectTypeIDs as $objectTypeID) {
            $requests[] = [
                'method' => 'cmdb.object_type_categories.read',
                'params' => [
                    'type' => $objectTypeID
                ]
            ];
        }

        return $this->api->batchRequest($requests);
    }
public function batchReadByID ( array $ objectTypeIDs ) { $ requests = [ ] ; foreach ( $ objectTypeIDs as $ objectTypeID ) { $ requests [ ] = [ 'method' => 'cmdb.object_type_categories.read' , 'params' => [ 'type' => $ objectTypeID ] ] ; } return $ this -> api -> batchRequest ( $ requests ) ; }
Fetches assigned categories for one or more objects types at once identified by their identifiers

@param array $objectTypeIDs List of object types identifiers as integers

@return array

@throws Exception on error
Fetches assigned categories for one or more objects types at once identified by their identifiers