invantive-dokumentationen del af invantive cloud
Invantive Support ForumsLog ind / Tilmeld dig

Activities: Pipedrive Activities

insert update delete REST

  • Katalog: Pipedrive
  • Skema: Activities
  • Primærnøgler: id
  • Label: Aktiviteter

Man kan hente og ændre data ved hjælp af insert, update og delete.

Resumé

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-kilde

  • Endepunkt: /activities

Tabelkolonner

Tabellens kolonner Activities er vist nedenfor. Hver kolonne har en SQL-datatype. Der skal til enhver tid angives en ny ikke-null-værdi for hver krævet kolonne under indsætning og opdatering.

Navn Datatype Etiket Krævet Mærker Dokumentation
add_time datetime Oprettelsestidspunkt filters on the platform, writable, computed, add_time The creation date and time of the activity.
attendees varchar2 Deltagere filtre på platformen, skrivbar, attendees The attendees of the activity.
busy char Optaget filtre på platformen, skrivbar, busy Whether the activity marks the assignee as busy or not in their calendar.
conference_meeting_client varchar2 Konference- og møde-klient filters on the platform, writable, computed, conference_meeting_client The client used for the conference meeting.
conference_meeting_id varchar2 Konference-møde-ID filters on the platform, writable, computed, conference_meeting_id The ID of the conference meeting.
conference_meeting_url varchar2 URL til konferencemødet filters on the platform, writable, computed, conference_meeting_url The URL of the conference meeting.
creator_user_id int64 Opretters bruger-ID filters on the platform, writable, computed, creator_user_id The ID of the user who created the activity.
deal_id int64 Aftale-ID filtre på platformen, skrivbar, deal_id The ID of the deal linked to the activity.
done char Færdig filtre på platformen, skrivbar, done Whether the activity is marked as done or not.
due_date datetime Forfaldsdato filtre på platformen, skrivbar, due_date The due date of the activity.
due_time varchar2 Forfaldsdato filtre på platformen, skrivbar, due_time The due time of the activity.
duration varchar2 Varighed filtre på platformen, skrivbar, duration The duration of the activity.
id int64 ID filters on the platform, writable, computed, id The ID of the activity.
is_deleted char Er slettet filters on the platform, writable, computed, is_deleted Whether the activity is deleted or not.
lead_id varchar2 Lead-ID filtre på platformen, skrivbar, lead_id The ID of the lead linked to the activity.
location varchar2 Beliggenhed filtre på platformen, skrivbar, __write_only.location Location of the activity.Only taken when writing; empty when read.
location_admin_area_level_1 varchar2 Placering: Administrationsområde, niveau 1 filtre på platformen, skrivbar, location.admin_area_level_1 Admin area level 1 (e.g. state) of the activity.
location_admin_area_level_2 varchar2 Placering: Administrationsområde, niveau 2 filtre på platformen, skrivbar, location.admin_area_level_2 Admin area level 2 (e.g. county) of the activity.
location_country varchar2 Placering Land filtre på platformen, skrivbar, location.country Country of the activity.
location_locality varchar2 Placering, lokalitet filtre på platformen, skrivbar, location.locality Locality (e.g. city) of the activity.
location_postal_code varchar2 Sted Postnummer filtre på platformen, skrivbar, location.postal_code Postal code of the activity.
location_route varchar2 Placering Rute filtre på platformen, skrivbar, location.route Route (e.g. street) of the activity.
location_street_number varchar2 Adresse Gade Nummer filtre på platformen, skrivbar, location.street_number Street number of the activity.
location_sublocality varchar2 Placering, underområde filtre på platformen, skrivbar, location.sublocality Sublocality (e.g. neighborhood) of the activity.
location_subpremise varchar2 Placering: Underlokale filtre på platformen, skrivbar, location.subpremise Subpremise (e.g. apartment/suite number) of the activity.
location_value varchar2 Placering Værdi filtre på platformen, skrivbar, location.value The full address of the activity.
marked_as_done_time datetime Markeret som færdig – Tid filters on the platform, writable, computed, marked_as_done_time The date and time when the activity was marked as done.
note varchar2 Bemærk filtre på platformen, skrivbar, note The note of the activity.
org_id int64 Organisations-ID filtre på platformen, skrivbar, org_id The ID of the organization linked to the activity.
outcome int64 Resultat filtre på platformen, skrivbar, outcome The ID of the Outcome for the activity.
owner_id int64 Ejernummer filtre på platformen, skrivbar, owner_id The ID of the user who owns the activity.
participants varchar2 Deltagere filtre på platformen, skrivbar, 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 Prioritet filtre på platformen, skrivbar, priority The priority of the activity.
project_id int64 Projekt ID filtre på platformen, skrivbar, project_id The ID of the project linked to the activity.
public_description varchar2 Offentlig beskrivelse filtre på platformen, skrivbar, public_description The public description of the activity.
subject varchar2 Emne filtre på platformen, skrivbar, subject The subject of the activity.
type varchar2 Type filtre på platformen, skrivbar, type The type of the activity.
update_time datetime Seneste opdateringstidspunkt filters on the platform, writable, computed, update_time The last updated date and time of the activity.

Nøgler

Nøgle Kolonne Henviser til Art Beskrivelse
Activities_creator_user_id_fk creator_user_id Users.id Nøgle
Activities_deal_id_ArchivedDeals_txt deal_id ArchivedDeals.id Tekstmæssigt 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 Tekstmæssigt 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 Tekstmæssigt The lead, in Leads or, once archived, in ArchivedLeads.
Activities_lead_id_Leads_txt lead_id Leads.id Tekstmæssigt The lead, in Leads or, once archived, in ArchivedLeads.
Activities_org_id_fk org_id Organizations.id Nøgle
Activities_owner_id_fk owner_id Users.id Nøgle
Activities_person_id_fk person_id Persons.id Nøgle
Activities_project_id_ArchivedProjects_txt project_id ArchivedProjects.id Tekstmæssigt The project, in Projects or, once archived, in ArchivedProjects.
Activities_project_id_Projects_txt project_id Projects.id Tekstmæssigt The project, in Projects or, once archived, in ArchivedProjects.
Activities_type_fk type ActivityTypes.key_string Nøgle

Henvist til af

Eksempler på Query

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