Deal Category

Requires Pro Edition and CRM plugin >= 3.3.0.

Manager

All operations on the DealCategory resource are provided by it’s manager. To get access to it you have to call redmine.deal_category where redmine is a configured redmine object. See the Configuration about how to configure redmine object.

Create methods

Not supported by CRM plugin

Read methods

get

Not supported by CRM plugin

all

Not supported by CRM plugin

filter

redminelib.managers.ResourceManager.filter(**filters)

Returns DealCategory resources that match the given lookup parameters.

Parameters:
  • project_id (int or string) – (required). Id or identifier of deal category’s project.
  • limit (int) – (optional). How much resources to return.
  • offset (int) – (optional). Starting from what resource to return the other resources.
Returns:

ResourceSet object

>>> categories = redmine.deal_category.filter(project_id='vacation')
>>> categories
<redminelib.resultsets.ResourceSet object with DealCategory resources>

Hint

You can also get deal categories from a Project resource object directly using deal_categories relation:

>>> project = redmine.project.get('vacation')
>>> project.deal_categories
<redminelib.resultsets.ResourceSet object with DealCategory resources>

Update methods

Not supported by CRM plugin

Delete methods

Not supported by CRM plugin

Export

Not supported by CRM plugin