从 Zendesk 实体中读取
先决条件
您要从中读取内容的 Zendesk 对象。您将需要工单、用户或文章等对象名称,如下表中所述。
| 实体 | 可以筛选 | 支持限制 | 支持排序依据 | 支持 Select * | 支持分区 |
|---|---|---|---|---|---|
| 工单 | 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 | 长整型 | |||
| author_id | 长整型 | |||
| body | 字符串 | |||
| comments_disabled | 布尔值 | |||
| draft | 布尔值 | |||
| edited_at | 日期时间 | |||
| html_url | 字符串 | |||
| label_names | 列表 | |||
| locale | 字符串 | EQUAL_TO | ||
| outdated | 布尔值 | |||
| outdated_locales | 列表 | |||
| permission_group_id | 长整型 | |||
| position | 整数 | |||
| promoted | 布尔值 | |||
| section_id | 长整型 | |||
| source_locale | 字符串 | |||
| 名称 | 字符串 | |||
| 删除实例快照 | 字符串 | |||
| user_segment_id | 长整型 | |||
| content_tags_id | 列表 | |||
| vote_count | 整数 | |||
| vote_sum | 整数 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | EQUAL_TO | ||
| label_name | 字符串 | EQUAL_TO | ||
| 组 | url | 字符串 | ||
| id | 长整型 | |||
| is_public | 布尔值 | |||
| 名称 | 字符串 | |||
| description | 字符串 | |||
| 默认值 | 布尔值 | |||
| 已删除 | 布尔值 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | |||
| exclude_deleted | 布尔值 | EQUAL_TO | ||
| 自动化 | url | 字符串 | ||
| id | 长整型 | |||
| 删除实例快照 | 字符串 | |||
| active | 布尔值 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | |||
| 默认值 | 布尔值 | |||
| actions | 列表 | |||
| positions | 整数 | |||
| 条件 | 结构体 | |||
| raw_title | 字符串 | |||
| group-membership | url | 字符串 | ||
| id | 长整型 | |||
| user_id | 长整型 | |||
| group_id | 长整型 | |||
| 默认值 | 布尔值 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | |||
| 宏 | url | 字符串 | ||
| id | 长整型 | |||
| 删除实例快照 | 字符串 | |||
| active | 布尔值 | EQUAL_TO | ||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | |||
| 默认值 | 布尔值 | |||
| actions | 列表 | |||
| position | 整数 | |||
| description | 字符串 | |||
| raw_title | 字符串 | |||
| 限制 | 结构体 | |||
| 访问 | 字符串 | EQUAL_TO | ||
| category | 整数 | EQUAL_TO | ||
| group_id | 长整型 | EQUAL_TO | ||
| only_viewable | 布尔值 | EQUAL_TO | ||
| 组织 | url | 字符串 | ||
| id | 长整型 | |||
| external_id | 字符串 | |||
| 名称 | 字符串 | |||
| domain_names | 列表 | |||
| details | 字符串 | |||
| notes | 字符串 | |||
| group_id | 长整型 | |||
| shared_tickets | 布尔值 | |||
| shared_comments | 布尔值 | |||
| tags | 列表 | |||
| organization_fields | 结构体 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | EQUAL_TO | ||
| DML_STATUS | 字符串 | 用户定义的字段,用于跟踪记录的创建、更新和删除状态。 | ||
| satisfaction-rating | url | 字符串 | ||
| id | 长整型 | |||
| assignee_id | 长整型 | |||
| comment | 字符串 | |||
| group_id | 长整型 | |||
| reason | 字符串 | |||
| reason_code | 整数 | |||
| reason_id | 长整型 | |||
| requester_id | 长整型 | |||
| 分数 | 字符串 | EQUAL_TO | ||
| ticket_id | 整数 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | EQUAL_TO | ||
| start_time | 日期时间 | EQUAL_TO | ||
| end_time | 日期时间 | EQUAL_TO | ||
| DML_STATUS | 字符串 | 用户定义的字段,用于跟踪记录的创建、更新和删除状态。 | ||
| ticket-activity | 演员 | 结构体 | ||
| actor_id | 长整型 | |||
| created_at | 日期时间 | |||
| id | 长整型 | |||
| object | 结构体 | |||
| target | 结构体 | |||
| 删除实例快照 | 字符串 | |||
| updated_at | 日期时间 | |||
| url | 字符串 | |||
| 用户 | 结构体 | |||
| user_id | 长整型 | |||
| verb | 字符串 | |||
| since | 日期时间 | EQUAL_TO | ||
| ticket-comment | id | 长整型 | ||
| type | 字符串 | |||
| author_id | 长整型 | |||
| body | 字符串 | |||
| html_body | 字符串 | |||
| plain_body | 字符串 | |||
| public | 布尔值 | |||
| attachments | 列表 | |||
| audit_id | 长整型 | |||
| via | 结构体 | |||
| created_at | 日期时间 | |||
| metadata | 结构体 | |||
| ticket_id | 整数 | EQUAL_TO | ||
| include_inline_images | 布尔值 | EQUAL_TO | ||
| ticket-events | id | 长整型 | ||
| ticket_id | 长整型 | |||
| timestamp | 长整型 | |||
| created_at | 日期时间 | |||
| updater_id | 长整型 | |||
| child_events | 列表 | |||
| via | String | |||
| 系统 | 结构体 | |||
| event_type | 字符串 | |||
| comment_present | 布尔值 | |||
| comment_public | 布尔值 | |||
| via_reference_id | 长整型 | |||
| created_at | 日期时间 | EQUAL_TO | ||
| DML_STATUS | 字符串 | 用户定义的字段,用于跟踪记录的创建、更新和删除状态。 | ||
| ticket-field | url | 字符串 | ||
| id | 长整型 | |||
| type | 字符串 | |||
| 删除实例快照 | 字符串 | |||
| raw_title | 字符串 | |||
| description | 字符串 | |||
| raw_description | 字符串 | |||
| position | 整数 | |||
| active | 布尔值 | |||
| 必需 | 布尔值 | |||
| collapsed_for_agents | 布尔值 | |||
| regexp_for_validation | 字符串 | |||
| title_in_portal | 字符串 | |||
| raw_title_in_portal | 字符串 | |||
| visible_in_portal | 布尔值 | |||
| editable_on_portal | 布尔值 | |||
| required_in_portal | 布尔值 | |||
| 标签 | 字符串 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | |||
| removable | 布尔值 | |||
| agent_description | 字符串 | |||
| custom_field_options | 列表 | |||
| custom_statuses | 列表 | |||
| relationship_filter | 结构体 | |||
| relationship_target_type | 字符串 | |||
| sub_type_id | 整数 | |||
| system_field_options | 列表 | |||
| locale | 字符串 | EQUAL_TO | ||
| ticket-metric-events | id | 长整型 | ||
| 时间 | 日期时间 | EQUAL_TO | ||
| ticket_id | 整数 | |||
| metric | 字符串 | |||
| instance_id | 整数 | |||
| type | 字符串 | |||
| DML_STATUS | 字符串 | EQUAL_TO | 用户定义的字段,用于跟踪记录的创建、更新和删除状态。 | |
| ticket-metric | url | 字符串 | ||
| id | 长整型 | |||
| ticket_id | 整数 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | |||
| group_stations | 整数 | |||
| assignee_stations | 整数 | |||
| reopens | 整数 | |||
| replies | 整数 | |||
| assignee_updated_at | 日期时间 | |||
| requester_updated_at | 日期时间 | |||
| initially_assigned_at | 日期时间 | |||
| assigned_at | 日期时间 | |||
| solved_at | 日期时间 | |||
| last_comment_added_at | 日期时间 | |||
| reply_time_in_minutes | 结构体 | |||
| first_resolution_time_in_minutes | 结构体 | |||
| full_resolution_time_in_minutes | 结构体 | |||
| agent_wait_time_in_minutes | 结构体 | |||
| requester_wait_time_in_minutes | 结构体 | |||
| on_hold_time_in_seconds | 结构体 | |||
| reply_time_in_seconds | 结构体 | |||
| custom_status_updated_at | 日期时间 | |||
| ticket-skip | created_at | 日期时间 | ||
| id | 长整型 | |||
| reason | 字符串 | |||
| ticket | 结构体 | |||
| ticket_id | 整数 | |||
| updated_at | 日期时间 | |||
| user_id | 长整型 | |||
| tickets | url | 字符串 | ||
| id | 长整型 | |||
| external_id | 字符串 | EQUAL_TO | ||
| type | 字符串 | |||
| subject | 字符串 | |||
| raw_subject | 字符串 | |||
| description | 字符串 | |||
| priority | 字符串 | |||
| 状态 | 字符串 | |||
| recipient | 字符串 | |||
| 请求者 | 结构体 | |||
| requester_id | 长整型 | |||
| submitter_id | 长整型 | |||
| assignee_id | 长整型 | |||
| organization_id | 长整型 | |||
| group_id | 长整型 | |||
| collaborator_ids | 列表 | |||
| emails_cc_ids | 列表 | |||
| follower_ids | 列表 | |||
| forum_topic_id | Ling | |||
| problem_id | 长整型 | |||
| has_incidents | 布尔值 | |||
| due_at | 日期时间 | |||
| tags | 列表 | |||
| via | 结构体 | |||
| custom_fields | 列表 | |||
| satisfaction_rating | 结构体 | |||
| sharing_agreement_ids | 列表 | |||
| followup_ids | 列表 | |||
| via_followup_source_id | 长整型 | |||
| ticket_form_id | 长整型 | |||
| brand_id | 长整型 | |||
| allow_channelback | 布尔值 | |||
| allow_attachments | 布尔值 | |||
| is_public | 布尔值 | |||
| from_messaging_channel | 布尔值 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | EQUAL_TO | ||
| assignee_email | 字符串 | |||
| attribute_value_ids | 列表 | |||
| collaborators | 列表 | |||
| comment | 结构体 | |||
| custom_status_id | 长整型 | |||
| email_ccs | 结构体 | |||
| followers | 结构体 | |||
| macro_id | 长整型 | |||
| macros_ids | 列表 | |||
| metadata | 结构体 | |||
| safe_update | 布尔值 | |||
| updated_stamp | 日期时间 | |||
| via_id | 长整型 | |||
| voice_comment | 结构体 | |||
| DML_STATUS | 字符串 | 用户定义的字段,用于跟踪记录的创建、更新和删除状态。 | ||
| trigger-category | url | 字符串 | ||
| id | 字符串 | |||
| 名称 | 字符串 | |||
| updated_at | 日期时间 | |||
| created_at | 日期时间 | |||
| position | 整数 | |||
| trigger | url | 字符串 | ||
| id | 长整型 | |||
| 删除实例快照 | 字符串 | |||
| active | 布尔值 | EQUAL_TO | ||
| updated_at | 日期时间 | |||
| created_at | 日期时间 | |||
| 默认值 | 布尔值 | |||
| actions | 列表 | |||
| 条件 | 结构体 | |||
| description | 字符串 | |||
| position | 整数 | |||
| raw_title | 字符串 | |||
| category_id | 字符串 | EQUAL_TO | ||
| 用户 | url | 字符串 | ||
| id | 长整型 | |||
| external_id | 字符串 | EQUAL_TO | ||
| 电子邮件 | 字符串 | |||
| active | 布尔值 | |||
| 别名 | 字符串 | |||
| chat_only | 布尔值 | |||
| custom_roll_id | 长整型 | |||
| roll_type | 整数 | |||
| details | 字符串 | |||
| last_login_at | 日期时间 | |||
| locale | 字符串 | |||
| locale_id | 整数 | |||
| moderator | 布尔值 | |||
| notes | 字符串 | |||
| 名称 | 字符串 | |||
| only_private_comments | 布尔值 | |||
| organization_id | 长整型 | |||
| default_group_id | 长整型 | |||
| phone | 字符串 | |||
| photo | 结构体 | |||
| remote_photo_url | 字符串 | |||
| restricted_agent | 布尔值 | |||
| 角色 | 字符串 | EQUAL_TO | ||
| 共享 | 布尔值 | |||
| shared_agent | 布尔值 | |||
| 标签 | 列表 | |||
| signature | 字符串 | |||
| suspended | 布尔值 | |||
| ticket_restriction | 字符串 | |||
| time_zone | 字符串 | |||
| iana_time_zone | ||||
| two_factor_auth_enabled | ||||
| user_fields | ||||
| verified | 布尔值 | |||
| report_csv | 布尔值 | |||
| created_at | 日期时间 | |||
| updated_at | 日期时间 | EQUAL_TO | ||
| permission_set | 长整型 | EQUAL_TO | ||
| shared_phone_number | 布尔值 | |||
| DML_STATUS | 字符串 | 用户定义的字段,用于跟踪记录的创建、更新和删除状态。 | ||
| 查看 | url | 字符串 | ||
| id | 长整型 | |||
| 删除实例快照 | 字符串 | |||
| active | 布尔值 | EQUAL_TO | ||
| updated_at | 日期时间 | |||
| created_at | 日期时间 | |||
| 默认值 | 布尔值 | |||
| position | 整数 | |||
| description | 字符串 | |||
| execution | 结构体 | |||
| 限制 | 结构体 | |||
| raw_title | 字符串 | |||
| 条件 | 结构体 | |||
| 访问 | 字符串 | EQUAL_TO | ||
| group_id | 长整型 | EQUAL_TO |
注意
在连接器的响应中,结构和列表数据类型将转换为字符串数据类型。
对查询进行分区
Zendesk 中不支持分区。