最近の検索


最近の検索はありません

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

コメント