---
title: "Activities (Pipedrive)"
description: "Aktiviteter"
language: sv
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/sv/datamodels/pipedrive/Pipedrive.Activities.Activities
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Activities.Activities
updated: 2026-12-04T23:21:42Z
license: https://documentation.invantive.eu/sv/
---

# Activities: Pipedrive Activities

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

- Katalog: `Pipedrive`
- Schema: `Activities`
- Primärnycklar: `id`
- Etikett: Aktiviteter

Man kan hämta och ändra data med hjälp av `insert`, `update` och `delete`.

## Sammanfattning

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-källa

- Slutpunkt: `/activities`

## Tabellkolumner

Tabellens kolumner `Activities` visas nedan. Varje kolumn har en SQL-datatyp. Ett nytt värde som inte är null måste alltid anges för varje obligatorisk kolumn vid insättning och uppdatering.

| Namn | Datatyp | Etikett | Nödvändigt | Betyg | Dokumentation |
|---|---|---|:---:|---|---|
| `add_time` | `datetime` | Skapelsetid | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `add_time` | The creation date and time of the activity. |
| `attendees` | `varchar2` | Deltagare | [ ] | filter på plattformen, skrivbar, `attendees` | The attendees of the activity. |
| `busy` | `char` | Upptagen | [ ] | filter på plattformen, skrivbar, `busy` | Whether the activity marks the assignee as busy or not in their calendar. |
| `conference_meeting_client` | `varchar2` | Konferensmöte med kund | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `conference_meeting_client` | The client used for the conference meeting. |
| `conference_meeting_id` | `varchar2` | Konferensens mötes-ID | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `conference_meeting_id` | The ID of the conference meeting. |
| `conference_meeting_url` | `varchar2` | URL till konferensmötet | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `conference_meeting_url` | The URL of the conference meeting. |
| `creator_user_id` | `int64` | Skaparens användar-ID | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `creator_user_id` | The ID of the user who created the activity. |
| `deal_id` | `int64` | Affärs-ID | [ ] | filter på plattformen, skrivbar, `deal_id` | The ID of the deal linked to the activity. |
| `done` | `char` | Klart | [ ] | filter på plattformen, skrivbar, `done` | Whether the activity is marked as done or not. |
| `due_date` | `datetime` | Förfallodatum | [ ] | filter på plattformen, skrivbar, `due_date` | The due date of the activity. |
| `due_time` | `varchar2` | Förfallodag | [ ] | filter på plattformen, skrivbar, `due_time` | The due time of the activity. |
| `duration` | `varchar2` | Varaktighet | [ ] | filter på plattformen, skrivbar, `duration` | The duration of the activity. |
| `id` | `int64` | ID | [x] | filtrerbar på plattformen, skrivbar, beräknad, `id` | The ID of the activity. |
| `is_deleted` | `char` | Är borttagen | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `is_deleted` | Whether the activity is deleted or not. |
| `lead_id` | `varchar2` | Lead-ID | [ ] | filter på plattformen, skrivbar, `lead_id` | The ID of the lead linked to the activity. |
| `location` | `varchar2` | Plats | [ ] | filter på plattformen, skrivbar, `__write_only.location` | Location of the activity.Tas endast med vid skrivning; tom vid läsning. |
| `location_admin_area_level_1` | `varchar2` | Plats: Administrationsområdet, våning 1 | [ ] | filter på plattformen, skrivbar, `location.admin_area_level_1` | Admin area level 1 (e.g. state) of the activity. |
| `location_admin_area_level_2` | `varchar2` | Plats: Administrationsområdet, våning 2 | [ ] | filter på plattformen, skrivbar, `location.admin_area_level_2` | Admin area level 2 (e.g. county) of the activity. |
| `location_country` | `varchar2` | Plats Land | [ ] | filter på plattformen, skrivbar, `location.country` | Country of the activity. |
| `location_locality` | `varchar2` | Plats Ort | [ ] | filter på plattformen, skrivbar, `location.locality` | Locality (e.g. city) of the activity. |
| `location_postal_code` | `varchar2` | Ort Postnummer | [ ] | filter på plattformen, skrivbar, `location.postal_code` | Postal code of the activity. |
| `location_route` | `varchar2` | Plats och vägbeskrivning | [ ] | filter på plattformen, skrivbar, `location.route` | Route (e.g. street) of the activity. |
| `location_street_number` | `varchar2` | Ort Gatuadress | [ ] | filter på plattformen, skrivbar, `location.street_number` | Street number of the activity. |
| `location_sublocality` | `varchar2` | Plats, delområde | [ ] | filter på plattformen, skrivbar, `location.sublocality` | Sublocality (e.g. neighborhood) of the activity. |
| `location_subpremise` | `varchar2` | Plats: Delavdelning | [ ] | filter på plattformen, skrivbar, `location.subpremise` | Subpremise (e.g. apartment/suite number) of the activity. |
| `location_value` | `varchar2` | Platsvärde | [ ] | filter på plattformen, skrivbar, `location.value` | The full address of the activity. |
| `marked_as_done_time` | `datetime` | Markerad som klar Tid | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `marked_as_done_time` | The date and time when the activity was marked as done. |
| `note` | `varchar2` | Anteckning | [ ] | filter på plattformen, skrivbar, `note` | The note of the activity. |
| `org_id` | `int64` | Organisations-ID | [ ] | filter på plattformen, skrivbar, `org_id` | The ID of the organization linked to the activity. |
| `outcome` | `int64` | Resultat | [ ] | filter på plattformen, skrivbar, `outcome` | The ID of the Outcome for the activity. |
| `owner_id` | `int64` | Ägar-ID | [ ] | filter på plattformen, skrivbar, `owner_id` | The ID of the user who owns the activity. |
| `participants` | `varchar2` | Deltagare | [ ] | filter på plattformen, skrivbar, `participants` | The participants of the activity. |
| `person_id` | `int64` | Person-ID | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `person_id` | The ID of the person linked to the activity. |
| `priority` | `int64` | Prioritet | [ ] | filter på plattformen, skrivbar, `priority` | The priority of the activity. |
| `project_id` | `int64` | Projekt-ID | [ ] | filter på plattformen, skrivbar, `project_id` | The ID of the project linked to the activity. |
| `public_description` | `varchar2` | Offentlig beskrivning | [ ] | filter på plattformen, skrivbar, `public_description` | The public description of the activity. |
| `subject` | `varchar2` | Ämne | [ ] | filter på plattformen, skrivbar, `subject` | The subject of the activity. |
| `type` | `varchar2` | Typ | [ ] | filter på plattformen, skrivbar, `type` | The type of the activity. |
| `update_time` | `datetime` | Senaste uppdateringstid | [ ] | filtrerbar på plattformen, skrivbar, beräknad, `update_time` | The last updated date and time of the activity. |

## Nycklar

| Nyckel | Kolumn | Avser för referens | Typ | Beskrivning |
|---|---|---|---|---|
| `Activities_creator_user_id_fk` | `creator_user_id` | [Users](Pipedrive.Users.Users)`.id` | Nyckel |  |
| `Activities_deal_id_ArchivedDeals_txt` | `deal_id` | [ArchivedDeals](Pipedrive.Deals.ArchivedDeals)`.id` | Textuell | 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` | Textuell | 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` | Textuell | The lead, in Leads or, once archived, in ArchivedLeads. |
| `Activities_lead_id_Leads_txt` | `lead_id` | [Leads](Pipedrive.Leads.Leads)`.id` | Textuell | The lead, in Leads or, once archived, in ArchivedLeads. |
| `Activities_org_id_fk` | `org_id` | [Organizations](Pipedrive.Contacts.Organizations)`.id` | Nyckel |  |
| `Activities_owner_id_fk` | `owner_id` | [Users](Pipedrive.Users.Users)`.id` | Nyckel |  |
| `Activities_person_id_fk` | `person_id` | [Persons](Pipedrive.Contacts.Persons)`.id` | Nyckel |  |
| `Activities_project_id_ArchivedProjects_txt` | `project_id` | [ArchivedProjects](Pipedrive.Projects.ArchivedProjects)`.id` | Textuell | The project, in Projects or, once archived, in ArchivedProjects. |
| `Activities_project_id_Projects_txt` | `project_id` | [Projects](Pipedrive.Projects.Projects)`.id` | Textuell | The project, in Projects or, once archived, in ArchivedProjects. |
| `Activities_type_fk` | `type` | [ActivityTypes](Pipedrive.Activities.ActivityTypes)`.key_string` | Nyckel |  |

## Refereras till av

- [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` (Textuell)

## Exempel på Query-frågor

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