

Die vorliegende Übersetzung wurde maschinell erstellt. Im Falle eines Konflikts oder eines Widerspruchs zwischen dieser übersetzten Fassung und der englischen Fassung (einschließlich infolge von Verzögerungen bei der Übersetzung) ist die englische Fassung maßgeblich.

# Lesen aus Pipedrive-Entitäten
<a name="pipedrive-reading-from-entities"></a>

 **Voraussetzungen** 
+  Ein Pipedrive-Objekt, aus dem gelesen werden soll. In der folgenden Tabelle mit unterstützten Entitäten können Sie die verfügbaren Entitäten überprüfen. 

 **Unterstützte Entitäten** 


| Entität | Kann gefiltert werden | Unterstützt Limit | Unterstützt „Sortieren nach“ | Unterstützt „\* auswählen“ | Unterstützt Partitionierung | 
| --- | --- | --- | --- | --- | --- | 
| Aktivitäten | Ja | Ja | Nein | Ja | Ja | 
| Aktivitätstyp | Nein | Nein | Nein | Ja | Nein | 
| Anrufprotokolle | Nein | Nein | Nein | Ja | Nein | 
| Währungen | Ja | Ja | Nein | Ja | Nein | 
| Geschäfte | Ja | Ja | Ja | Ja | Ja | 
| Leads | Ja | Ja | Ja | Ja | Nein | 
| Leadquellen | Nein | Ja | Nein | Ja | Nein | 
| Leadbezeichnungen | Nein | Nein | Nein | Nein | Nein | 
| Hinweise | Ja | Ja | Ja | Ja | Ja | 
| Organisation | Ja | Ja | Nein | Ja | Ja | 
| Berechtigungssätze | Ja | Nein | Nein | Ja | Nein | 
| Personen | Ja | Ja | Ja | Ja | Ja | 
| Pipelines | Nein | Ja | Nein | Ja | Nein | 
| Produkte | Ja | Ja | Nein | Ja | Ja | 
| Rollen | Nein | Ja | Nein | Ja | Nein | 
| Stufen | Ja | Ja | Nein | Ja | Nein | 
| Benutzer | Nein | Nein | Nein | Ja | Nein | 

 **Beispiel** 

```
pipedrive_read= glueContext.create_dynamic_frame.from_options(
    connection_type="PIPEDRIVE",
    connection_options={
        "connectionName": "connectionName",
        "ENTITY_NAME": "activites",
        "API_VERSION": "v1"
    }
```

 **Pipedrive-Entitäts- und Felddetails** 

 Liste der Entitäten: 
+  Aktivitäten: [https://developers.pipedrive.com/docs/api/v1/Activities](https://developers.pipedrive.com/docs/api/v1/Activities) 
+  Art der Aktivität: [https://developers.pipedrive.com/docs/api/v1/ActivityTypes](https://developers.pipedrive.com/docs/api/v1/ActivityTypes) 
+  Anruflisten: [https://developers.pipedrive.com/docs/api/v1/CallLogs](https://developers.pipedrive.com/docs/api/v1/CallLogs) 
+  Währungen: [https://developers.pipedrive.com/docs/api/v1/Currencies](https://developers.pipedrive.com/docs/api/v1/Currencies) 
+  Angebote: [https://developers.pipedrive.com/docs/api/v1/Deals](https://developers.pipedrive.com/docs/api/v1/Deals) 
+  Führt: [https://developers.pipedrive.com/docs/api/v1/Leads](https://developers.pipedrive.com/docs/api/v1/Leads) 
+  Leitquellen: [https://developers.pipedrive.com/docs/api/v1/LeadSources](https://developers.pipedrive.com/docs/api/v1/LeadSources) 
+  Bleietiketten: [https://developers.pipedrive.com/docs/api/v1/LeadLabels](https://developers.pipedrive.com/docs/api/v1/LeadLabels) 
+  Hinweise: [https://developers.pipedrive.com/docs/api/v1/Notes](https://developers.pipedrive.com/docs/api/v1/Notes) 
+  Organizations: [https://developers.pipedrive.com/docs/api/v1/Organizations](https://developers.pipedrive.com/docs/api/v1/Organizations) 
+  Berechtigungssätze: [https://developers.pipedrive.com/docs/api/v1/PermissionSets](https://developers.pipedrive.com/docs/api/v1/PermissionSets) 
+  Personen: [https://developers.pipedrive.com/docs/api/v1/Persons](https://developers.pipedrive.com/docs/api/v1/Persons) 
+  Rohrleitungen: [https://developers.pipedrive.com/docs/api/v1/Pipelines](https://developers.pipedrive.com/docs/api/v1/Pipelines) 
+  Produkte: [https://developers.pipedrive.com/docs/api/v1/Products](https://developers.pipedrive.com/docs/api/v1/Products) 
+  Rollen: [https://developers.pipedrive.com/docs/api/v1/Roles](https://developers.pipedrive.com/docs/api/v1/Roles) 
+  Etappen: [https://developers.pipedrive.com/docs/api/v1/Stages](https://developers.pipedrive.com/docs/api/v1/Stages) 
+  Nutzer: [https://developers.pipedrive.com/docs/api/v1/Users](https://developers.pipedrive.com/docs/api/v1/Users) 


| Entität | Datentyp | Unterstützte Operatoren | 
| --- | --- | --- | 
| Aktivitäten, Geschäfte, Hinweise, Organisation, Personen und Produkte. | Date | '=' | 
|  | Ganzzahl | '=' | 
|  | Zeichenfolge | '=' | 
|  | Boolesch | '=' | 

## Partitionierung von Abfragen
<a name="pipedrive-partitioning-queries"></a>

 In Pipedrive unterstützt nur ein Feld (due\_date) in der Aktivitätenentität die feldbasierte Partitionierung. Es ist ein Datumsfeld. 

 Die zusätzlichen Spark-Optionen `PARTITION_FIELD`,`LOWER_BOUND`, `UPPER_BOUND` und `NUM_PARTITIONS` können angegeben werden, wenn Sie Parallelität in Spark nutzen möchten. Mit diesen Parametern würde die ursprüngliche Abfrage in `NUM_PARTITIONS` Unterabfragen aufgeteilt, die von Spark-Aufgaben gleichzeitig ausgeführt werden können. 
+  `PARTITION_FIELD`: der Name des Feldes, das zur Partitionierung der Abfrage verwendet werden soll. 
+  `LOWER_BOUND`: ein inklusiver Untergrenzwert des ausgewählten Partitionsfelds. 

   Als Datum akzeptieren wir das Spark-Datumsformat, das in Spark-SQL-Abfragen verwendet wird. Beispiel für gültige Werte: `"2024-02-06"`. 
+  `UPPER_BOUND`: ein exklusiver Obergrenzwert des ausgewählten Partitionsfelds. 
+  `NUM_PARTITIONS`: Anzahl der Partitionen. 

 **Beispiel** 

```
pipedrive_read = glueContext.create_dynamic_frame.from_options(
    connection_type="PIPEDRIVE",
    connection_options={
        "connectionName": "connectionName",
        "ENTITY_NAME": "activites",
        "API_VERSION": "v1",
        "PARTITION_FIELD": "due_date"
        "LOWER_BOUND": "2023-09-07T02:03:00.000Z"
        "UPPER_BOUND": "2024-05-07T02:03:00.000Z"
        "NUM_PARTITIONS": "10"
    }
```