Ricerche recenti


Nessuna ricerca recente

Ashley Johnson's Avatar

Ashley Johnson

Data ingresso 25 gen 2022

·

Ultima attività 07 feb 2022

Seguiti

0

Follower

0

Attività totali

5

Voti

0

Abbonamento

1

PANORAMICA ATTIVITÀ

Ultima attività di Ashley Johnson

Ashley Johnson ha commentato,

Commento nella community 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.

 

Visualizza commento · Data ultimo post: 07 feb 2022 · Ashley Johnson

0

Follower

0

Voti

0

Commenti


Ashley Johnson ha commentato,

Commento nella community 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
}
]
}

Visualizza commento · Data ultimo post: 27 gen 2022 · Ashley Johnson

0

Follower

0

Voti

0

Commenti


Ashley Johnson ha commentato,

Commento nella community 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.

Visualizza commento · Data ultima modifica: 26 gen 2022 · Ashley Johnson

0

Follower

0

Voti

0

Commenti


Ashley Johnson ha creato un post,

Post 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.

Data ultimo post: 25 gen 2022 · Ashley Johnson

0

Follower

3

Voti

6

Commenti