tcms.rpc.api.product module

XML-RPC Product.create(values)

Create a new Product object and store it in the database.

Parameters:values (dict) – Field values for
Returns:Serialized object
Return type:dict
Raises:PermissionDenied if missing management.add_product permission
XML-RPC Product.filter(query)

Perform a search and return the resulting list of products.

Parameters:query (dict) – Field lookups for
Returns:Serialized list of objects
Return type:dict


# Get all of products named 'Red Hat Enterprise Linux 5'
>>> Product.filter({'name': 'Red Hat Enterprise Linux 5'})