Moodle for mobile

core_completion_get_course_completion_status API Response for fetching Course Completion Status

 
Picture of Talat Mirza
core_completion_get_course_completion_status API Response for fetching Course Completion Status
 

Hi,

    I am (using Moodle 3.3) currently using a moodle mobile API "core_completion_get_course_completion_status" for fetching Course completion status for a particular user. I have added course completion settings in moodle as a site admin, enabled Completion tracking to Yes . 

When the user fullfill all the completion criteria, and I run the web service API, I get response as completion status = false 

In following format: 

 
   "completionstatus": 
      "completed":false,
      "aggregation":2,
      "completions": 
          
            "type":4,
            "title":"Activity completion",
            "status":"No",
            "complete":false,
            "timecompleted":null,
            "details": 
               "type":"Activity completion",
               "criteria":"<a href=\"http:\/\/onlinedrillingcourse.com\/mod\/resource\/view.php?id=26\">2010 Macondo Blowout<\/a>",
               "requirement":"Viewing the resource",
               "status":""
            }
         }
      ]
   },
   "warnings": 

   ]
}

    


Can anyone Please guide me with this ?



 
Average of ratings: -
Picture of A W
Re: core_completion_get_course_completion_status API Response for fetching Course Completion Status
 

Talat did you (or anyone else) solve this, I'm having the same issue.

Thanks,

Alex

 
Average of ratings: -
Picture of Murilo Baptista
Re: core_completion_get_course_completion_status API Response for fetching Course Completion Status
 
I used cron and fixed my problem.


Thanks

 
Average of ratings: -