pconkie Posted June 29, 2019 Share Posted June 29, 2019 I’m trying to get users of a group but need at minimum to return user_uuid, displayname, surname, forename, pupil_number and thumbnail picture. as far as I can tell I have to choose between having pupil_number or thumbnail? Any chance of both? Link to comment Share on other sites More sharing options...
adamw Posted July 8, 2019 Share Posted July 8, 2019 On 29/06/2019 at 09:45, pconkie said: I’m trying to get users of a group but need at minimum to return user_uuid, displayname, surname, forename, pupil_number and thumbnail picture. as far as I can tell I have to choose between having pupil_number or thumbnail? Any chance of both? What API request are you making and which parameters are you sending? Link to comment Share on other sites More sharing options...
pconkie Posted July 8, 2019 Author Share Posted July 8, 2019 1 hour ago, adamw said: What API request are you making and which parameters are you sending? Frog.Model.api('groups.getMembers' etc etc //gets me all I need except pupil_number i.e. UPN FrogOS.fdp({ url: 'group/users/'+group_data[0], path: '/api/fdp/2/', type: 'GET' etc etc //gets me all I need (including pupil_number) except thumbnail //none of the other fdp group apis seem to be better I can solve the problem by doing a second call to: Frog.Widget.Model.api('users.getSummary', { 'uuid' : uuids { etc etc which does include thumbnails Just wanted to know if I had missed a single api call that had everything i needed in return? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now