I am sending grades from an excel-sheet to moodle via web services. I'm calling the user_id, grade_value, a comment and the assignment_id. It is really strange, but the assignment_id in the URL does not match with the assignment_id in the database. When I use the assignment_id of the URL, the grades are not sent from excel sheet to moodle. So I always have to check the assignment_id in the database, which is awkward.
What do I have to do to make assignment_id in URL and database same??
Can anyone help please?