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 activeprogram_id
must existcert_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
andexpire_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 to99999999
to never expire
status, certification_number
on success{
"status": "200",
"certification_number": "cert1234abcd"
}