dokumentace k produktu Invantivesoučást invantive cloud
Fóra podpory InvantivePřihlásit se/ Zaregistrujte se

Activities: Pipedrive Activities

insert update delete REST

  • Katalog: Pipedrive
  • Schéma: Activities
  • Primární klíče: id
  • Popisek: Aktivity

Pomocí insert, update a delete lze načítat a měnit data.

Shrnutí

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.

Zdroj API

  • Koncový bod: /activities

Sloupce tabulky

Sloupce tabulky Activities jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).

Jméno Datový typ Štítek Vyžadováno Značky Dokumentace
add_time datetime Doba vzniku filters on the platform, writable, computed, add_time The creation date and time of the activity.
attendees varchar2 Účastníci filtry na platformě, zapisovatelné, attendees The attendees of the activity.
busy char Zaneprázdněný filtry na platformě, zapisovatelné, busy Whether the activity marks the assignee as busy or not in their calendar.
conference_meeting_client varchar2 Klient pro konferenční schůzky filters on the platform, writable, computed, conference_meeting_client The client used for the conference meeting.
conference_meeting_id varchar2 Identifikační číslo konference filters on the platform, writable, computed, conference_meeting_id The ID of the conference meeting.
conference_meeting_url varchar2 URL konference filters on the platform, writable, computed, conference_meeting_url The URL of the conference meeting.
creator_user_id int64 ID uživatele tvůrce filters on the platform, writable, computed, creator_user_id The ID of the user who created the activity.
deal_id int64 ID transakce filtry na platformě, zapisovatelné, deal_id The ID of the deal linked to the activity.
done char Hotovo filtry na platformě, zapisovatelné, done Whether the activity is marked as done or not.
due_date datetime Datum Splatnosti filtry na platformě, zapisovatelné, due_date The due date of the activity.
due_time varchar2 Termín splatnosti filtry na platformě, zapisovatelné, due_time The due time of the activity.
duration varchar2 Doba trvání filtry na platformě, zapisovatelné, duration The duration of the activity.
id int64 ID filters on the platform, writable, computed, id The ID of the activity.
is_deleted char Je smazáno filters on the platform, writable, computed, is_deleted Whether the activity is deleted or not.
lead_id varchar2 Identifikační číslo olova filtry na platformě, zapisovatelné, lead_id The ID of the lead linked to the activity.
location varchar2 Poloha filtry na platformě, zapisovatelné, __write_only.location Location of the activity.Only taken when writing; empty when read.
location_admin_area_level_1 varchar2 Umístění: Administrativní oblast, úroveň 1 filtry na platformě, zapisovatelné, location.admin_area_level_1 Admin area level 1 (e.g. state) of the activity.
location_admin_area_level_2 varchar2 Umístění: Administrativní oblast, úroveň 2 filtry na platformě, zapisovatelné, location.admin_area_level_2 Admin area level 2 (e.g. county) of the activity.
location_country varchar2 Umístění Země filtry na platformě, zapisovatelné, location.country Country of the activity.
location_locality varchar2 Umístění, obec filtry na platformě, zapisovatelné, location.locality Locality (e.g. city) of the activity.
location_postal_code varchar2 Místo PSČ filtry na platformě, zapisovatelné, location.postal_code Postal code of the activity.
location_route varchar2 Trasa k místu filtry na platformě, zapisovatelné, location.route Route (e.g. street) of the activity.
location_street_number varchar2 Místo, ulice, číslo domu filtry na platformě, zapisovatelné, location.street_number Street number of the activity.
location_sublocality varchar2 Lokalita, podlokalita filtry na platformě, zapisovatelné, location.sublocality Sublocality (e.g. neighborhood) of the activity.
location_subpremise varchar2 Umístění – vedlejší prostory filtry na platformě, zapisovatelné, location.subpremise Subpremise (e.g. apartment/suite number) of the activity.
location_value varchar2 Hodnota polohy filtry na platformě, zapisovatelné, location.value The full address of the activity.
marked_as_done_time datetime Označeno jako hotové Čas filters on the platform, writable, computed, marked_as_done_time The date and time when the activity was marked as done.
note varchar2 Poznámka filtry na platformě, zapisovatelné, note The note of the activity.
org_id int64 Identifikační číslo organizace filtry na platformě, zapisovatelné, org_id The ID of the organization linked to the activity.
outcome int64 Výsledek filtry na platformě, zapisovatelné, outcome The ID of the Outcome for the activity.
owner_id int64 ID majitele filtry na platformě, zapisovatelné, owner_id The ID of the user who owns the activity.
participants varchar2 Účastníci filtry na platformě, zapisovatelné, participants The participants of the activity.
person_id int64 Identifikační číslo osoby filters on the platform, writable, computed, person_id The ID of the person linked to the activity.
priority int64 Priorita filtry na platformě, zapisovatelné, priority The priority of the activity.
project_id int64 ID Projektu filtry na platformě, zapisovatelné, project_id The ID of the project linked to the activity.
public_description varchar2 Veřejný popis filtry na platformě, zapisovatelné, public_description The public description of the activity.
subject varchar2 Předmět filtry na platformě, zapisovatelné, subject The subject of the activity.
type varchar2 Typ filtry na platformě, zapisovatelné, type The type of the activity.
update_time datetime Čas poslední aktualizace filters on the platform, writable, computed, update_time The last updated date and time of the activity.

Klíče

Klíč Sloupec Vztahuje se k Druh Popis
Activities_creator_user_id_fk creator_user_id Users.id Klíč
Activities_deal_id_ArchivedDeals_txt deal_id ArchivedDeals.id Textové 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 Textové 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 Textové The lead, in Leads or, once archived, in ArchivedLeads.
Activities_lead_id_Leads_txt lead_id Leads.id Textové The lead, in Leads or, once archived, in ArchivedLeads.
Activities_org_id_fk org_id Organizations.id Klíč
Activities_owner_id_fk owner_id Users.id Klíč
Activities_person_id_fk person_id Persons.id Klíč
Activities_project_id_ArchivedProjects_txt project_id ArchivedProjects.id Textové The project, in Projects or, once archived, in ArchivedProjects.
Activities_project_id_Projects_txt project_id Projects.id Textové The project, in Projects or, once archived, in ArchivedProjects.
Activities_type_fk type ActivityTypes.key_string Klíč

Odkazuje na

Příklad 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