Introduction
The LMS365 API enables you to update a certificate's expiry date, issue date, and the certificate's state.
This article describes how to update certificates via API. The updates will be applied only to certificates that will be issued in future and won't affect certificate PDF files that have already been issued.
To update the certificate, follow these steps:
Required role: Catalog admin or course admin
To be able to use the LMS365 API, you should be authorized with the relevant API key on https:/api.365.systems.
1. In https:/api.365.systems, navigate to the Certificates section, expand it, find Patch /odata/v2/Certificates({Id}) (this partially updates a certificate), and select Try it out in the top right-hand corner.
2. In the required key: Id field, paste the certificate ID of the relevant user for the relevant course.
3. In the Certificate field, update the data of the relevant properties. You should delete the entire row for properties you don't want to update.
To update the certificate status, in the Status property, specify:
- 0 for Valid
- 1 for Expiring
- 2 for Expired
To update the certificate's issued or expiry dates, specify the relevant dates.
4. Select Execute to run the request.
5. In the Responses block, check the results:
- Code 2xx (for example, 200) shows that the request worked correctly.
- You can Download the data from the response to your computer in .JSON format.
You can track the updated certificate information in the LMS365 Admin Center and in the downloaded progress reports. This API call doesn't trigger changes to certificate PDF files that have already been issued.
Comments
Article is closed for comments.