As a web service consumer I can create a course into a formations category by copying a course from the templates category using a web service function
AC
Exists new web service function, enrol_coursepilot_create_course with the following parametes
templatecourseid: INT, Mandatory, Reference to a course that lives under one of the template course categories
targetformationscatid: INT, Mandatory, Reference to the target category id where the course will be created. Has to be a valid formations category
coursename: ALPHANUMEXT, Mandatory, Course name
courseshortname: ALPHANUMEXT, Mandatory, Course short name
summary: RAW, Mandatory, Course summary
idnumber: ALPHANUMEXT, Mandatory, Course ID number
Upon calling this web service function
A course backup process starts
The backed-up course id is returned as the web service response
Any back-up information should be shared so the web service consumer may call other functions to get the backup status. Review which of the following would be best suited to track the restoration or copying progress:
Story
As a web service consumer I can create a course into a formations category by copying a course from the templates category using a web service function
AC
enrol_coursepilot_create_course
with the following parametestemplatecourseid
: INT, Mandatory, Reference to a course that lives under one of the template course categoriestargetformationscatid
: INT, Mandatory, Reference to the target category id where the course will be created. Has to be a valid formations categorycoursename
: ALPHANUMEXT, Mandatory, Course namecourseshortname
: ALPHANUMEXT, Mandatory, Course short namesummary
: RAW, Mandatory, Course summaryidnumber
: ALPHANUMEXT, Mandatory, Course ID number