Pré-requisito
Um objeto do Zendesk-do qual você deseja ler. Você precisará do nome do objeto, como tíquete, usuário ou artigo, conforme mencionado na tabela a seguir.
Entidade | Pode ser filtrada | Oferece suporte a limite | Oferece suporte a Ordenar por | Oferece suporte a Selecionar * | Oferece suporte a particionamento |
---|---|---|---|---|---|
Tíquete | S | S | S | S | N |
Usuário | S | S | S | S | N |
Organização | S | S | S | S | N |
Artigo | S | S | N | S | N |
Evento do tíquete | S | S | N | S | N |
Evento de métrica do tíquete | S | S | N | S | N |
Comentário do tíquete | S | S | S | S | N |
Campo do tíquete | S | S | N | S | N |
Métrica do tíquete | S | S | N | S | N |
Atividade do tíquete | S | S | N | S | N |
Ignorar tíquete | N | S | N | S | N |
Grupo | S | S | S | S | N |
Associação a grupos | N | S | S | S | N |
Classificação de satisfação | S | S | N | S | N |
Visão | S | S | S | S | N |
Trigger | S | S | S | S | N |
Categoria do gatilho | N | S | S | S | N |
Macro | S | S | S | S | N |
Automação | N | S | S | S | N |
Exemplo:
Zendesk_read = glueContext.create_dynamic_frame.from_options(
connection_type="Zendesk",
connection_options={
"connectionName": "connectionName",
"ENTITY_NAME": "Account",
"API_VERSION": "v2"
}
Detalhes das entidades e dos campos do Zendesk:
Entidade | Campo | Tipo de dados | Operadores compatíveis | Comentários |
---|---|---|---|---|
artigos | url | String | ||
id | Longo | |||
author_id | Longo | |||
body | String | |||
comments_disabled | Booleano | |||
rascunho | Booleano | |||
edited_at | DateTime | |||
html_url | String | |||
label_names | Listar | |||
locale | String | EQUAL_TO | ||
outdated | Booleano | |||
outdated_locales | Listar | |||
permission_group_id | Longo | |||
position | Inteiro | |||
promovido | Booleano | |||
section_id | Longo | |||
source_locale | String | |||
name | String | |||
title | String | |||
user_segment_id | Longo | |||
content_tags_id | Listar | |||
vote_count | Inteiro | |||
vote_sum | Inteiro | |||
created_at | DateTime | |||
updated_at | DateTime | EQUAL_TO | ||
label_name | String | EQUAL_TO | ||
grupo | url | String | ||
id | Longo | |||
is_public | Booleano | |||
name | String | |||
description | String | |||
padrão | Booleano | |||
deleted | Booleano | |||
created_at | DateTime | |||
updated_at | DateTime | |||
exclude_deleted | Booleano | EQUAL_TO | ||
Automation | url | String | ||
id | Longo | |||
title | String | |||
active | Booleano | |||
created_at | DateTime | |||
updated_at | DateTime | |||
padrão | Booleano | |||
actions | Listar | |||
posições | Inteiro | |||
condições | struct | |||
raw_title | String | |||
group-membership | url | String | ||
id | Longo | |||
user_id | Longo | |||
group_id | Longo | |||
padrão | Booleano | |||
created_at | DateTime | |||
updated_at | DateTime | |||
Macro | url | String | ||
id | Longo | |||
title | String | |||
active | Booleano | EQUAL_TO | ||
created_at | DateTime | |||
updated_at | DateTime | |||
padrão | Booleano | |||
actions | Listar | |||
position | Inteiro | |||
description | String | |||
raw_title | String | |||
restrição | struct | |||
access | String | EQUAL_TO | ||
category | Inteiro | EQUAL_TO | ||
group_id | Longo | EQUAL_TO | ||
only_viewable | Booleano | EQUAL_TO | ||
organizações | url | String | ||
id | Longo | |||
external_id | String | |||
name | String | |||
domain_names | Listar | |||
detalhes | String | |||
observações | String | |||
group_id | Longo | |||
shared_tickets | Booleano | |||
shared_comments | Booleano | |||
tags | Listar | |||
organization_fields | struct | |||
created_at | DateTime | |||
updated_at | DateTime | EQUAL_TO | ||
DML_STATUS | String | Um campo definido pelo usuário usado para rastrear o status criado, atualizado e excluído do registro. | ||
satisfaction-rating | url | String | ||
id | Longo | |||
assignee_id | Longo | |||
comentário | String | |||
group_id | Longo | |||
razão | String | |||
reason_code | Inteiro | |||
reason_id | Longo | |||
requester_id | Longo | |||
pontuação | String | EQUAL_TO | ||
ticket_id | Inteiro | |||
created_at | DateTime | |||
updated_at | DateTime | EQUAL_TO | ||
start_time | DateTime | EQUAL_TO | ||
end_time | DateTime | EQUAL_TO | ||
DML_STATUS | String | Um campo definido pelo usuário usado para rastrear o status criado, atualizado e excluído do registro. | ||
ticket-activity | actor | struct | ||
actor_id | Longo | |||
created_at | DateTime | |||
id | Longo | |||
objeto | struct | |||
target | struct | |||
title | String | |||
updated_at | DateTime | |||
url | String | |||
usuário | struct | |||
user_id | Longo | |||
verb | String | |||
since | DateTime | EQUAL_TO | ||
ticket-comment | id | Longo | ||
tipo | String | |||
author_id | Longo | |||
body | String | |||
html_body | String | |||
plain_body | String | |||
pública | Booleano | |||
attachments | Listar | |||
audit_id | Longo | |||
via | struct | |||
created_at | DateTime | |||
metadata | struct | |||
ticket_id | Inteiro | EQUAL_TO | ||
include_inline_images | Booleano | EQUAL_TO | ||
ticket-events | id | Longo | ||
ticket_id | Longo | |||
timestamp | Longo | |||
created_at | DateTime | |||
updater_id | Longo | |||
child_events | Listar | |||
via | String | |||
system | struct | |||
event_type | String | |||
comment_present | Booleano | |||
comment_public | Booleano | |||
via_reference_id | Longo | |||
created_at | DateTime | EQUAL_TO | ||
DML_STATUS | String | Um campo definido pelo usuário usado para rastrear o status criado, atualizado e excluído do registro. | ||
ticket-field | url | String | ||
id | Longo | |||
tipo | String | |||
title | String | |||
raw_title | String | |||
description | String | |||
raw_description | String | |||
position | Inteiro | |||
active | Booleano | |||
obrigatório | Booleano | |||
collapsed_for_agents | Booleano | |||
regexp_for_validation | String | |||
title_in_portal | String | |||
raw_title_in_portal | String | |||
visible_in_portal | Booleano | |||
editable_on_portal | Booleano | |||
required_in_portal | Booleano | |||
tag | String | |||
created_at | DateTime | |||
updated_at | DateTime | |||
removível | Booleano | |||
agent_description | String | |||
custom_field_options | Listar | |||
custom_statuses | Listar | |||
relationship_filter | struct | |||
relationship_target_type | String | |||
sub_type_id | Inteiro | |||
system_field_options | Listar | |||
locale | String | EQUAL_TO | ||
ticket-metric-events | id | Longo | ||
horário | DateTime | EQUAL_TO | ||
ticket_id | Inteiro | |||
métrica | String | |||
instance_id | Inteiro | |||
tipo | String | |||
DML_STATUS | String | EQUAL_TO | Um campo definido pelo usuário usado para rastrear o status criado, atualizado e excluído do registro. | |
ticket-metric | url | String | ||
id | Longo | |||
ticket_id | Inteiro | |||
created_at | DateTime | |||
updated_at | DateTime | |||
group_stations | Inteiro | |||
assignee_stations | Inteiro | |||
reabre | Inteiro | |||
responde | Inteiro | |||
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 | Longo | |||
razão | String | |||
bilhete | struct | |||
ticket_id | Inteiro | |||
updated_at | DateTime | |||
user_id | Longo | |||
tíquetes | url | String | ||
id | Longo | |||
external_id | String | EQUAL_TO | ||
tipo | String | |||
subject | String | |||
raw_subject | String | |||
description | String | |||
priority | String | |||
status | String | |||
recipient (destinatário) | String | |||
requester (solicitante) | struct | |||
requester_id | Longo | |||
submitter_id | Longo | |||
assignee_id | Longo | |||
organization_id | Longo | |||
group_id | Longo | |||
collaborator_ids | Listar | |||
emails_cc_ids | Listar | |||
follower_ids | Listar | |||
forum_topic_id | Ling | |||
problem_id | Longo | |||
has_incidents | Booleano | |||
due_at | DateTime | |||
tags | Listar | |||
via | struct | |||
custom_fields | Listar | |||
satisfaction_rating | struct | |||
sharing_agreement_ids | Listar | |||
followup_ids | Listar | |||
via_followup_source_id | Longo | |||
ticket_form_id | Longo | |||
brand_id | Longo | |||
allow_channelback | Booleano | |||
allow_attachments | Booleano | |||
is_public | Booleano | |||
from_messaging_channel | Booleano | |||
created_at | DateTime | |||
updated_at | DateTime | EQUAL_TO | ||
assignee_email | String | |||
attribute_value_ids | Listar | |||
colaboradores | Listar | |||
comentário | struct | |||
custom_status_id | Longo | |||
email_ccs | struct | |||
seguidores | struct | |||
macro_id | Longo | |||
macros_ids | Listar | |||
metadata | struct | |||
safe_update | Booleano | |||
updated_stamp | DateTime | |||
via_id | Longo | |||
voice_comment | struct | |||
DML_STATUS | String | Um campo definido pelo usuário usado para rastrear o status criado, atualizado e excluído do registro. | ||
trigger-category | url | String | ||
id | String | |||
name | String | |||
updated_at | DateTime | |||
created_at | DateTime | |||
position | Inteiro | |||
Acionador | url | String | ||
id | Longo | |||
title | String | |||
active | Booleano | EQUAL_TO | ||
updated_at | DateTime | |||
created_at | DateTime | |||
padrão | Booleano | |||
actions | Listar | |||
condições | struct | |||
description | String | |||
position | Inteiro | |||
raw_title | String | |||
category_id | String | EQUAL_TO | ||
usuários | url | String | ||
id | Longo | |||
external_id | String | EQUAL_TO | ||
String | ||||
active | Booleano | |||
alias | String | |||
chat_only | Booleano | |||
custom_roll_id | Longo | |||
roll_type | Inteiro | |||
detalhes | String | |||
last_login_at | DateTime | |||
locale | String | |||
locale_id | Inteiro | |||
moderator | Booleano | |||
observações | String | |||
name | String | |||
only_private_comments | Booleano | |||
organization_id | Longo | |||
default_group_id | Longo | |||
phone | String | |||
photo | struct | |||
remote_photo_url | String | |||
restricted_agent | Booleano | |||
perfil | String | EQUAL_TO | ||
compartilhado | Booleano | |||
shared_agent | Booleano | |||
tag | Listar | |||
assinatura | String | |||
suspended | Booleano | |||
ticket_restriction | String | |||
time_zone | String | |||
iana_time_zone | ||||
two_factor_auth_enabled | ||||
user_fields | ||||
verified | Booleano | |||
report_csv | Booleano | |||
created_at | DateTime | |||
updated_at | DateTime | EQUAL_TO | ||
permission_set | Longo | EQUAL_TO | ||
shared_phone_number | Booleano | |||
DML_STATUS | String | Um campo definido pelo usuário usado para rastrear o status criado, atualizado e excluído do registro. | ||
view | url | String | ||
id | Longo | |||
title | String | |||
active | Booleano | EQUAL_TO | ||
updated_at | DateTime | |||
created_at | DateTime | |||
padrão | Booleano | |||
position | Inteiro | |||
description | String | |||
execution | struct | |||
restrição | struct | |||
raw_title | String | |||
condições | struct | |||
access | String | EQUAL_TO | ||
group_id | Longo | EQUAL_TO |
nota
Os tipos de dados Struct e List são convertidos no tipo de dados String na resposta do conector.
Consultas de particionamento
Não há suporte para partições no Zendesk.