Búsquedas recientes


No hay búsquedas recientes

Ashley Johnson's Avatar

Ashley Johnson

Incorporación 25 ene 2022

·

Última actividad 07 feb 2022

Seguimientos

0

Seguidores

0

Actividad total

5

Votos

0

Suscripción

1

RESUMEN DE LA ACTIVIDAD

Última actividad de Ashley Johnson

Ashley Johnson hizo un comentario,

Comentario de la comunidad 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.

 

Ver comentario · Publicado 07 feb 2022 · Ashley Johnson

0

Seguidores

0

Votos

0

Comentarios


Ashley Johnson hizo un comentario,

Comentario de la comunidad 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
}
]
}

Ver comentario · Publicado 27 ene 2022 · Ashley Johnson

0

Seguidores

0

Votos

0

Comentarios


Ashley Johnson hizo un comentario,

Comentario de la comunidad 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.

Ver comentario · Editado 26 ene 2022 · Ashley Johnson

0

Seguidores

0

Votos

0

Comentarios


Ashley Johnson creó una publicación,

Publicación 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 ene 2022 · Ashley Johnson

0

Seguidores

3

Votos

6

Comentarios