最近搜索


没有最近搜索

Riley Green's Avatar

Riley Green

已加入2023年6月15日

·

最后活动2023年7月11日

关注

0

关注者

0

活动总数

8

投票

0

订阅

4

活动概览

的最新活动 Riley Green

Riley Green 创建了一个帖子,

帖子 Developer - Zendesk APIs

Hi, in https://support.zendesk.com/hc/en-us/articles/4408886858138-Zendesk-Support-placeholders-referenc, I did not see any unique identifier for a company(that mean, the company who bought the product).  

we can create multiple organizations, brands. What would be suitable to be the unique identifier in trigger type webhook?

已于 2023年7月11日 发布 · Riley Green

1

关注者

2

投票

1

Comment


Riley Green 创建了一个帖子,

帖子 Developer - Zendesk APIs

My app receives request from webhook. When a ticket is updated, in the JSON body, the attachment can only have attachment.name and attachment.url. In this case, I cannot store the attachment.id into my db. 

When I need to delete(redact in zendesk's language because I did not see any delete attachment operation) the attachment, I need to use this API, but where can I get attachment_id? 

PUT /api/v2/tickets/{ticket_id}/comments/{comment_id}/attachments/{attachment_id}/redact


the only solution I can see is 

GET /api/v2/tickets/{ticket_id}/comments

and loop over to match the comment id and then loop over the attachments to match with url(same filename is possible) and get the attachment_id??

Also, when I want to upload an attachment and attach it to an existing ticket comment, can I do that from API?

已于 2023年6月26日 发布 · Riley Green

0

关注者

3

投票

1

Comment


Riley Green 创建了一个帖子,

帖子 Developer - Zendesk APIs

In my case, I want the webhook trigger to send the same organization for a single account no matter which organization the ticket is creating under(like the organization the account belongs to). 

I have tried {{ticket.organization.name}} and {{current_user.organization.name}}. But for end users assigned to different organization, the field would be different. Is there any way so that for a single (subscription) account, the same organization name is in the JSON body so that my app can distinguish between different tenants/companies?

 

已于 2023年6月15日 编辑 · Riley Green

0

关注者

3

投票

2

评论


Riley Green 进行了评论,

评论Customer management and profiles

Hi, I have similar problem here. But In my case, I want the webhook trigger to send the same organization for a single account no matter which organization the ticket is creating under(like the organization the account belongs to). 

I have tried {{ticket.organization.name}} and {{current_user.organization.name}}. But for end users assigned to different organization, the field would be different. Is there any way so that for a single (subscription) account, the same organization name is returned? 

thanks!

查看评论 · 已于 2023年6月15日 发布 · Riley Green

0

关注者

0

投票

0

评论