Get the ID of a certificate via API

For some reasons you may need to get the ID of a certificate and this article describes the steps of how to get this ID with the help of an LMS365 API endpoint.

 

So, to get the ID of a certificate in LMS365:

1. Go to https://api.365.systems/ and log in. You can find more about the authorization process here.

2. Find the Certificates section, expand it, find the GET method /odata/v2/Certificates with the Returns the list of Certificates owned by current user description and then select Try it out in the top left corner.

 

 

You can use query options parameters to control the data in the response by setting filters.

Configuring the $expand by setting Course will add to the response the information what course a certificate is awarded for.

 

 

Configuring the $filter by setting Title eq 'certificate's name' will limit the response to those courses or training plans only that has this certificate set in the settings.

 

2022-10-19_16_29_51-LMS365_API.png

 

3. Select Execute to run the request. 

 

 

4. Go to the Responses block to check the results:

  • Number 2xx (for example, 200) under Code shows that the request worked correctly. You can Download the data from the response to your computer in the .JSON format.



  • If no query parameters were set to narrow the response, in the Response body field you can see all the certificates of the tenant and their data including the ID. Search via Ctrl+F for a specific certificate to find its ID and copy it use wherever you need. 

    2022-06-23_11_45_41-LMS365_API.png

  • If query parameters were set, the response shows only the information relevant limited by the query parameters. However, the ID of the certificate is displayed.

     

    2022-10-19_16_34_11-LMS365_API.png

 

Was this article helpful?
0 out of 0 found this helpful

Comments

Article is closed for comments.