최근 검색


최근 검색 없음

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

댓글