Ricerche recenti
Nessuna ricerca recente

Gaby Bitar
Data ingresso 10 lug 2022
·
Ultima attività 03 nov 2024
Seguiti
0
Follower
0
Attività totali
23
Voti
0
Abbonamenti
6
PANORAMICA ATTIVITÀ
BADGE
ARTICOLI
POST
COMMENTI NELLA COMMUNITY
COMMENTI AGLI ARTICOLI
PANORAMICA ATTIVITÀ
Ultima attività di Gaby Bitar
Gaby Bitar ha commentato,
This doesn't work for me, I am getting “'body' does not exist” error. Did this change with Templating API v4?
Visualizza commento · Data ultimo post: 03 nov 2024 · Gaby Bitar
0
Follower
1
Voto
0
Commenti
Gaby Bitar ha commentato,
Hi Raphaël Péguet - Officers.fr,
Yes I did, I used the Users/me api to grab the current users ID number and add that to a variable - https://developer.zendesk.com/api-reference/ticketing/users/users/#show-self
Then I used that userID to call the user segments api and list the current users User Segments.
/api/v2/help_center/users/{user_id}/user_segments.json
I hope this helps!
Visualizza commento · Data ultimo post: 15 feb 2023 · Gaby Bitar
0
Follower
0
Voti
0
Commenti
Gaby Bitar ha creato un post,
I would love to know if there is a way to hide specific articles from Search results and instant search either by using tags or anything else.
Data ultimo post: 10 feb 2023 · Gaby Bitar
3
Follower
5
Voti
2
Commenti
Gaby Bitar ha commentato,
Ahmed Zaid Thank you, it worked!
Visualizza commento · Data ultimo post: 09 gen 2023 · Gaby Bitar
0
Follower
0
Voti
0
Commenti
Gaby Bitar ha commentato,
Ahmed Zaid is there no way to determine what User Segments an end-user belongs to?
Visualizza commento · Data ultimo post: 07 gen 2023 · Gaby Bitar
0
Follower
0
Voti
0
Commenti
Gaby Bitar ha creato un post,
I am trying to pull which user segment the current logged in end user belongs to. I am currently using the "GET /api/v2/users/me" to retrieve the current users ID and using that ID to try to pull the user segments. (Code below, it's working for admins but not for end users, I also masked the email and tokenID for this forum purposes)
$.getJSON('/api/v2/users/me', function(data) {
console.log("got data", data);
getUserSegment(data.user.id);
});
function getUserSegment(userID){
// fetch UserSegment API.
$.ajax
({
url: '/api/v2/help_center/users/'+userID+'/user_segments.json',
headers: {
"Authorization": "Basic email-address/token:tokenID"
},
beforeSend: function (xhr){
xhr.setRequestHeader('Authorization', "Basic "+ btoa("email-address/token:tokenID"));
},
secure: true,
type: 'GET',
contentType: "application/json",
dateType: 'json',
success: function(data){
data.user_segments.forEach(function(element, index) {
alert(element.name);
});
}
});
}
Please help, not sure why it's not working.
Data ultima modifica: 06 gen 2023 · Gaby Bitar
0
Follower
3
Voti
5
Commenti
Gaby Bitar ha commentato,
Eric Nelson I don't need to suspend users anymore and tried it with updating the User's custom roles and that updates instantly. There must be something with the Suspension field that delays in updating but luckily I don't need that right now. Thank you so much for your help again!
Visualizza commento · Data ultimo post: 20 lug 2022 · Gaby Bitar
0
Follower
0
Voti
0
Commenti
Gaby Bitar ha commentato,
Hey Eric Nelson , thank you so much for all of your help. Sorry for the late response was out of the office. This method worked great for me!
Visualizza commento · Data ultimo post: 20 lug 2022 · Gaby Bitar
0
Follower
0
Voti
0
Commenti
Gaby Bitar ha creato un post,
Would love to be able to change an Agent's role-type to Light Agent. Is there any way to do this? or is there absolutely no way to do this?
Thank you.
Data ultimo post: 14 lug 2022 · Gaby Bitar
0
Follower
3
Voti
2
Commenti
Gaby Bitar ha commentato,
Eric Nelson I tried using this and I am still getting the same issue. As I do get a success popup notification saying the user was suspended, it doesn't update the API instantly, it updates after the app is refreshed.
Visualizza commento · Data ultimo post: 14 lug 2022 · Gaby Bitar
0
Follower
0
Voti
0
Commenti