Recherches récentes
Pas de recherche récente

Ashley Johnson
Adhésion le 25 janv. 2022
·
Dernière activité le 07 févr. 2022
Suivis
0
Abonnés
0
Activité totale
5
Votes
0
Abonnement
1
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Ashley Johnson
Ashley Johnson a ajouté un commentaire,
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.
Afficher le commentaire · Publication le 07 févr. 2022 · Ashley Johnson
0
Abonnés
0
Votes
0
Commentaire
Ashley Johnson a ajouté un commentaire,
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
}
]
}
Afficher le commentaire · Publication le 27 janv. 2022 · Ashley Johnson
0
Abonnés
0
Votes
0
Commentaire
Ashley Johnson a ajouté un commentaire,
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.
Afficher le commentaire · Modification le 26 janv. 2022 · Ashley Johnson
0
Abonnés
0
Votes
0
Commentaire
Ashley Johnson a créé une publication,
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.
Publication le 25 janv. 2022 · Ashley Johnson
0
Abonnés
3
Votes
6
Commentaires