invantive documentation
Invantive Support ForumsLog In / Sign Up

Activities: Pipedrive Activities

insert update delete REST

  • Catalog: Pipedrive
  • Schema: Activities
  • Primary Keys: id
  • Label: Activities

Can retrieve data and change data using insert, update and delete.

Summary

The activities: calls, meetings, tasks and other things to do, linked to deals, leads, persons, organizations and projects. Each request costs 10 tokens of the daily budget of the company.

API Source

  • Endpoint: /activities

Table Columns

The columns of the table Activities are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
add_time datetime Creation Time filters on the platform, writable, computed, add_time The creation date and time of the activity.
attendees varchar2 Attendees filters on the platform, writable, attendees The attendees of the activity.
busy char Busy filters on the platform, writable, busy Whether the activity marks the assignee as busy or not in their calendar.
conference_meeting_client varchar2 Conference Meeting Client filters on the platform, writable, computed, conference_meeting_client The client used for the conference meeting.
conference_meeting_id varchar2 Conference Meeting ID filters on the platform, writable, computed, conference_meeting_id The ID of the conference meeting.
conference_meeting_url varchar2 Conference Meeting URL filters on the platform, writable, computed, conference_meeting_url The URL of the conference meeting.
creator_user_id int64 Creator User ID filters on the platform, writable, computed, creator_user_id The ID of the user who created the activity.
deal_id int64 Deal ID filters on the platform, writable, deal_id The ID of the deal linked to the activity.
done char Done filters on the platform, writable, done Whether the activity is marked as done or not.
due_date datetime Due Date filters on the platform, writable, due_date The due date of the activity.
due_time varchar2 Due Time filters on the platform, writable, due_time The due time of the activity.
duration varchar2 Duration filters on the platform, writable, duration The duration of the activity.
id int64 ID filters on the platform, writable, computed, id The ID of the activity.
is_deleted char Is Deleted filters on the platform, writable, computed, is_deleted Whether the activity is deleted or not.
lead_id varchar2 Lead ID filters on the platform, writable, lead_id The ID of the lead linked to the activity.
location varchar2 Location filters on the platform, writable, __write_only.location Location of the activity. Only taken when writing; empty when read.
location_admin_area_level_1 varchar2 Location Admin Area Level 1 filters on the platform, writable, location.admin_area_level_1 Admin area level 1 (e.g. state) of the activity.
location_admin_area_level_2 varchar2 Location Admin Area Level 2 filters on the platform, writable, location.admin_area_level_2 Admin area level 2 (e.g. county) of the activity.
location_country varchar2 Location Country filters on the platform, writable, location.country Country of the activity.
location_locality varchar2 Location Locality filters on the platform, writable, location.locality Locality (e.g. city) of the activity.
location_postal_code varchar2 Location Postal Code filters on the platform, writable, location.postal_code Postal code of the activity.
location_route varchar2 Location Route filters on the platform, writable, location.route Route (e.g. street) of the activity.
location_street_number varchar2 Location Street Number filters on the platform, writable, location.street_number Street number of the activity.
location_sublocality varchar2 Location Sublocality filters on the platform, writable, location.sublocality Sublocality (e.g. neighborhood) of the activity.
location_subpremise varchar2 Location Subpremise filters on the platform, writable, location.subpremise Subpremise (e.g. apartment/suite number) of the activity.
location_value varchar2 Location Value filters on the platform, writable, location.value The full address of the activity.
marked_as_done_time datetime Marked as Done Time filters on the platform, writable, computed, marked_as_done_time The date and time when the activity was marked as done.
note varchar2 Note filters on the platform, writable, note The note of the activity.
org_id int64 Organization ID filters on the platform, writable, org_id The ID of the organization linked to the activity.
outcome int64 Outcome filters on the platform, writable, outcome The ID of the Outcome for the activity.
owner_id int64 Owner ID filters on the platform, writable, owner_id The ID of the user who owns the activity.
participants varchar2 Participants filters on the platform, writable, participants The participants of the activity.
person_id int64 Person ID filters on the platform, writable, computed, person_id The ID of the person linked to the activity.
priority int64 Priority filters on the platform, writable, priority The priority of the activity.
project_id int64 Project ID filters on the platform, writable, project_id The ID of the project linked to the activity.
public_description varchar2 Public Description filters on the platform, writable, public_description The public description of the activity.
subject varchar2 Subject filters on the platform, writable, subject The subject of the activity.
type varchar2 Type filters on the platform, writable, type The type of the activity.
update_time datetime Last Update Time filters on the platform, writable, computed, update_time The last updated date and time of the activity.

Keys

Key Column Refers to Kind Description
Activities_creator_user_id_fk creator_user_id Users.id Key
Activities_deal_id_ArchivedDeals_txt deal_id ArchivedDeals.id Textual The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
Activities_deal_id_Deals_txt deal_id Deals.id Textual The deal, in Deals or, once archived, in ArchivedDeals; a deleted deal stays readable for 30 days with status 'deleted'.
Activities_lead_id_ArchivedLeads_txt lead_id ArchivedLeads.id Textual The lead, in Leads or, once archived, in ArchivedLeads.
Activities_lead_id_Leads_txt lead_id Leads.id Textual The lead, in Leads or, once archived, in ArchivedLeads.
Activities_org_id_fk org_id Organizations.id Key
Activities_owner_id_fk owner_id Users.id Key
Activities_person_id_fk person_id Persons.id Key
Activities_project_id_ArchivedProjects_txt project_id ArchivedProjects.id Textual The project, in Projects or, once archived, in ArchivedProjects.
Activities_project_id_Projects_txt project_id Projects.id Textual The project, in Projects or, once archived, in ArchivedProjects.
Activities_type_fk type ActivityTypes.key_string Key

Referenced By

Sample Queries

select act.subject
,      act.type
,      act.due_date
,      act.due_time
from   Pipedrive.Activities.Activities act
where  act.done = false
and    act.due_date < trunc(sysdateutc) + 7