Canot read C__CMDB__SUBCAT__STORAGE__DEVICE



  • Hi There,

    i am not able to read a value of type Storage Device:

    The Request is the following:

    Array
    (
        [method] => cmdb.category.read
        [params] => Array
            (
                [apikey] => jcmcidaut
                [objID] => 635
                [category] => C__CMDB__SUBCAT__STORAGE__DEVICE
                [language] => en
            )
    
        [id] => 14
        [version] => 2.0
    )
    

    Response is

    Array
    (
        [jsonrpc] => 2.0
        [error] => Array
            (
                [code] => -32602
                [message] => Invalid parameters
                [data] => Array
                    (
                        [error] => Unable to find desired category with ID "43". Please check the delivered category ID and try again
                    )
    
            )
    
        [id] => 0
    )[/code]
    
    If I dig a little deeper i find that it fails in function prepare in file src/classes/api/model/cmdb/isys_api_model_cmdb_category.class.php because the value of $p_params[customID] is somehow set. This is not correct because C__CMDB__SUBCAT__STORAGE__DEVICE is no custom Class.
    

 


Datenschutz / Privacy Policy