Im looking for a way to paste a list of MS patch numbers into a wizard and get back the patches so they could be added to a baseline, or skip the list and just enter a list of patch numbers and create a baseline
Yes, I already have something that does this. You create a session relevance query to return the set of patches that you want to include in a baseline, and it will create the baseline for you. By default it is set to include all patches that have at least 1 computer relevant.
The script error has nothing to do with the RESTAPI. I will have to take a look and see if I can reproduce it. Sometimes this is due to BigFixMe making changes to the file when you download it.