POST /certifications/certificates/online/
Description
Creates and issues a new certification for a user for an online certification program.
Endpoints
POST /certifications/certificates/online/
Parameters
user_id : (int)
program_id : (int)
cert_number : (string) 1-30 characters [optional]
issue_date : (date8) [optional]
expire_date : (date8) [optional]
Notes
user_id must exist and be active
program_id must exist
cert_number is optional. If not provided, system will auto-generate a number
- if an active existing certification for this user/program exists, the certification being added has to have an
issue_date and expire_date in the past, and can not be an active certification
- if set,
issue_date must be today or earlier when adding an active certification
- if set,
expire_date must be > issue_date, or set to 99999999 to never expire
Returns status, certification_number on success
{
"status": "200",
"certification_number": "cert1234abcd"
}
Description
Creates and issues a new certification for a user for an online certification program.
Endpoints
POST /certifications/certificates/online/
Parameters
user_id : (int)
program_id : (int)
cert_number : (string) 1-30 characters [optional]
issue_date : (date8) [optional]
expire_date : (date8) [optional]
Notes
user_idmust exist and be activeprogram_idmust existcert_numberis optional. If not provided, system will auto-generate a number- if an active existing certification for this user/program exists, the certification being added has to have an
issue_dateandexpire_datein the past, and can not be an active certification - if set,
issue_datemust be today or earlier when adding an active certification - if set,
expire_datemust be >issue_date, or set to99999999to never expire
status, certification_number on success{ "status": "200", "certification_number": "cert1234abcd"}