certifications/issueonlinecert
Parameters:
p1: partition username
p2: user username
p3: program name
p4: certification number
p5: (optional) date string
Return Type:
Boolean (true or false)
Description:
Issues a certification to a user that is an existing online certification (one that exists in the LMS as an online achievable certification). You may need to use the certifications/getprogramlist API endpoint to identify the id you will need to pass as p3 here. The optional date string parameter (p5), if included, allows you to send the issue date and expire date of the certification in the following format: YYYYMMDD-YYYYMMDD, whereas the first date is the issue date, and the second date is the expire date (otherwise, the date will be today for issue, and today + programs configured duration for expire). The issue date can not be in the future, and the expire date can not be earlier than the issue date. Function returns false if any parameter is invalid, otherwise the function returns true.