Best Answer

API endpoint for LP option "Show this learning plan in the course catalog"?

  • 8 April 2022
  • 2 replies
  • 137 views

Badge
  • Influencer I
  • 32 replies

We want to automate the creation of our LPs via the API. The only endpoint we can't find is for the option to display the learning plan in a catalog. Can anyone help here?

icon

Best answer by lrnlab 8 April 2022, 15:41

View original

2 replies

Userlevel 7
Badge +7

HI @Lena we ran into a similar issue with another API that has missing fields. If you run an API to “view Learning Plan” https://doceboapi.docebosaas.com/api-browser/#!/learn/Lp/Lp_learn_v1_lp_lp_id

you can see the “show in catalogue” field. You should be able to add this to your import file and have it set that value for you when you create your LP’s

the field is identified as: “show_in_catalog": true

Hopefully this will work for you.

Userlevel 7
Badge +3

HI @Lena we ran into a similar issue with another API that has missing fields. If you run an API to “view Learning Plan” https://doceboapi.docebosaas.com/api-browser/#!/learn/Lp/Lp_learn_v1_lp_lp_id

you can see the “show in catalogue” field. You should be able to add this to your import file and have it set that value for you when you create your LP’s

the field is identified as: “show_in_catalog": true

Hopefully this will work for you.

This is a great tip in general when working with the API, often things are available in GETs/viewing data, but not shown in the browser under the POST/PUT events but are supported if you try them...not always, but often it works.

Reply