Les traductions sont fournies par des outils de traduction automatique. En cas de conflit entre le contenu d'une traduction et celui de la version originale en anglais, la version anglaise prévaudra.
Lecture à partir d’entités Zendesk
Prérequis
Un objet Zendesk à partir duquel vous souhaitez lire. Vous aurez besoin du nom de l’objet tel que ticket, user ou article, comme indiqué dans le tableau suivant.
| Entité | Peut être filtré | Limit prise en charge | Order by prise en charge | Select prise en charge* | Partitionnement pris en charge |
|---|---|---|---|---|---|
| Ticket | Y | Y | Y | Y | N |
| Utilisateur | Y | Y | Y | Y | N |
| Organisation | Y | Y | Y | Y | N |
| Article | Y | Y | N | Y | N |
| Ticket Event | Y | Y | N | Y | N |
| Ticket Metric Event | Y | Y | N | Y | N |
| Ticket Comment | Y | Y | Y | Y | N |
| Ticket Field | Y | Y | N | Y | N |
| Ticket Metric | Y | Y | N | Y | N |
| Ticket Activity | Y | Y | N | Y | N |
| Ticket Skip | N | Y | N | Y | N |
| Groupe | Y | Y | Y | Y | N |
| Group Membership | N | Y | Y | Y | N |
| Satisfaction Rating | Y | Y | N | Y | N |
| Vue | Y | Y | Y | Y | N |
| Déclencheur | Y | Y | Y | Y | N |
| Trigger Category | N | Y | Y | Y | N |
| Macro | Y | Y | Y | Y | N |
| Automatisation | N | Y | Y | Y | N |
Exemple :
Zendesk_read = glueContext.create_dynamic_frame.from_options( connection_type="Zendesk", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "Account", "API_VERSION": "v2" }
Entités Zendesk et détails des champs :
| Entité | Champ | Type de données | Opérateurs pris en charge | Commentaires |
|---|---|---|---|---|
| articles | url | Chaîne | ||
| id | Long | |||
| author_id | Long | |||
| body | Chaîne | |||
| comments_disabled | Booléen | |||
| draft | Booléen | |||
| edited_at | DateTime | |||
| html_url | Chaîne | |||
| label_names | Liste | |||
| locale | Chaîne | EQUAL_TO | ||
| outdated | Booléen | |||
| outdated_locales | Liste | |||
| permission_group_id | Long | |||
| position | Entier | |||
| promoted | Booléen | |||
| section_id | Long | |||
| source_locale | Chaîne | |||
| name | Chaîne | |||
| title | Chaîne | |||
| user_segment_id | Long | |||
| content_tags_id | Liste | |||
| vote_count | Entier | |||
| vote_sum | Entier | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| label_name | Chaîne | EQUAL_TO | ||
| groupe | url | Chaîne | ||
| id | Long | |||
| is_public | Booléen | |||
| name | Chaîne | |||
| description | Chaîne | |||
| default | Booléen | |||
| deleted | Booléen | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| exclude_deleted | Booléen | EQUAL_TO | ||
| Automatisation | url | Chaîne | ||
| id | Long | |||
| title | Chaîne | |||
| actif | Booléen | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| default | Booléen | |||
| actions | Liste | |||
| positions | Entier | |||
| conditions | Struct | |||
| raw_title | Chaîne | |||
| group-membership | url | Chaîne | ||
| id | Long | |||
| user_id | Long | |||
| group_id | Long | |||
| default | Booléen | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| macro | url | Chaîne | ||
| id | Long | |||
| title | Chaîne | |||
| actif | Booléen | EQUAL_TO | ||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| default | Booléen | |||
| actions | Liste | |||
| position | Entier | |||
| description | Chaîne | |||
| raw_title | Chaîne | |||
| restriction | Struct | |||
| accès | Chaîne | EQUAL_TO | ||
| category | Entier | EQUAL_TO | ||
| group_id | Long | EQUAL_TO | ||
| only_viewable | Booléen | EQUAL_TO | ||
| organisations | url | Chaîne | ||
| id | Long | |||
| external_id | Chaîne | |||
| name | Chaîne | |||
| domain_names | Liste | |||
| détails | Chaîne | |||
| notes | Chaîne | |||
| group_id | Long | |||
| shared_tickets | Booléen | |||
| shared_comments | Booléen | |||
| balises | Liste | |||
| organization_fields | Struct | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| DML_STATUS | Chaîne | Champ défini par l’utilisateur utilisé pour suivre l’état créé, mis à jour et supprimé de l’enregistrement. | ||
| satisfaction-rating | url | Chaîne | ||
| id | Long | |||
| assignee_id | Long | |||
| comment | Chaîne | |||
| group_id | Long | |||
| raison | Chaîne | |||
| reason_code | Entier | |||
| reason_id | Long | |||
| requester_id | Long | |||
| score | Chaîne | EQUAL_TO | ||
| ticket_id | Entier | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| start_time | DateTime | EQUAL_TO | ||
| end_time | DateTime | EQUAL_TO | ||
| DML_STATUS | Chaîne | Champ défini par l’utilisateur utilisé pour suivre l’état créé, mis à jour et supprimé de l’enregistrement. | ||
| ticket-activity | acteur | Struct | ||
| actor_id | Long | |||
| created_at | DateTime | |||
| id | Long | |||
| objet | Struct | |||
| cible | Struct | |||
| title | Chaîne | |||
| updated_at | DateTime | |||
| url | Chaîne | |||
| utilisateur | Struct | |||
| user_id | Long | |||
| verb | Chaîne | |||
| since | DateTime | EQUAL_TO | ||
| ticket-comment | id | Long | ||
| type | Chaîne | |||
| author_id | Long | |||
| body | Chaîne | |||
| html_body | Chaîne | |||
| plain_body | Chaîne | |||
| public | Booléen | |||
| attachments | Liste | |||
| audit_id | Long | |||
| via | Struct | |||
| created_at | DateTime | |||
| métadonnées | Struct | |||
| ticket_id | Entier | EQUAL_TO | ||
| include_inline_images | Booléen | EQUAL_TO | ||
| ticket-events | id | Long | ||
| ticket_id | Long | |||
| timestamp | Long | |||
| created_at | DateTime | |||
| updater_id | Long | |||
| child_events | Liste | |||
| via | Chaîne | |||
| system | Struct | |||
| event_type | Chaîne | |||
| comment_present | Booléen | |||
| comment_public | Booléen | |||
| via_reference_id | Long | |||
| created_at | DateTime | EQUAL_TO | ||
| DML_STATUS | Chaîne | Champ défini par l’utilisateur utilisé pour suivre l’état créé, mis à jour et supprimé de l’enregistrement. | ||
| ticket-field | url | Chaîne | ||
| id | Long | |||
| type | Chaîne | |||
| title | Chaîne | |||
| raw_title | Chaîne | |||
| description | Chaîne | |||
| raw_description | Chaîne | |||
| position | Entier | |||
| actif | Booléen | |||
| obligatoire | Booléen | |||
| collapsed_for_agents | Booléen | |||
| regexp_for_validation | Chaîne | |||
| title_in_portal | Chaîne | |||
| raw_title_in_portal | Chaîne | |||
| visible_in_portal | Booléen | |||
| editable_on_portal | Booléen | |||
| required_in_portal | Booléen | |||
| balise | Chaîne | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| removable | Booléen | |||
| agent_description | Chaîne | |||
| custom_field_options | Liste | |||
| custom_statuses | Liste | |||
| relationship_filter | Struct | |||
| relationship_target_type | Chaîne | |||
| sub_type_id | Entier | |||
| system_field_options | Liste | |||
| locale | Chaîne | EQUAL_TO | ||
| ticket-metric-events | id | Long | ||
| time | DateTime | EQUAL_TO | ||
| ticket_id | Entier | |||
| métrique | Chaîne | |||
| instance_id | Entier | |||
| type | Chaîne | |||
| DML_STATUS | Chaîne | EQUAL_TO | Champ défini par l’utilisateur utilisé pour suivre l’état créé, mis à jour et supprimé de l’enregistrement. | |
| ticket-metric | url | Chaîne | ||
| id | Long | |||
| ticket_id | Entier | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| group_stations | Entier | |||
| assignee_stations | Entier | |||
| reopens | Entier | |||
| replies | Entier | |||
| assignee_updated_at | DateTime | |||
| requester_updated_at | DateTime | |||
| initially_assigned_at | DateTime | |||
| assigned_at | DateTime | |||
| solved_at | DateTime | |||
| last_comment_added_at | DateTime | |||
| reply_time_in_minutes | Struct | |||
| first_resolution_time_in_minutes | Struct | |||
| full_resolution_time_in_minutes | Struct | |||
| agent_wait_time_in_minutes | Struct | |||
| requester_wait_time_in_minutes | Struct | |||
| on_hold_time_in_seconds | Struct | |||
| reply_time_in_seconds | Struct | |||
| custom_status_updated_at | DateTime | |||
| ticket-skip | created_at | DateTime | ||
| id | Long | |||
| raison | Chaîne | |||
| ticket | Struct | |||
| ticket_id | Entier | |||
| updated_at | DateTime | |||
| user_id | Long | |||
| billets | url | Chaîne | ||
| id | Long | |||
| external_id | Chaîne | EQUAL_TO | ||
| type | Chaîne | |||
| subject | Chaîne | |||
| raw_subject | Chaîne | |||
| description | Chaîne | |||
| priority | Chaîne | |||
| status | Chaîne | |||
| destinataire | Chaîne | |||
| demandeur | Struct | |||
| requester_id | Long | |||
| submitter_id | Long | |||
| assignee_id | Long | |||
| organization_id | Long | |||
| group_id | Long | |||
| collaborator_ids | Liste | |||
| emails_cc_ids | Liste | |||
| follower_ids | Liste | |||
| forum_topic_id | Ling | |||
| problem_id | Long | |||
| has_incidents | Booléen | |||
| due_at | DateTime | |||
| balises | Liste | |||
| via | Struct | |||
| custom_fields | Liste | |||
| satisfaction_rating | Struct | |||
| sharing_agreement_ids | Liste | |||
| followup_ids | Liste | |||
| via_followup_source_id | Long | |||
| ticket_form_id | Long | |||
| brand_id | Long | |||
| allow_channelback | Booléen | |||
| allow_attachments | Booléen | |||
| is_public | Booléen | |||
| from_messaging_channel | Booléen | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| assignee_email | Chaîne | |||
| attribute_value_ids | Liste | |||
| collaborators | Liste | |||
| comment | Struct | |||
| custom_status_id | Long | |||
| email_ccs | Struct | |||
| followers | Struct | |||
| macro_id | Long | |||
| macros_ids | Liste | |||
| métadonnées | Struct | |||
| safe_update | Booléen | |||
| updated_stamp | DateTime | |||
| via_id | Long | |||
| voice_comment | Struct | |||
| DML_STATUS | Chaîne | Champ défini par l’utilisateur utilisé pour suivre l’état créé, mis à jour et supprimé de l’enregistrement. | ||
| trigger-category | url | Chaîne | ||
| id | Chaîne | |||
| name | Chaîne | |||
| updated_at | DateTime | |||
| created_at | DateTime | |||
| position | Entier | |||
| déclencheur | url | Chaîne | ||
| id | Long | |||
| title | Chaîne | |||
| actif | Booléen | EQUAL_TO | ||
| updated_at | DateTime | |||
| created_at | DateTime | |||
| default | Booléen | |||
| actions | Liste | |||
| conditions | Struct | |||
| description | Chaîne | |||
| position | Entier | |||
| raw_title | Chaîne | |||
| category_id | Chaîne | EQUAL_TO | ||
| users | url | Chaîne | ||
| id | Long | |||
| external_id | Chaîne | EQUAL_TO | ||
| Chaîne | ||||
| actif | Booléen | |||
| alias | Chaîne | |||
| chat_only | Booléen | |||
| custom_roll_id | Long | |||
| roll_type | Entier | |||
| détails | Chaîne | |||
| last_login_at | DateTime | |||
| locale | Chaîne | |||
| locale_id | Entier | |||
| moderator | Booléen | |||
| notes | Chaîne | |||
| name | Chaîne | |||
| only_private_comments | Booléen | |||
| organization_id | Long | |||
| default_group_id | Long | |||
| phone | Chaîne | |||
| photo | Struct | |||
| remote_photo_url | Chaîne | |||
| restricted_agent | Booléen | |||
| rôle | Chaîne | EQUAL_TO | ||
| shared | Booléen | |||
| shared_agent | Booléen | |||
| balise | Liste | |||
| Signature | Chaîne | |||
| suspended | Booléen | |||
| ticket_restriction | Chaîne | |||
| time_zone | Chaîne | |||
| iana_time_zone | ||||
| two_factor_auth_enabled | ||||
| user_fields | ||||
| verified | Booléen | |||
| report_csv | Booléen | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| permission_set | Long | EQUAL_TO | ||
| shared_phone_number | Booléen | |||
| DML_STATUS | Chaîne | Champ défini par l’utilisateur utilisé pour suivre l’état créé, mis à jour et supprimé de l’enregistrement. | ||
| afficher | url | Chaîne | ||
| id | Long | |||
| title | Chaîne | |||
| actif | Booléen | EQUAL_TO | ||
| updated_at | DateTime | |||
| created_at | DateTime | |||
| default | Booléen | |||
| position | Entier | |||
| description | Chaîne | |||
| execution | Struct | |||
| restriction | Struct | |||
| raw_title | Chaîne | |||
| conditions | Struct | |||
| accès | Chaîne | EQUAL_TO | ||
| group_id | Long | EQUAL_TO |
Note
Les types de données Struct et List sont convertis en type de données String dans la réponse du connecteur.
Requêtes de partitionnement
Les partitions ne sont pas prises en charge dans Zendesk.