本文為英文版的機器翻譯版本,如內容有任何歧義或不一致之處,概以英文版為準。
從 Zendesk 實體讀取
必要條件
您想要讀取的 Zendesk 物件。您將需要物件名稱,例如票證或使用者或文章,如下表所述。
| 實體 | 可以篩選 | 支援限制 | 支援排序依據 | 支援選取 * | 支援分割 |
|---|---|---|---|---|---|
| 票證 | Y | Y | Y | Y | N |
| 使用者 | Y | Y | Y | Y | N |
| 組織 | Y | Y | Y | Y | N |
| 文章 | Y | Y | N | Y | N |
| 票證事件 | Y | Y | N | Y | N |
| 票證指標事件 | Y | Y | N | Y | N |
| 票證註解 | Y | Y | Y | Y | N |
| 票證欄位 | Y | Y | N | Y | N |
| 票證指標 | Y | Y | N | Y | N |
| 票證活動 | Y | Y | N | Y | N |
| 票證略過 | N | Y | N | Y | N |
| 群組 | Y | Y | Y | Y | N |
| 群組成員資格 | N | Y | Y | Y | N |
| 滿意度評分 | Y | Y | N | Y | N |
| 檢視 | Y | Y | Y | Y | N |
| 觸發條件 | Y | Y | Y | Y | N |
| 觸發條件類別 | N | Y | Y | Y | N |
| 巨集 | Y | Y | Y | Y | N |
| 自動化 | N | Y | Y | Y | N |
範例:
Zendesk_read = glueContext.create_dynamic_frame.from_options( connection_type="Zendesk", connection_options={ "connectionName": "connectionName", "ENTITY_NAME": "Account", "API_VERSION": "v2" }
Zendesk 實體和欄位詳細資訊:
| 實體 | 欄位 | 資料類型 | 支援的運算子 | 說明 |
|---|---|---|---|---|
| 文章 | url | 字串 | ||
| id | Long | |||
| author_id | Long | |||
| 本文 | 字串 | |||
| comments_disabled | Boolean | |||
| 草稿 | Boolean | |||
| edited_at | DateTime | |||
| html_url | 字串 | |||
| label_names | 清單 | |||
| locale | 字串 | EQUAL_TO | ||
| 過時 | Boolean | |||
| outdated_locales | 清單 | |||
| permission_group_id | Long | |||
| position | Integer | |||
| 已提升 | Boolean | |||
| section_id | Long | |||
| source_locale | 字串 | |||
| name | 字串 | |||
| 標題 | 字串 | |||
| user_segment_id | Long | |||
| content_tags_id | 清單 | |||
| vote_count | Integer | |||
| vote_sum | Integer | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| label_name | 字串 | EQUAL_TO | ||
| 群組 | url | 字串 | ||
| id | Long | |||
| is_public | Boolean | |||
| name | 字串 | |||
| 描述 | 字串 | |||
| 預設 | Boolean | |||
| 已刪除 | Boolean | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| exclude_deleted | Boolean | EQUAL_TO | ||
| 自動化 | url | 字串 | ||
| id | Long | |||
| 標題 | 字串 | |||
| active | Boolean | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| 預設 | Boolean | |||
| actions | 清單 | |||
| 位置 | Integer | |||
| 條件 | Struct | |||
| raw_title | 字串 | |||
| group-membership | url | 字串 | ||
| id | Long | |||
| user_id | Long | |||
| group_id | Long | |||
| 預設 | Boolean | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| 巨集 | url | 字串 | ||
| id | Long | |||
| 標題 | 字串 | |||
| active | Boolean | EQUAL_TO | ||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| 預設 | Boolean | |||
| actions | 清單 | |||
| position | Integer | |||
| 描述 | 字串 | |||
| raw_title | 字串 | |||
| 限制 | Struct | |||
| 存取 | 字串 | EQUAL_TO | ||
| category | Integer | EQUAL_TO | ||
| group_id | Long | EQUAL_TO | ||
| only_viewable | Boolean | EQUAL_TO | ||
| 組織 | url | 字串 | ||
| id | Long | |||
| external_id | 字串 | |||
| name | 字串 | |||
| domain_names | 清單 | |||
| 詳細資訊 | 字串 | |||
| notes | 字串 | |||
| group_id | Long | |||
| shared_tickets | Boolean | |||
| shared_comments | Boolean | |||
| 標籤 | 清單 | |||
| organization_fields | Struct | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| DML_STATUS | 字串 | 使用者定義欄位,用於追蹤記錄的建立、更新和刪除狀態。 | ||
| 滿意度評分 | url | 字串 | ||
| id | Long | |||
| assignee_id | Long | |||
| comment | 字串 | |||
| group_id | Long | |||
| reason | 字串 | |||
| reason_code | Integer | |||
| reason_id | Long | |||
| requester_id | Long | |||
| 分數 | 字串 | EQUAL_TO | ||
| ticket_id | Integer | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| start_time | DateTime | EQUAL_TO | ||
| end_time | DateTime | EQUAL_TO | ||
| DML_STATUS | 字串 | 使用者定義欄位,用於追蹤記錄的建立、更新和刪除狀態。 | ||
| ticket-activity | 演員 | Struct | ||
| actor_id | Long | |||
| created_at | DateTime | |||
| id | Long | |||
| object | Struct | |||
| 目標 | Struct | |||
| 標題 | 字串 | |||
| updated_at | DateTime | |||
| url | 字串 | |||
| 使用者 | Struct | |||
| user_id | Long | |||
| verb | 字串 | |||
| since | DateTime | EQUAL_TO | ||
| ticket-comment | id | Long | ||
| type | 字串 | |||
| author_id | Long | |||
| 本文 | 字串 | |||
| html_body | 字串 | |||
| plain_body | 字串 | |||
| public | Boolean | |||
| 附件 | 清單 | |||
| audit_id | Long | |||
| 透過 | Struct | |||
| created_at | DateTime | |||
| 中繼資料 | Struct | |||
| ticket_id | Integer | EQUAL_TO | ||
| include_inline_images | Boolean | EQUAL_TO | ||
| 票證事件 | id | Long | ||
| ticket_id | Long | |||
| timestamp | Long | |||
| created_at | DateTime | |||
| updater_id | Long | |||
| child_events | 清單 | |||
| 透過 | 字串 | |||
| system | Struct | |||
| event_type | 字串 | |||
| comment_present | Boolean | |||
| comment_public | Boolean | |||
| via_reference_id | Long | |||
| created_at | DateTime | EQUAL_TO | ||
| DML_STATUS | 字串 | 使用者定義欄位,用於追蹤記錄的建立、更新和刪除狀態。 | ||
| 票證欄位 | url | 字串 | ||
| id | Long | |||
| type | 字串 | |||
| 標題 | 字串 | |||
| raw_title | 字串 | |||
| 描述 | 字串 | |||
| raw_description | 字串 | |||
| position | Integer | |||
| active | Boolean | |||
| 必要 | Boolean | |||
| collapsed_for_agents | Boolean | |||
| regexp_for_validation | 字串 | |||
| title_in_portal | 字串 | |||
| raw_title_in_portal | 字串 | |||
| visible_in_portal | Boolean | |||
| editable_on_portal | Boolean | |||
| required_in_portal | Boolean | |||
| 標籤 | 字串 | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| 可移除 | Boolean | |||
| agent_description | 字串 | |||
| custom_field_options | 清單 | |||
| custom_statuss | 清單 | |||
| relationship_filter | Struct | |||
| relationship_target_type | 字串 | |||
| sub_type_id | Integer | |||
| system_field_options | 清單 | |||
| locale | 字串 | EQUAL_TO | ||
| ticket-metric-events | id | Long | ||
| time | DateTime | EQUAL_TO | ||
| ticket_id | Integer | |||
| 指標 | 字串 | |||
| instance_id | Integer | |||
| type | 字串 | |||
| DML_STATUS | 字串 | EQUAL_TO | 使用者定義欄位,用於追蹤記錄的建立、更新和刪除狀態。 | |
| 票證指標 | url | 字串 | ||
| id | Long | |||
| ticket_id | Integer | |||
| created_at | DateTime | |||
| updated_at | DateTime | |||
| group_stations | Integer | |||
| assignee_stations | Integer | |||
| 重新開啟 | Integer | |||
| 回應 | Integer | |||
| assignee_updated_at | DateTime | |||
| requester_updated_at | DateTime | |||
| initial_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 | |||
| 略過票證 | created_at | DateTime | ||
| id | Long | |||
| reason | 字串 | |||
| ticket | Struct | |||
| ticket_id | Integer | |||
| updated_at | DateTime | |||
| user_id | Long | |||
| 票證 | url | 字串 | ||
| id | Long | |||
| external_id | 字串 | EQUAL_TO | ||
| type | 字串 | |||
| subject | 字串 | |||
| raw_subject | 字串 | |||
| 描述 | 字串 | |||
| priority | 字串 | |||
| status | 字串 | |||
| recipient | 字串 | |||
| 請求者 | Struct | |||
| requester_id | Long | |||
| submitter_id | Long | |||
| assignee_id | Long | |||
| organization_id | Long | |||
| group_id | Long | |||
| collaborator_ids | 清單 | |||
| email_cc_ids | 清單 | |||
| follower_ids | 清單 | |||
| forum_topic_id | Ling | |||
| problem_id | Long | |||
| has_incidents | Boolean | |||
| due_at | DateTime | |||
| 標籤 | 清單 | |||
| 透過 | Struct | |||
| custom_fields | 清單 | |||
| satisfaction_rating | Struct | |||
| sharing_agreement_ids | 清單 | |||
| followup_ids | 清單 | |||
| via_followup_source_id | Long | |||
| ticket_form_id | Long | |||
| brand_id | Long | |||
| allow_channelback | Boolean | |||
| allow_attachments | Boolean | |||
| is_public | Boolean | |||
| from_messaging_channel | Boolean | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| assignee_email | 字串 | |||
| 屬性_value_ids | 清單 | |||
| 協作者 | 清單 | |||
| comment | Struct | |||
| custom_status_id | Long | |||
| email_ccs | Struct | |||
| 跟隨者 | Struct | |||
| macro_id | Long | |||
| macros_ids | 清單 | |||
| 中繼資料 | Struct | |||
| safe_update | Boolean | |||
| updated_stamp | DateTime | |||
| via_id | Long | |||
| voice_comment | Struct | |||
| DML_STATUS | 字串 | 使用者定義欄位,用於追蹤記錄的建立、更新和刪除狀態。 | ||
| trigger-category | url | 字串 | ||
| id | 字串 | |||
| name | 字串 | |||
| updated_at | DateTime | |||
| created_at | DateTime | |||
| position | Integer | |||
| 觸發條件 | url | 字串 | ||
| id | Long | |||
| 標題 | 字串 | |||
| active | Boolean | EQUAL_TO | ||
| updated_at | DateTime | |||
| created_at | DateTime | |||
| 預設 | Boolean | |||
| actions | 清單 | |||
| 條件 | Struct | |||
| 描述 | 字串 | |||
| position | Integer | |||
| raw_title | 字串 | |||
| category_id | 字串 | EQUAL_TO | ||
| 使用者 | url | 字串 | ||
| id | Long | |||
| external_id | 字串 | EQUAL_TO | ||
| 字串 | ||||
| active | Boolean | |||
| 別名 | 字串 | |||
| chat_only | Boolean | |||
| custom_roll_id | Long | |||
| Roll_type | Integer | |||
| 詳細資訊 | 字串 | |||
| last_login_at | DateTime | |||
| locale | 字串 | |||
| locale_id | Integer | |||
| moderator | Boolean | |||
| notes | 字串 | |||
| name | 字串 | |||
| only_private_comments | Boolean | |||
| organization_id | Long | |||
| default_group_id | Long | |||
| phone | 字串 | |||
| photo | Struct | |||
| remote_photo_url | 字串 | |||
| restricted_agent | Boolean | |||
| role | 字串 | EQUAL_TO | ||
| shared | Boolean | |||
| shared_agent | Boolean | |||
| 標籤 | 清單 | |||
| signature | 字串 | |||
| suspended | Boolean | |||
| ticket_restriction | 字串 | |||
| time_zone | 字串 | |||
| iana_time_zone | ||||
| two_factor_auth_enabled | ||||
| user_fields | ||||
| verified | Boolean | |||
| report_csv | Boolean | |||
| created_at | DateTime | |||
| updated_at | DateTime | EQUAL_TO | ||
| permission_set | Long | EQUAL_TO | ||
| shared_phone_number | Boolean | |||
| DML_STATUS | 字串 | 使用者定義欄位,用於追蹤記錄的建立、更新和刪除狀態。 | ||
| 檢視 | url | 字串 | ||
| id | Long | |||
| 標題 | 字串 | |||
| active | Boolean | EQUAL_TO | ||
| updated_at | DateTime | |||
| created_at | DateTime | |||
| 預設 | Boolean | |||
| position | Integer | |||
| 描述 | 字串 | |||
| execution | Struct | |||
| 限制 | Struct | |||
| raw_title | 字串 | |||
| 條件 | Struct | |||
| 存取 | 字串 | EQUAL_TO | ||
| group_id | Long | EQUAL_TO |
注意
在連接器的回應中,結構和清單資料類型會轉換為字串資料類型。
分割查詢
Zendesk 不支援分割區。