最近搜索


没有最近搜索

Ashley Johnson's Avatar

Ashley Johnson

已加入2022年1月25日

·

最后活动2022年2月07日

关注

0

关注者

0

活动总数

5

投票

0

订阅

1

活动概览

的最新活动 Ashley Johnson

Ashley Johnson 进行了评论,

社区评论 Developer - Zendesk APIs

The solution to this problem was that Zendesk has an admin option called enable multiple organisations for users which is not enabled by default. That API error message isn't clear, but enabling this option allowed me to add the organisation memberships.

 

查看评论 · 已于 2022年2月07日 发布 · Ashley Johnson

0

关注者

0

投票

0

评论


Ashley Johnson 进行了评论,

社区评论 Developer - Zendesk APIs

Thanks Jason, I've just tested with this:

{
"organization_memberships":[
{
"user_id":388246483398,
"organization_id":360599321098
},
{
"user_id":388246483398,
"organization_id":360599321218
},
{
"user_id":388246483398,
"organization_id":360599321238
},
{
"user_id":388246483398,
"organization_id":360599321278
},
{
"user_id":388246483398,
"organization_id":360599321338
}
]
}

查看评论 · 已于 2022年1月27日 发布 · Ashley Johnson

0

关注者

0

投票

0

评论


Ashley Johnson 进行了评论,

社区评论 Developer - Zendesk APIs

Sorry, I was trying to show the format, but made it confusing.

If I send one membership in the body, it appears to work. If I send more than one membership, I get that error.

查看评论 · 已于 2022年1月26日 编辑 · Ashley Johnson

0

关注者

0

投票

0

评论


Ashley Johnson 创建了一个帖子,

帖子 Developer - Zendesk APIs

I'm trying to send a POST request to /api/v2/organization_memberships/create_many but always get this response:

error: TooManyValues
description: Parameter organization_memberships cannot specify more than 1 values
max_count: 1

Which seems odd for a create_many endpoint. The request body is

{
"organization_memberships": [
{
"user_id":388246483398,
"organization_id":360606612137
}
]
}

Just wondering if anyone has seen this before, and have any ideas what the problem might be? Any help would be most appreciated.

已于 2022年1月25日 发布 · Ashley Johnson

0

关注者

3

投票

6

评论