Pesquisas recentes


Sem pesquisas recentes

Ashley Johnson's Avatar

Ashley Johnson

Entrou em 25 de jan. de 2022

·

Última atividade em 07 de fev. de 2022

Seguindo

0

Seguidores

0

Atividade total

5

Votos

0

Assinatura

1

VISÃO GERAL DA ATIVIDADE

Atividade mais recente por Ashley Johnson

Ashley Johnson comentou,

Comentário na comunidade 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.

 

Exibir comentário · Publicado 07 de fev. de 2022 · Ashley Johnson

0

Seguidores

0

Votos

0

Comentários


Ashley Johnson comentou,

Comentário na comunidade 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
}
]
}

Exibir comentário · Publicado 27 de jan. de 2022 · Ashley Johnson

0

Seguidores

0

Votos

0

Comentários


Ashley Johnson comentou,

Comentário na comunidade 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.

Exibir comentário · Editado 26 de jan. de 2022 · Ashley Johnson

0

Seguidores

0

Votos

0

Comentários


Ashley Johnson criou uma publicação,

Publicação 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.

Publicado 25 de jan. de 2022 · Ashley Johnson

0

Seguidores

3

Votos

6

Comentários