---
title: "Activities (Pipedrive)"
description: "Toiminta"
language: fi
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/fi/datamodels/pipedrive/Pipedrive.Activities.Activities
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Activities.Activities
updated: 2026-12-04T19:54:43Z
license: https://documentation.invantive.eu/fi/
---

# Activities: Pipedrive Activities

`insert` `update` `delete` `REST`

- Luettelo: `Pipedrive`
- Kaavio: `Activities`
- Ensisijaiset avaimet: `id`
- Nimike: Aktiviteetit

Voi hakea ja muokata tietoja käyttämällä `insert`, `update` ja `delete`.

## Yhteenveto

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-lähde

- Päätepiste: `/activities`

## Taulukon sarakkeet

Taulukon `Activities` sarakkeet on esitetty alla. Jokaisella sarakkeella on oma SQL-tietotyyppinsä. Jokaiselle pakolliselle sarakkeelle on annettava uusi, nollasta poikkeava arvo aina, kun suoritetaan lisäys- tai päivitystoiminto.

| Nimi | Tietotyyppi | Etiketti | Tarvitaan | Merkit | Dokumentaatio |
|---|---|---|:---:|---|---|
| `add_time` | `datetime` | Luomisaika | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `add_time` | The creation date and time of the activity. |
| `attendees` | `varchar2` | Osallistujat | [ ] | alustan suodattimet, kirjoitettavissa, `attendees` | The attendees of the activity. |
| `busy` | `char` | Varattu | [ ] | alustan suodattimet, kirjoitettavissa, `busy` | Whether the activity marks the assignee as busy or not in their calendar. |
| `conference_meeting_client` | `varchar2` | Konferenssi- ja kokousasiakas | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `conference_meeting_client` | The client used for the conference meeting. |
| `conference_meeting_id` | `varchar2` | Konferenssin kokous-ID | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `conference_meeting_id` | The ID of the conference meeting. |
| `conference_meeting_url` | `varchar2` | Konferenssin kokouksen URL-osoite | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `conference_meeting_url` | The URL of the conference meeting. |
| `creator_user_id` | `int64` | Luoja-käyttäjätunnus | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `creator_user_id` | The ID of the user who created the activity. |
| `deal_id` | `int64` | Kaupan tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `deal_id` | The ID of the deal linked to the activity. |
| `done` | `char` | Valmis | [ ] | alustan suodattimet, kirjoitettavissa, `done` | Whether the activity is marked as done or not. |
| `due_date` | `datetime` | Eräpäivä | [ ] | alustan suodattimet, kirjoitettavissa, `due_date` | The due date of the activity. |
| `due_time` | `varchar2` | Määräaika | [ ] | alustan suodattimet, kirjoitettavissa, `due_time` | The due time of the activity. |
| `duration` | `varchar2` | Kesto | [ ] | alustan suodattimet, kirjoitettavissa, `duration` | The duration of the activity. |
| `id` | `int64` | ID | [x] | suodattaa alustalla, kirjoitettava, laskettu, `id` | The ID of the activity. |
| `is_deleted` | `char` | On poistettu | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `is_deleted` | Whether the activity is deleted or not. |
| `lead_id` | `varchar2` | Johtotunnus | [ ] | alustan suodattimet, kirjoitettavissa, `lead_id` | The ID of the lead linked to the activity. |
| `location` | `varchar2` | Sijainti | [ ] | alustan suodattimet, kirjoitettavissa, `__write_only.location` | Location of the activity.Otetaan huomioon vain kirjoitettaessa; tyhjä luettaessa. |
| `location_admin_area_level_1` | `varchar2` | Sijainti: Hallintoalue, taso 1 | [ ] | alustan suodattimet, kirjoitettavissa, `location.admin_area_level_1` | Admin area level 1 (e.g. state) of the activity. |
| `location_admin_area_level_2` | `varchar2` | Sijainti: Hallintoalue, taso 2 | [ ] | alustan suodattimet, kirjoitettavissa, `location.admin_area_level_2` | Admin area level 2 (e.g. county) of the activity. |
| `location_country` | `varchar2` | Sijainti Maa | [ ] | alustan suodattimet, kirjoitettavissa, `location.country` | Country of the activity. |
| `location_locality` | `varchar2` | Sijainti Paikkakunta | [ ] | alustan suodattimet, kirjoitettavissa, `location.locality` | Locality (e.g. city) of the activity. |
| `location_postal_code` | `varchar2` | Paikkakunta Postinumero | [ ] | alustan suodattimet, kirjoitettavissa, `location.postal_code` | Postal code of the activity. |
| `location_route` | `varchar2` | Sijainti Reitti | [ ] | alustan suodattimet, kirjoitettavissa, `location.route` | Route (e.g. street) of the activity. |
| `location_street_number` | `varchar2` | Paikkakunta Katu Numero | [ ] | alustan suodattimet, kirjoitettavissa, `location.street_number` | Street number of the activity. |
| `location_sublocality` | `varchar2` | Paikkakunta, osa-alue | [ ] | alustan suodattimet, kirjoitettavissa, `location.sublocality` | Sublocality (e.g. neighborhood) of the activity. |
| `location_subpremise` | `varchar2` | Sijainti: Alatila | [ ] | alustan suodattimet, kirjoitettavissa, `location.subpremise` | Subpremise (e.g. apartment/suite number) of the activity. |
| `location_value` | `varchar2` | Sijaintiarvo | [ ] | alustan suodattimet, kirjoitettavissa, `location.value` | The full address of the activity. |
| `marked_as_done_time` | `datetime` | Merkitty valmiiksi Aika | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `marked_as_done_time` | The date and time when the activity was marked as done. |
| `note` | `varchar2` | Huomautus | [ ] | alustan suodattimet, kirjoitettavissa, `note` | The note of the activity. |
| `org_id` | `int64` | Organisaation tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `org_id` | The ID of the organization linked to the activity. |
| `outcome` | `int64` | Tulos | [ ] | alustan suodattimet, kirjoitettavissa, `outcome` | The ID of the Outcome for the activity. |
| `owner_id` | `int64` | Omistajan tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `owner_id` | The ID of the user who owns the activity. |
| `participants` | `varchar2` | Osallistujat | [ ] | alustan suodattimet, kirjoitettavissa, `participants` | The participants of the activity. |
| `person_id` | `int64` | Henkilötunnus | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `person_id` | The ID of the person linked to the activity. |
| `priority` | `int64` | Prioriteetti | [ ] | alustan suodattimet, kirjoitettavissa, `priority` | The priority of the activity. |
| `project_id` | `int64` | Projektin tunnus | [ ] | alustan suodattimet, kirjoitettavissa, `project_id` | The ID of the project linked to the activity. |
| `public_description` | `varchar2` | Julkinen kuvaus | [ ] | alustan suodattimet, kirjoitettavissa, `public_description` | The public description of the activity. |
| `subject` | `varchar2` | Aihe | [ ] | alustan suodattimet, kirjoitettavissa, `subject` | The subject of the activity. |
| `type` | `varchar2` | Tyyppi | [ ] | alustan suodattimet, kirjoitettavissa, `type` | The type of the activity. |
| `update_time` | `datetime` | Viimeisin päivitysaika | [ ] | suodattaa alustalla, kirjoitettava, laskettu, `update_time` | The last updated date and time of the activity. |

## Avaimet

| Avain | Sarake | Viittaa | Laji | Kuvaus |
|---|---|---|---|---|
| `Activities_creator_user_id_fk` | `creator_user_id` | [Users](Pipedrive.Users.Users)`.id` | Avain |  |
| `Activities_deal_id_ArchivedDeals_txt` | `deal_id` | [ArchivedDeals](Pipedrive.Deals.ArchivedDeals)`.id` | Tekstimuotoinen | 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](Pipedrive.Deals.Deals)`.id` | Tekstimuotoinen | 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](Pipedrive.Leads.ArchivedLeads)`.id` | Tekstimuotoinen | The lead, in Leads or, once archived, in ArchivedLeads. |
| `Activities_lead_id_Leads_txt` | `lead_id` | [Leads](Pipedrive.Leads.Leads)`.id` | Tekstimuotoinen | The lead, in Leads or, once archived, in ArchivedLeads. |
| `Activities_org_id_fk` | `org_id` | [Organizations](Pipedrive.Contacts.Organizations)`.id` | Avain |  |
| `Activities_owner_id_fk` | `owner_id` | [Users](Pipedrive.Users.Users)`.id` | Avain |  |
| `Activities_person_id_fk` | `person_id` | [Persons](Pipedrive.Contacts.Persons)`.id` | Avain |  |
| `Activities_project_id_ArchivedProjects_txt` | `project_id` | [ArchivedProjects](Pipedrive.Projects.ArchivedProjects)`.id` | Tekstimuotoinen | The project, in Projects or, once archived, in ArchivedProjects. |
| `Activities_project_id_Projects_txt` | `project_id` | [Projects](Pipedrive.Projects.Projects)`.id` | Tekstimuotoinen | The project, in Projects or, once archived, in ArchivedProjects. |
| `Activities_type_fk` | `type` | [ActivityTypes](Pipedrive.Activities.ActivityTypes)`.key_string` | Avain |  |

## Viitattu seuraavissa lähteissä

- [CallLogs](Pipedrive.Activities.CallLogs) `activity_id` (Key)
- [Leads](Pipedrive.Leads.Leads) `next_activity_id` (Key)
- [Files](Pipedrive.Notes.Files) `activity_id` (Key)
- [RecentChangesBySinceTimestamp](Pipedrive.Settings.RecentChangesBySinceTimestamp) `id` (tekstuaalinen)

## Esimerkkihakuyrityksiä

```sql
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
```
