Pinvoice / pipedrive-php-api

PHP API for Pipedrive. Currently supports READ-ONLY requests.
MIT License
6 stars 7 forks source link

Add ActivityTypes #2

Closed melvinsh closed 10 years ago

melvinsh commented 10 years ago

ActivityTypes represent different kinds of activities that can be stored. Each ActivityType is presented to the user with an icon and a name. Additionally, a color can be defined (not implemented in the Pipedrive app as of today). ActivityTypes are linked to Activities via ActivityType.key_string = Activity.type. The key_string will be generated by the API based on the given name of the ActivityType upon creation, and cannot be changed. ActivityTypes should be presented to the user in an ordered manner, using the ActivityType.order_nr value.

GET Get all activity types/activityTypes POST Add new activity type/activityTypes PUT Edit activity type/activityTypes/:id DELETE Delete an activity type/activityTypes/:id DELETE Delete multiple activity types in bulk/activityTypes

melvinsh commented 10 years ago

Moved to #1