Back to Pipedrive OauthAdd new activity type
Adds a new activity type.
Input
type: object
properties:
data:
title: addActivityTypeRequest
type: object
required:
- name
- icon_key
properties:
name:
type: string
example: call
description: The name of the activity type
icon_key:
type: string
description: Icon graphic to use for representing this activity type
enum:
- task
- email
- meeting
- deadline
- call
- lunch
- calendar
- downarrow
- document
- smartphone
- camera
- scissors
- cogs
- bubble
- uparrow
- checkbox
- signpost
- shuffle
- addressbook
- linegraph
- picture
- car
- world
- search
- clip
- sound
- brush
- key
- padlock
- pricetag
- suitcase
- finish
- plane
- loop
- wifi
- truck
- cart
- bulb
- bell
- presentation
color:
type: string
example: FFFFFF
description: >-
A designated color for the activity type in 6-character HEX format
(e.g. `FFFFFF` for white, `000000` for black)
Output
title: createUpdateDeleteActivityTypeResponse200
type: object
properties:
success:
type: boolean
description: If the response is successful or not
data:
type: object
properties:
id:
type: integer
description: The ID of the activity type
name:
type: string
description: The name of the activity type
icon_key:
type: string
description: Icon graphic to use for representing this activity type
enum:
- task
- email
- meeting
- deadline
- call
- lunch
- calendar
- downarrow
- document
- smartphone
- camera
- scissors
- cogs
- bubble
- uparrow
- checkbox
- signpost
- shuffle
- addressbook
- linegraph
- picture
- car
- world
- search
- clip
- sound
- brush
- key
- padlock
- pricetag
- suitcase
- finish
- plane
- loop
- wifi
- truck
- cart
- bulb
- bell
- presentation
color:
type: string
description: >-
A designated color for the activity type in 6-character HEX format
(e.g. `FFFFFF` for white, `000000` for black)
order_nr:
type: integer
description: >-
An order number for the activity type. Order numbers should be used to
order the types in the activity type selections.
key_string:
type: string
description: >-
A string that is generated by the API based on the given name of the
activity type upon creation
active_flag:
type: boolean
description: The active flag of the activity type
is_custom_flag:
type: boolean
description: Whether the activity type is a custom one or not
add_time:
type: string
format: datetime
description: The creation time of the activity type
update_time:
type: string
format: datetime
description: The update time of the activity type