Skip to main content
Question

Finding the ID of drop down items (additional_fields) when batch import external training records


Forum|alt.badge.img

Hello, 

I’m using the API: POST/learn/v1/external_training/batch to import a high volume of External Training records. The reason I’m using the API it’s because it allows me to import the value to any additional fields we created (e.g.: hours, minutes spent on the activity). 

the parameter additiona_field has to be given as a key : value list using the ID of the additional field and the ID of the drop down item as the value. I’m having trouble finding the latter when inspecting the form.

Has anybody figured out a way to locate the above?

Thanks,

Gigi

 

6 replies

Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • October 4, 2022

I usually just use a GET /manage/v1/user/{user_id} with a test user and just cycle through the values to make a cheat lookup table for myself.



hwolfehall
Helper I
Forum|alt.badge.img+1
  • Helper I
  • 226 replies
  • October 20, 2023
Bfarkas wrote:

I usually just use a GET /manage/v1/user/{user_id} with a test user and just cycle through the values to make a cheat lookup table for myself.

That we have to play games and manipulate the system to create our own “cheat sheets” for something as fundamental as field mapping and valid values really frustrates me!  😫


Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • October 21, 2023

I hear you,  but at the same time the API is designed to be doing these kinds of things programmatically so to call the details to then use elsewhere is pretty common. 


hwolfehall
Helper I
Forum|alt.badge.img+1
  • Helper I
  • 226 replies
  • October 23, 2023

I’m just used to dealing with systems that have an accessible and accurate data dictionary.  :-(  Thanks for the help!


Bfarkas
Hero III
Forum|alt.badge.img+5
  • Hero III
  • 3582 replies
  • October 23, 2023
hwolfehall wrote:

I’m just used to dealing with systems that have an accessible and accurate data dictionary.  :-(  Thanks for the help!

Yup, would be great, I seem to remember there was an idea for it that got closed. I guess I’ve never had a dictionary for an LMS before so just used to using the api to make one, would be nice though. 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings