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_ |
datetime |
Doba vzniku | filters on the platform, writable, computed, add_ |
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_ |
varchar2 |
Klient pro konferenční schůzky | filters on the platform, writable, computed, conference_ |
The client used for the conference meeting. | |
conference_ |
varchar2 |
Identifikační číslo konference | filters on the platform, writable, computed, conference_ |
The ID of the conference meeting. | |
conference_ |
varchar2 |
URL konference | filters on the platform, writable, computed, conference_ |
The URL of the conference meeting. | |
creator_ |
int64 |
ID uživatele tvůrce | filters on the platform, writable, computed, creator_ |
The ID of the user who created the activity. | |
deal_ |
int64 |
ID transakce | filtry na platformě, zapisovatelné, deal_ |
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_ |
datetime |
Datum Splatnosti | filtry na platformě, zapisovatelné, due_ |
The due date of the activity. | |
due_ |
varchar2 |
Termín splatnosti | filtry na platformě, zapisovatelné, due_ |
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_ |
char |
Je smazáno | filters on the platform, writable, computed, is_ |
Whether the activity is deleted or not. | |
lead_ |
varchar2 |
Identifikační číslo olova | filtry na platformě, zapisovatelné, lead_ |
The ID of the lead linked to the activity. | |
location |
varchar2 |
Poloha | filtry na platformě, zapisovatelné, _ |
Location of the activity.Only taken when writing; empty when read. | |
location_ |
varchar2 |
Umístění: Administrativní oblast, úroveň 1 | filtry na platformě, zapisovatelné, location. |
Admin area level 1 (e.g. state) of the activity. | |
location_ |
varchar2 |
Umístění: Administrativní oblast, úroveň 2 | filtry na platformě, zapisovatelné, location. |
Admin area level 2 (e.g. county) of the activity. | |
location_ |
varchar2 |
Umístění Země | filtry na platformě, zapisovatelné, location. |
Country of the activity. | |
location_ |
varchar2 |
Umístění, obec | filtry na platformě, zapisovatelné, location. |
Locality (e.g. city) of the activity. | |
location_ |
varchar2 |
Místo PSČ | filtry na platformě, zapisovatelné, location. |
Postal code of the activity. | |
location_ |
varchar2 |
Trasa k místu | filtry na platformě, zapisovatelné, location. |
Route (e.g. street) of the activity. | |
location_ |
varchar2 |
Místo, ulice, číslo domu | filtry na platformě, zapisovatelné, location. |
Street number of the activity. | |
location_ |
varchar2 |
Lokalita, podlokalita | filtry na platformě, zapisovatelné, location. |
Sublocality (e.g. neighborhood) of the activity. | |
location_ |
varchar2 |
Umístění – vedlejší prostory | filtry na platformě, zapisovatelné, location. |
Subpremise (e.g. apartment/suite number) of the activity. | |
location_ |
varchar2 |
Hodnota polohy | filtry na platformě, zapisovatelné, location. |
The full address of the activity. | |
marked_ |
datetime |
Označeno jako hotové Čas | filters on the platform, writable, computed, marked_ |
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_ |
int64 |
ID majitele | filtry na platformě, zapisovatelné, owner_ |
The ID of the user who owns the activity. | |
participants |
varchar2 |
Účastníci | filtry na platformě, zapisovatelné, participants |
The participants of the activity. | |
person_ |
int64 |
Identifikační číslo osoby | filters on the platform, writable, computed, person_ |
The ID of the person linked to the activity. | |
priority |
int64 |
Priorita | filtry na platformě, zapisovatelné, priority |
The priority of the activity. | |
project_ |
int64 |
ID Projektu | filtry na platformě, zapisovatelné, project_ |
The ID of the project linked to the activity. | |
public_ |
varchar2 |
Veřejný popis | filtry na platformě, zapisovatelné, public_ |
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_ |
datetime |
Čas poslední aktualizace | filters on the platform, writable, computed, update_ |
The last updated date and time of the activity. |
Klíče
| Klíč | Sloupec | Vztahuje se k | Druh | Popis |
|---|---|---|---|---|
Activities_ |
creator_ |
Users.id |
Klíč | |
Activities_ |
deal_ |
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_ |
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_ |
ArchivedLeads.id |
Textové | The lead, in Leads or, once archived, in ArchivedLeads. |
Activities_ |
lead_ |
Leads.id |
Textové | The lead, in Leads or, once archived, in ArchivedLeads. |
Activities_ |
org_id |
Organizations.id |
Klíč | |
Activities_ |
owner_ |
Users.id |
Klíč | |
Activities_ |
person_ |
Persons.id |
Klíč | |
Activities_ |
project_ |
ArchivedProjects.id |
Textové | The project, in Projects or, once archived, in ArchivedProjects. |
Activities_ |
project_ |
Projects.id |
Textové | The project, in Projects or, once archived, in ArchivedProjects. |
Activities_ |
type |
ActivityTypes. |
Klíč |
Odkazuje na
- CallLogs
activity_id(Key) - Leads
next_activity_id(Key) - Files
activity_id(Key) - RecentChangesBySinceTimestamp
id(textový)
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