Quantcast
Channel: Web services
Browsing all 2361 articles
Browse latest View live

"No permission to create web service token for the service" with custom service

by Brian Yanosik.  I've gone through the forums and google and can't seem to get this working.I've followed the documentation to create a new custom webservice with only a handful of functions. I...

View Article


Re: "No permission to create web service token for the service" with custom...

by Brian Yanosik.  turns out the user was a site admin which prevented the token from being created.

View Article


Web Service function to allow user to update their own profile

by Brian Yanosik.  Is there a function or a way to allow a user (via REST API/Token) to update their own profile and no one elses?

View Article

Freeze context API

by Peter Diedrichs.  Is there a plan for a Freeze Context API, or is there a plugin somewhere? We would like to use that as a part of an automated archiving strategy, and I cannot find that in...

View Article

Re: Web Service function to allow user to update their own profile

by Mayank Tyagi.  Yes, there are core webservice functions to achieve this. But it's not a good idea. If you want to restrict user to update his own profile then you need to create token for each user...

View Article


Re: Django with Moodle

by Mayank Tyagi.  Hi Robert, For this you can create your custom webservice in moodle. Even moodle have events triggered when assignment submitted. Its up to you what logic you want to implement.

View Article

core_role_assign_roles to asssign mentor role

by Doug Stevens.  Hi all, I've written a PHP cron script to synchronize students and parents against our SIS.  I've managed to get all of it working except assigning parents to students (done on the...

View Article

Re: Svar: Re: How to get courses in a category and any subcategories with...

by Brian Merritt.  I haven't tried to use the path key, but with parent and all categories it should be possible to get all subcategories programatically.

View Article


Re: core_role_assign_roles to asssign mentor role

by Doug Stevens.  Just a bit more info:A var_dump of $params above reveals what I believe are the correct arguments.  I can confirm that the userid and instanceid are the correct parent and student...

View Article


Cannot find Create_token function for external web services

by Trevor Peck.  For my moodle cloud site, when trying to set up an external web service, I cannot seem to find the create_token function when enabling functions for my webservice, and this seems...

View Article

core_user_create_users custom field not add

by Eliseo Montenegro.  Hi Hi everyone, I am trying to create a user using api core_user_create_users with custom fields with the following array. the user is created but the custom field is not loaded,...

View Article

Re: Cannot find Create_token function for external web services

by Eliseo Montenegro.  hi, do you try on Home/ Site administration/ Plugins/ Web services/ Manage tokens?

View Article

Re: core_user_create_users custom field not add

by Doug Stevens.  I've found success using core_user_update_users if that helps. 

View Article


core_grades_update_grades: componet and activityid for manual grade item

by Roberto Bravo Diaz.  Hello.I'm trying to update a student manual grade item using the webservice but the 'core_grades_update_grades' function requires component and activityid, a manual grade item...

View Article

Re: core_role_assign_roles to asssign mentor role

by Doug Stevens.  So some interesting results, I seem to be able to make the method work for a system role but not for a user level role. This seems like a new issue since we moved to Moodle 3.7. Any...

View Article


Image may be NSFW.
Clik here to view.

Which web service api/endpoint allows getting Gradebook setup information

by Zadok Lindt.  Which webservice api/endpoint allows fetching the Gradebook setup information, such as weights? i.e.:

View Article

回复: core_grades_update_grades: componet and activityid for manual grade item

by spoony liu.  Can you tell me how to  to update a student activity grade item using 'core_grades_update_grades' function?thank you!

View Article


Re: login and registration form

by Birju Modhwadia.  Can I add a login and registration form on my own website Coupon Code Cart? I was much time try for it but I unable to do this. can anyone help me?

View Article

Image may be NSFW.
Clik here to view.

Re: 回复: core_grades_update_grades: componet and activityid for manual grade item

by Roberto Bravo Diaz.  Hi Spoony Liu.Look this screenshot

View Article

Saving files as submission to assignment

by Jozef K.  Hello, i have problem to save file as submissions to assignment through web services.I cannot save submission for specific user. I can only save submission for user, that call webservices....

View Article
Browsing all 2361 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>